Skip to main content

Spring AI EUVDEUVD-2026-26012

| CVE-2026-40979 MEDIUM
Insecure Temporary File (CWE-377)
2026-04-28 security@vmware.com
6.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local system access
  2. Delivery
    Identify ONNX model temp location
  3. Exploit
    Read world-readable model files
  4. Execution
    Parse ONNX binary format
  5. Persist
    Extract neural network structure and weights
  6. Impact
    Reverse-engineer proprietary ML logic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Secure temp file creation
Exploitation Conditions

Exploitation requires a local user account or shell access on the same system where Spring AI is running. The ONNX model must be loaded or cached during application startup or inference (default behavior in Spring AI 1.0.0-1.0.5 and 1.1.0-1.1.4). The operating system must use shared temporary directories with default world-readable permissions (/tmp on Linux, %TEMP% on Windows with permissive ACLs, /var/tmp on macOS). Cloud or shared hosting environments where multiple tenants or users can access the same filesystem (EC2 shared instances, multi-user servers, or shared container runtimes without kernel isolation) are primary exploitation targets. The vulnerability does NOT require network access, elevated privileges (only local user rights), or user interaction. Single-tenant, air-gapped, or containerized deployments with restricted filesystem sharing significantly reduce exploitation likelihood but do not eliminate it if temporary directory permissions are misconfigured.

Impact

CVSS 6.1 (Medium) with local attack vector (AV:L) and low complexity (AC:L) indicates this is a credential-free but locally-scoped exposure. The confidentiality impact is rated low (C:L) but integrity is high (I:H), suggesting the primary harm is disclosure rather than modification. EPSS data is not provided, but the CWE-377 classification and the specific nature of model file exposure (non-executable artifact theft rather than code execution) suggest real-world risk depends heavily on deployment context. In single-tenant or air-gapped environments, risk is minimal; in public cloud platforms (AWS EC2, Azure VMs, Google Compute Engine) with shared kernel, multi-tenant containers, or shared CI/CD runners, risk is substantial because co-tenants can exploit this. The CVSS scope (S:U) indicates the vulnerability does not cross privilege boundaries beyond the user context, limiting lateral escalation potential. However, for organizations where ONNX models encode proprietary business logic or represent significant R&D investment, the information disclosure impact justifies immediate patching despite the 'medium' CVSS rating. No public exploit code or active exploitation data is referenced; this appears to be a responsible disclosure. Verify with vendors whether this impacts other Java ML frameworks using similar temporary file patterns.

Exploit ScenarioDerived

An attacker with a user account on a shared Linux server (e.g., a low-privilege web server process, CI/CD pipeline user, or multi-tenant container co-tenant) enumerates /tmp and discovers world-readable ONNX model files left by a Spring AI application after startup or model loading. The attacker reads these files without elevated privileges, extracts the neural network structure and weights, and uses offline analysis tools (e.g., ONNX Python libraries) to reverse-engineer the model's decision logic, training data characteristics, or proprietary algorithms.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Spring AI versions 1.0.0-1.0.5 and 1.1.0-1.1.4 expose ONNX machine learning models to unauthorized disclosure when the application runs in shared hosting environments, allowing local users with limited system access to read sensitive model files and potentially reverse-engineer proprietary ML logic. The vulnerability stems from insecure temporary file handling (CWE-377) that fails to restrict file permissions on extracted model artifacts. Authentication requirements are minimal-only local system access is needed-making this a significant risk in multi-tenant cloud platforms and shared servers.

RemediationAI

