Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local system access
-
DeliveryIdentify ONNX model temp location
-
ExploitRead world-readable model files
-
ExecutionParse ONNX binary format
-
PersistExtract neural network structure and weights
-
ImpactReverse-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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)
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Incorrect authorization in Spring AI's tool-calling layer allows a tool that was never advertised to the current request
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
SQL injection in Spring AI's CosmosDBVectorStore component (versions 1.0.0-1.0.5 and 1.1.0-1.1.4) enables authenticated
A critical SQL injection vulnerability in Spring AI's MariaDBFilterExpressionConverter component allows authenticated at
Spring AI's AbstractFilterExpressionConverter fails to properly escape user-controlled input in JSONPath queries, allowi
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
Server-Side Request Forgery in Spring AI Bedrock Converse module enables unauthenticated remote attackers to force the a
Filter-expression injection in Spring AI's MilvusVectorStore allows remote unauthenticated attackers to manipulate vecto
Conversation memory poisoning in VMware Spring AI allows remote unauthenticated attackers to inject malicious input that
Query injection in the Spring AI vector-store modules - spring-ai-elasticsearch-store, spring-ai-opensearch-store and sp
Unbounded session accumulation in Spring AI 2.0.0's MCP Streamable HTTP server transport enables remote unauthenticated
Denial of service in Spring AI's PDF document ingestion crashes the processing thread when parsing a crafted PDF with a
EUVD-2026-26012
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB