CVE-2026-40978

Source
https://cve.org/CVERecord?id=CVE-2026-40978
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40978.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40978
Aliases
Published
2026-04-28T07:18:53.774Z
Modified
2026-07-15T01:49:08.394003097Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40978.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "1.0.0"
                },
                {
                    "fixed": "1.0.6"
                },
                {
                    "introduced": "1.1.0"
                },
                {
                    "fixed": "1.1.5"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-89"
    ],
    "cna_assigner": "vmware"
}
References

Affected packages

Git / github.com/spring-projects/spring-ai

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-ai
Events
Database specific
{
    "cpe": "cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.0"
        },
        {
            "fixed": "1.0.6"
        },
        {
            "introduced": "1.1.0"
        },
        {
            "fixed": "1.1.5"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v1.*
v1.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40978.json"