CVE-2026-40978

HighCVSS 8.8/10Last modified Jun 17, 2026

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)

Metrics

CVSS 3.1 8.8/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Apr 28, 2026
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-409796.1In Spring AI, having access to a shared environment can expose the ONNX model used by the application. Affected versions: Spring AI: 1.0.0 CVE-2026-409806.5In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when handled by `ForkPDFLayCVE-2026-409817.5When using Google Secrets Manager as a backend for the Spring Cloud Config server a client can craft a request to the config server potentiaCVE-2026-409829.1Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious CVE-2026-409837.5In Micrometer, it is possible for a user to provide specially crafted gRPC requests that may cause a denial-of-service (DoS) condition. AffCVE-2026-409847.5In Micrometer, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition. AffCVE-2026-409856.4Applications that configure the WebFlowELExpressionParser are vulnerable to the use of malicious Unified EL expressions. Affected versions:CVE-2026-409864.8Spring Web Flow's JavaScript RemotingHandler renders the body of an error response as HTML even when the response is not "text/html", which CVE-2026-409877.1A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (outside the configured local-dirCVE-2026-409887.5An application using spring-security-saml2-service-provider and the REDIRECT binding for SAML 2.0 Login or Logout may be vulnerable to a denCVE-2026-409896.5Under infinite recursion in the routing layer, request-handling can cause OOM error. Affected Spring Products and Versions: Spring Cloud FuCVE-2026-409906.5OOM error is possible while attempting to add infinite amount of functions to Function Registry. Affected Spring Products and Versions: Spr
CVE-2026-40978: High severity, CVSS 8.8 | Vulnix