SB20261120212 - Multiple vulnerabilities in Spring AI



SB20261120212 - Multiple vulnerabilities in Spring AI

Published: November 20, 2026

Security Bulletin ID SB20261120212
CSH Severity
High
Patch available
YES
Number of vulnerabilities 13
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

High 8% Medium 69% Low 23%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 13 vulnerabilities.


1) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2026-59336)

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

CVSSv4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N]


The vulnerability allows a remote user to make the application send requests to restricted internal network destinations, potentially exposing limited information.

The vulnerability exists due to an incomplete address blocklist in spring-ai-bedrock-converse's URLValidator.isBlockedAddress(InetAddress) when validating media URLs for multimodal Amazon Bedrock chat requests. A remote user can supply a media URL to induce a server-side request to an internal destination that should be blocked.


2) Inclusion of Sensitive Information in Log Files (CVE-ID: CVE-2026-59337)

CWE-ID: CWE-532 - Information Exposure Through Log Files

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to read sensitive prompt content, which may include end-user personally identifiable information or proprietary system prompts.

The vulnerability exists due to the inclusion of sensitive information in Spring AI's warning logs when the application records a full prompt at the WARN level. A local user can read the resulting log entries to obtain prompt content they may not be authorized to access.

The log entries are forwarded to centralized log stores with broader read access than the originating tenant.


3) Resource exhaustion (CVE-ID: CVE-2026-59338)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service by exhausting the JVM heap.

The vulnerability exists due to unbounded buffering in Spring AI's TikaDocumentReader when extracting text from documents. A remote attacker can supply a document to an application that processes untrusted documents with this reader to trigger excessive heap allocation and potentially disrupt service.


4) Uncontrolled Recursion (CVE-ID: CVE-2026-59339)

CWE-ID: CWE-674 - Uncontrolled Recursion

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled recursion in FilterExpressionTextParser when parsing untrusted vector store filter expressions. A remote attacker can supply a filter expression that causes the parser to exhaust its stack, disrupting application availability.

Each individual parser crash is confined to the calling thread rather than terminating the JVM.


5) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-59340)

CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling

CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote user to cause a denial of service by exhausting JVM memory.

The vulnerability exists due to a missing limit on cumulative per-page memory allocation in the text extraction logic shared by PagePdfDocumentReader and ParagraphPdfDocumentReader when processing untrusted PDFs. A remote user can supply a crafted PDF to exhaust JVM memory and disrupt service.

If ExitOnOutOfMemoryError is enabled, the JVM can terminate immediately instead of continuing to run with request failures.


6) Improper Neutralization of Special Elements in Output Used by a Downstream Component (CVE-ID: CVE-2026-59344)

CWE-ID: CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to disclose documents that should be excluded from vector search results by metadata filters.

The vulnerability exists due to improper neutralization of filter keys in CoherenceFilterExpressionConverter when processing filter expressions for a Coherence-backed vector store. A remote attacker can influence a filter expression to bypass metadata restrictions and retrieve documents outside the intended search scope.


7) Resource exhaustion (CVE-ID: CVE-2026-59345)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service in applications that process untrusted documents with Spring AI.

The vulnerability exists due to uncontrolled stack consumption during regular expression matching in ExtractedTextFormatter when processing text extracted from untrusted documents. A remote attacker can submit a crafted document to exhaust the processing thread's stack and terminate that thread.

Applications are affected when they process untrusted documents through TikaDocumentReader, PagePdfDocumentReader, or ParagraphPdfDocumentReader, regardless of file type.


8) Improper Neutralization of Special Elements in Data Query Logic (CVE-ID: CVE-2026-59348)

CWE-ID: CWE-943 - Improper Neutralization of Special Elements in Data Query Logic

CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to retrieve or interfere with chat messages outside their own conversation.

The vulnerability exists due to incomplete escaping of RediSearch query syntax in RedisChatMemoryRepository search methods when building queries from untrusted conversation content or metadata. A remote attacker can manipulate the search query to retrieve or interfere with chat messages outside their own conversation.


9) Improper Neutralization of Special Elements in Data Query Logic (CVE-ID: CVE-2026-59361)

CWE-ID: CWE-943 - Improper Neutralization of Special Elements in Data Query Logic

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to retrieve documents and embeddings belonging to other tenants in applications that rely on metadata filters for tenant isolation.

The vulnerability exists due to improper neutralization of RediSearch query syntax and missing grouping of compound conditions in RedisFilterExpressionConverter when translating RedisVectorStore metadata filters. A remote attacker can supply untrusted filter values that change how RediSearch interprets the query to retrieve results outside the intended search scope.


10) Improper Neutralization of Special Elements in Data Query Logic (CVE-ID: CVE-2026-59369)

CWE-ID: CWE-943 - Improper Neutralization of Special Elements in Data Query Logic

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to bypass application-enforced metadata filters and read documents outside the intended tenant or permission scope.

The vulnerability exists due to improper neutralization of filter values in TypesenseFilterExpressionConverter when converting user-controlled metadata filter values into a Typesense query. A remote attacker can supply a filter value that Typesense interprets as query conditions rather than literal data to bypass application restrictions and read otherwise inaccessible documents.


11) Use of cache containing sensitive information (CVE-ID: CVE-2026-59417)

CWE-ID: CWE-524 - Use of Cache Containing Sensitive Information

CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to obtain sensitive information from other users’ cached responses and poison the shared cache.

The vulnerability exists due to improper cache isolation in the Spring AI Redis Semantic Cache’s SemanticCacheAdvisor when the advisor serves multiple end users. The cache separates responses by system prompt hash but not by user, session, or tenant. A remote attacker can take advantage of the shared cache to retrieve responses containing another user’s data or cause attacker-controlled content to be served to later users.

Cache entries written through the advisor do not expire.


12) Operator Precedence Logic Error (CVE-ID: CVE-2026-59442)

CWE-ID: CWE-783 - Operator Precedence Logic Error

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to retrieve documents they are not authorized to access.

The vulnerability exists due to incorrect logical grouping in TypesenseFilterExpressionConverter when translating parenthesized expressions into Typesense filter syntax. A remote attacker can make requests subject to a mistranslated filter to retrieve documents outside the intended access scope.

Applications are affected when they rely on grouped filters in the Typesense vector store to restrict results, such as for tenant isolation or access control.


13) Improper Neutralization of Special Elements used in an Expression Language Statement (CVE-ID: CVE-2026-59415)

CWE-ID: CWE-917 - Improper Neutralization of Special Elements used in an Expression Language Statement

CVSSv4: 7.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote user to delete unintended documents, potentially including every document in a Typesense collection.

The vulnerability exists due to improper neutralization of document IDs in TypesenseVectorStore.doDelete when building a deletion filter. A remote user can supply a document ID that alters the filter to delete documents beyond those selected for deletion.


Remediation

Install update from vendor's website.