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)
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
History

Tue, 28 Apr 2026 09:15:00 +0000

Type Values Removed Values Added
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)
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-04-28T07:18:53.774Z

Reserved: 2026-04-16T02:19:04.616Z

Link: CVE-2026-40978

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-28T09:16:16.583

Modified: 2026-04-28T09:16:16.583

Link: CVE-2026-40978

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses