Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40978: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Spring Spring AI

0
High
VulnerabilityCVE-2026-40978cvecve-2026-40978cwe-89
Published: Tue Apr 28 2026 (04/28/2026, 07:18:53 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

AILast updated: 04/28/2026, 09:22:06 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses