Skip to content
OpenAdvisories

Product · Spring

Spring AI

18 known vulnerabilities.

7 results · Clear filters · Feed

  • Medium 4.3

    RediSearch Tag Injection in RedisChatMemoryRepository Allows Cross-Conversation Data Exposure

    RedisChatMemoryRepository.findByMetadata() builds RediSearch tag and text queries from caller-supplied metadata values without applying RediSearchUtil.escape(), unlike get(), clear(), and findByTimeRange() in the same class which do escape their inputs. An ap…

  • Medium 5.9

    Arbitrary File Write via Path Traversal in ResourceCacheService

    ResourceCacheService.getCacheName() builds the on-disk filename by appending the URI fragment verbatim, without stripping path separators or .. sequences, and passes the result to new File(resourceParentFolder, newFileName) before writing the downloaded bytes…

  • Medium 6.5

    DefaultToolCallingManager Global Resolver Fallback Allows Unadvertised Tool Dispatch via Prompt Injection

    In Spring AI's tool calling support, the per-request tool list is advertised to the model as a boundary but is not fully enforced when a tool call is dispatched. Under certain conditions, a tool that was not made available to the current request could be invo…

  • Medium 4.2

    Semantic Cache Cross-Tenant Isolation Bypass via SHA-256 Truncation

    In Spring AI's Semantic Cache support, the context hash used to isolate cached responses between different system prompts could allow cached responses to be shared across unrelated contexts. Affected versions: Spring AI: 2.0.0

  • Medium 6.5

    LLM-influenced filename used unsanitized in Path.resolve before file write in Spring AI support for Anthropic Skills API

    Spring AI's support for Anthropic's Skills API used LLM-influenced filenames unsanitized in Path.resolve before writing files to disk. This could allow a malicious user to write files outside the intended target directory, including restricted directories. Af…

  • Medium 6.5

    Spring AI Vulnerable to OOM by attacker-controlled PDF

    In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when handled by `ForkPDFLayoutTextStripper`. Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

  • Medium 6.1

    Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory

    In Spring AI, having access to a shared environment can expose the ONNX model used by the application. Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)