CVE-2026-40978: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Spring Spring AI
CVE-2026-40978 is a high-severity SQL injection vulnerability in the CosmosDBVectorStore component of Spring AI versions 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4. This flaw allows attackers with limited privileges to execute arbitrary SQL commands by leveraging crafted document IDs.
AI Analysis
Technical Summary
This vulnerability involves improper neutralization of special elements in SQL commands (CWE-89) within the CosmosDBVectorStore of Spring AI. Attackers can exploit this by submitting specially crafted document IDs that manipulate SQL queries, potentially leading to unauthorized data access or modification. Affected versions include Spring AI 1.0.0 to 1.0.5 and 1.1.0 to 1.1.4. The issue is resolved in versions 1.0.6 and 1.1.5. The CVSS 3.1 vector indicates network attack vector, low attack complexity, requiring low privileges and no user interaction, with high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL commands on the backend database, leading to full compromise of data confidentiality, integrity, and availability within the affected Spring AI deployments. This could result in unauthorized data disclosure, data manipulation, or denial of service conditions.
Mitigation Recommendations
Upgrade affected Spring AI instances to version 1.0.6 or later, or 1.1.5 or later, where this vulnerability is fixed. Since no official vendor advisory or patch link is provided, verify the upgrade through official Spring AI release notes or vendor channels. Patch status is not yet confirmed by an official advisory, so consult vendor resources for the latest remediation guidance. Until patched, restrict access to the affected components and validate or sanitize document IDs to reduce risk.
CVE-2026-40978: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Spring Spring AI
Description
CVE-2026-40978 is a high-severity SQL injection vulnerability in the CosmosDBVectorStore component of Spring AI versions 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4. This flaw allows attackers with limited privileges to execute arbitrary SQL commands by leveraging crafted document IDs.
CVSS v3.1
Score 8.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper neutralization of special elements in SQL commands (CWE-89) within the CosmosDBVectorStore of Spring AI. Attackers can exploit this by submitting specially crafted document IDs that manipulate SQL queries, potentially leading to unauthorized data access or modification. Affected versions include Spring AI 1.0.0 to 1.0.5 and 1.1.0 to 1.1.4. The issue is resolved in versions 1.0.6 and 1.1.5. The CVSS 3.1 vector indicates network attack vector, low attack complexity, requiring low privileges and no user interaction, with high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL commands on the backend database, leading to full compromise of data confidentiality, integrity, and availability within the affected Spring AI deployments. This could result in unauthorized data disclosure, data manipulation, or denial of service conditions.
Mitigation Recommendations
Upgrade affected Spring AI instances to version 1.0.6 or later, or 1.1.5 or later, where this vulnerability is fixed. Since no official vendor advisory or patch link is provided, verify the upgrade through official Spring AI release notes or vendor channels. Patch status is not yet confirmed by an official advisory, so consult vendor resources for the latest remediation guidance. Until patched, restrict access to the affected components and validate or sanitize document IDs to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:04.616Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f0788fcbff5d8610e928c8
Added to database: 4/28/2026, 9:06:23 AM
Last enriched: 5/6/2026, 2:34:33 AM
Last updated: 6/13/2026, 12:48:28 PM
Views: 54
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.