CVE-2026-47852

Predictable cache directory location allows local ONNX model substitution in Spring AI

Published Aug 26, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A local attacker on a multi-user host can pre-create the deterministic cache path and plant a malicious ONNX model file.
Spring AI 2.0.0
Spring AI 1.1.0 - 1.1.8
Spring AI 1.0.0 - 1.0.9

Analysis

AI-generated

Technical impact

Spring AI loads ONNX models from a deterministic cache directory. A local attacker with write permission to that directory can pre‑create a malicious ONNX file. When the application subsequently loads the cached model, the malicious content may be interpreted, potentially altering the model’s behavior. This vulnerability constitutes a CWE‑377 flaw that only requires local file system write access, without any network interaction.

Affected Systems

The flaw affects versions 2.0.0, 1.1.0 through 1.1.8, and 1.0.0 through 1.0.9 of Spring AI, all released by the Spring framework. Any installation of these versions on a multi‑user system where the default global cache path is shared among users is vulnerable.

Risk and Exploitability

The CVSS score of 7.5 marks it as high severity. The EPSS score of <1% indicates a low but non‑zero chance that it will be exploited. The flaw is not listed in the CISA KEV catalog. Attackers need only local file‑system write rights to a deterministic cache path, so environments where Spring AI runs under a shared account or where the cache directory is not isolated remain at risk. The vulnerability can be exploited without network access, making the real‑world risk dependent on local access levels.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Spring AI release that contains the vendor‑issued fix when it becomes available.
  • If a patch is not yet available, configure Spring AI to use a unique cache directory per application instance or set the cache location to a directory inaccessible to other local users.
  • Restrict permissions on the cache directory so that only the Spring AI process’s service account can write to it.

Generated by OpenCVE AI on August 28, 2026 at 06:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Ai
CPEs cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Ai
Type Values Removed Values Added
Weaknesses CWE-470
Type Values Removed Values Added
Weaknesses CWE-377
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-470
Type Values Removed Values Added
First Time appeared Spring
Spring spring Ai
Vendors & Products Spring
Spring spring Ai
Type Values Removed Values Added
Description A local attacker on a multi-user host can pre-create the deterministic cache path and plant a malicious ONNX model file. Spring AI 2.0.0 Spring AI 1.1.0 - 1.1.8 Spring AI 1.0.0 - 1.0.9
Title Predictable cache directory location allows local ONNX model substitution in Spring AI
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 27, 2026, 3:13 PM
Reserved
May 20, 2026, 10:00 AM
Status
Analyzed
Published
Aug 27, 2026, 1:17 AM
Modified
Sep 4, 2026, 8:08 PM