Spring AI 1.0.x < 1.0.6 / 1.1.x < 1.1.5 Multiple Vulnerabilities

high Nessus Plugin ID 311264

Synopsis

The remote host is affected by multiple vulnerabilities.

Description

The version of Spring AI installed on the remote host is 1.0.x prior to 1.0.6 or 1.1.x prior to 1.1.5. It is, therefore, affected by multiple vulnerabilities, including:

- A SQL injection vulnerability in CosmosDBVectorStore allows attackers to execute arbitrary SQL queries via crafted document IDs. (CVE-2026-40978)

- Various FilterExpressionConverter implementations do not properly escape keys and values, allowing an attacker to alter vector store queries. (CVE-2026-40967)

- A malicious PDF file can trigger the allocation of unreasonable amounts of memory when handled by ForkPDFLayoutTextStripper, leading to denial of service. (CVE-2026-40980)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Spring AI version 1.0.6 or 1.1.5 or later.

See Also

http://www.nessus.org/u?e4de1628

https://spring.io/security/cve-2026-40966

https://spring.io/security/cve-2026-40967

https://spring.io/security/cve-2026-40978

https://spring.io/security/cve-2026-40979

https://spring.io/security/cve-2026-40980

Plugin Details

Severity: High

ID: 311264

File Name: spring_ai_1_1_5.nasl

Version: 1.2

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 4/30/2026

Updated: 5/1/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-40978

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:spring:spring_ai

Required KB Items: installed_sw/Spring AI

Exploit Ease: No known exploits are available

Patch Publication Date: 4/27/2026

Vulnerability Publication Date: 4/27/2026

Reference Information

CVE: CVE-2026-40966, CVE-2026-40967, CVE-2026-40978, CVE-2026-40979, CVE-2026-40980