{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40978","id":"CVE-2026-40978","title":"Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()","description":"SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs.\n\nAffected versions:\nSpring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)","descriptionLong":"SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs.\n\nAffected versions:\nSpring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)","published":"2026-04-28T07:18:53.774Z","updated":"2026-10-28T02:30:52.222051211Z","reserved":"2026-04-16T02:19:04.616Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"vmware"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"vmware"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"vmware.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Spring AI"],"affectedProducts":[{"vendor":"Spring","product":"Spring AI","defaultStatus":"unaffected","versions":[{"status":"affected","version":"1.0.0","lessThan":"1.0.6","versionType":"custom"},{"status":"affected","version":"1.1.0","lessThan":"1.1.5","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework.ai:spring-ai-azure-cosmos-db-store","purl":"pkg:maven/org.springframework.ai/spring-ai-azure-cosmos-db-store","ranges":[">=1.0.0 <1.0.6",">=1.1.0 <1.1.5"],"fixed":["1.0.6","1.1.5"],"advisory":"GHSA-63c8-m9m2-cvr3"}],"cwes":["CWE-89"],"aliases":["GHSA-63c8-m9m2-cvr3"],"references":[{"url":"https://spring.io/security/cve-2026-40978","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40978.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40978","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-ai","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00338,"epssPercentile":0.27702,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40978","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40978","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40978","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-63c8-m9m2-cvr3","ok":true,"note":"GHSA-63c8-m9m2-cvr3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40978","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}