CVE-2026-40978: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Spring Spring AI
SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs. 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)
AI Analysis
Technical Summary
This vulnerability is an improper neutralization of special elements used in an SQL command (CWE-89) within Spring AI's CosmosDBVectorStore. It allows an attacker with low privileges to inject arbitrary SQL queries via crafted document IDs, potentially compromising the database. The issue affects Spring AI versions 1.0.0 to 1.0.5 and 1.1.0 to 1.1.4. The vendor has fixed the vulnerability in versions 1.0.6 and 1.1.5. The CVSS 3.1 base score is 8.8, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could lead to unauthorized disclosure, modification, or deletion of data within the affected database, severely impacting confidentiality, integrity, and availability. The vulnerability requires only low privileges and no user interaction, increasing the risk of exploitation. However, no known exploits have been reported in the wild to date.
Mitigation Recommendations
Upgrade affected Spring AI versions to 1.0.6 or 1.1.5, where the vulnerability has been fixed. Since this is a product vulnerability with official fixes released, applying these updates is the recommended remediation. Patch status is confirmed by the vendor's versioning information. No additional mitigations are specified.
CVE-2026-40978: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Spring Spring AI
Description
SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs. 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)
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability is an improper neutralization of special elements used in an SQL command (CWE-89) within Spring AI's CosmosDBVectorStore. It allows an attacker with low privileges to inject arbitrary SQL queries via crafted document IDs, potentially compromising the database. The issue affects Spring AI versions 1.0.0 to 1.0.5 and 1.1.0 to 1.1.4. The vendor has fixed the vulnerability in versions 1.0.6 and 1.1.5. The CVSS 3.1 base score is 8.8, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could lead to unauthorized disclosure, modification, or deletion of data within the affected database, severely impacting confidentiality, integrity, and availability. The vulnerability requires only low privileges and no user interaction, increasing the risk of exploitation. However, no known exploits have been reported in the wild to date.
Mitigation Recommendations
Upgrade affected Spring AI versions to 1.0.6 or 1.1.5, where the vulnerability has been fixed. Since this is a product vulnerability with official fixes released, applying these updates is the recommended remediation. Patch status is confirmed by the vendor's versioning information. No additional mitigations are specified.
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: 4/28/2026, 9:22:06 AM
Last updated: 4/29/2026, 5:55:06 AM
Views: 8
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.