CVE-2026-40967: CWE-94: Improper Control of Generation of Code in Spring Spring AI
CVE-2026-40967 is a high-severity vulnerability in Spring AI affecting versions 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4. The issue involves improper escaping of keys and values in FilterExpressionConverter implementations, which translate filter expressions into vector store query languages.
AI Analysis
Technical Summary
Spring AI versions 1.0.0 to 1.0.5 and 1.1.0 to 1.1.4 contain a vulnerability (CWE-94) where FilterExpressionConverter implementations fail to properly escape keys and values when converting filter expressions to vector store query languages. This flaw allows attackers to alter queries by injecting or manipulating code within the query generation process. The vulnerability is rated high severity with a CVSS 3.1 score of 8.6 (network attack vector, low attack complexity, no privileges or user interaction required, impacting confidentiality, integrity, and availability). The issue is fixed in versions 1.0.6 and 1.1.5. No official vendor advisory or patch links are provided in the data, and no known exploits have been observed.
Potential Impact
Successful exploitation could allow an attacker to alter vector store queries by injecting or manipulating code within the query generation process. This can lead to unauthorized disclosure of information (confidentiality impact), modification of query results (integrity impact), and potential denial of service or disruption (availability impact). The CVSS score of 8.6 reflects these significant impacts. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade affected Spring AI versions to 1.0.6 or 1.1.5 or later, where the vulnerability is fixed. Since no vendor advisory or patch links are provided, users should verify the availability of these fixed versions from official Spring project sources before upgrading. No other mitigation or temporary fixes are indicated. Patch status is not yet confirmed by vendor advisory; check official Spring AI release notes for confirmation.
CVE-2026-40967: CWE-94: Improper Control of Generation of Code in Spring Spring AI
Description
CVE-2026-40967 is a high-severity vulnerability in Spring AI affecting versions 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4. The issue involves improper escaping of keys and values in FilterExpressionConverter implementations, which translate filter expressions into vector store query languages.
CVSS v3.1
Score 8.6high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Spring AI versions 1.0.0 to 1.0.5 and 1.1.0 to 1.1.4 contain a vulnerability (CWE-94) where FilterExpressionConverter implementations fail to properly escape keys and values when converting filter expressions to vector store query languages. This flaw allows attackers to alter queries by injecting or manipulating code within the query generation process. The vulnerability is rated high severity with a CVSS 3.1 score of 8.6 (network attack vector, low attack complexity, no privileges or user interaction required, impacting confidentiality, integrity, and availability). The issue is fixed in versions 1.0.6 and 1.1.5. No official vendor advisory or patch links are provided in the data, and no known exploits have been observed.
Potential Impact
Successful exploitation could allow an attacker to alter vector store queries by injecting or manipulating code within the query generation process. This can lead to unauthorized disclosure of information (confidentiality impact), modification of query results (integrity impact), and potential denial of service or disruption (availability impact). The CVSS score of 8.6 reflects these significant impacts. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade affected Spring AI versions to 1.0.6 or 1.1.5 or later, where the vulnerability is fixed. Since no vendor advisory or patch links are provided, users should verify the availability of these fixed versions from official Spring project sources before upgrading. No other mitigation or temporary fixes are indicated. Patch status is not yet confirmed by vendor advisory; check official Spring AI release notes for confirmation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:18:56.133Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f0521fcbff5d8610c67db0
Added to database: 4/28/2026, 6:22:23 AM
Last enriched: 5/6/2026, 2:17:32 AM
Last updated: 6/13/2026, 10:26:13 AM
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.