Upgrade Spring AI to version 1.0.6 or later (for 1.0.x branch) or 1.1.5 or later (for 1.1.x branch) immediately. These patched versions enforce restrictive file permissions (e.g., chmod 600 or equivalent ACLs) when extracting or caching ONNX model files to temporary directories. Consult https://spring.io/security/cve-2026-40979 for release notes and upgrade guidance. For environments unable to upgrade immediately, apply compensating controls: (1) Use operating system-level security to restrict /tmp and TMPDIR access to the application user only (e.g., mount /tmp with noexec,nosuid,mode=1777 on Linux and enforce umask 0077 for the application JVM process), though this may impact other applications and has side effects on system functionality; (2) Deploy Spring AI in containerized, single-tenant environments (Docker, Kubernetes with network policies) where shared temp access is not possible; (3) Use ephemeral or encrypted temporary storage that is wiped between process lifecycles; (4) Disable or relocate ONNX model caching to a restricted directory with explicit chmod 700 permissions, if the Spring AI framework allows configuration of temp directories. Test any workaround in non-production before deployment.

Affected VersionsENISA

Spring AI 1.1.0 <1.1.5
Spring AI 1.0.0 <1.0.6

Affected Packages

maven org.springframework.ai:spring-ai-transformers fix: 1.0.6, 1.1.5
euvd spring_ai fix: 1.0.6, 1.1.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring AI is a Java framework for building applications with artificial intelligence and machine learning capabilities. The vulnerability originates in CWE-377 (Insecure Temporary File), which occurs when the framework extracts ONNX (Open Neural Network Exchange) model files to temporary directories without properly restricting access permissions. ONNX is an open standard for representing trained machine learning models, widely used for neural networks and deep learning inference. When Spring AI unpacks or caches these models-likely during initialization or model loading-the resulting files are created with default world-readable permissions in shared temporary directories (e.g., /tmp on Linux). A local attacker with limited privileges (PR:L per CVSS) can enumerate and read these world-accessible model files, potentially reconstructing the neural network architecture, weights, and training data artifacts, which constitute intellectual property.

Know when Spring Ai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 18:16 nvd
Patch available
Patch available
Apr 28, 2026 - 10:01 EUVD
CVE Published
Apr 28, 2026 - 09:16 nvd
MEDIUM 6.1

DescriptionCVE.org

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

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)

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 maven packages depend on org.springframework.ai:spring-ai-transformers (4 direct, 0 indirect)

Ecosystem-wide dependent count for version 1.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-59318 CRITICAL
9.8 Aug 21

Incorrect authorization in Spring AI's tool-calling layer allows a tool that was never advertised to the current request

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-40978 HIGH
8.8 Apr 28

SQL injection in Spring AI's CosmosDBVectorStore component (versions 1.0.0-1.0.5 and 1.1.0-1.1.4) enables authenticated

CVE-2026-22730 HIGH
8.8 Mar 18

A critical SQL injection vulnerability in Spring AI's MariaDBFilterExpressionConverter component allows authenticated at

CVE-2026-22729 HIGH
8.6 Mar 18

Spring AI's AbstractFilterExpressionConverter fails to properly escape user-controlled input in JSONPath queries, allowi

CVE-2026-40967 HIGH
8.6 Apr 28

Filter expression injection in Spring AI 1.0.0-1.0.5 and 1.1.0-1.1.4 allows remote unauthenticated attackers to manipula

CVE-2026-22742 HIGH
8.6 Mar 27

Server-Side Request Forgery in Spring AI Bedrock Converse module enables unauthenticated remote attackers to force the a

CVE-2026-41705 HIGH
8.6 May 09

Filter-expression injection in Spring AI's MilvusVectorStore allows remote unauthenticated attackers to manipulate vecto

CVE-2026-41713 HIGH
8.2 May 12

Conversation memory poisoning in VMware Spring AI allows remote unauthenticated attackers to inject malicious input that

CVE-2026-47835 HIGH
7.5 Jun 15

Query injection in the Spring AI vector-store modules - spring-ai-elasticsearch-store, spring-ai-opensearch-store and sp

CVE-2026-59279 HIGH
7.5 Aug 21

Unbounded session accumulation in Spring AI 2.0.0's MCP Streamable HTTP server transport enables remote unauthenticated

CVE-2026-47851 HIGH
7.5 Aug 26

Denial of service in Spring AI's PDF document ingestion crashes the processing thread when parsing a crafted PDF with a

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy