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
Published: 2026-08-26
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Spring AI loads models from a deterministic cache directory. An attacker with local write access on a shared host can pre-create a malicious ONNX file at that location. When the application later loads the cached model, it interprets the payload, allowing execution of arbitrary code within the Spring AI process's privileges. The flaw grants local code execution and potentially privilege escalation for the user running Spring AI, and is a CWE‑470 vulnerability.

Affected Systems

The vulnerability affects Spring AI releases 2.0.0, 1.1.0–1.1.8, and 1.0.0–1.0.9 shipped by the Spring framework. Any deployment of these versions on a multi‑user host where the default global cache path is accessible to multiple users is affected.

Risk and Exploitability

The CVSS score of 7.5 reflects a high severity local threat. Exploitation requires only the ability to create or overwrite files in the known cache directory; there is no network component and the EPSS score is currently unavailable. The vulnerability is not present in the CISA KEV catalog. Attackers with local filesystem write access on a shared server can easily target the deterministic cache, so the risk is real for environments where Spring AI runs under a shared account or the cache directory is not properly contained.

Generated by OpenCVE AI on August 27, 2026 at 01:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest Spring AI release containing the fix once it becomes available.
  • If an update is not yet released, configure Spring AI to use a unique cache directory per user or application instance, or set the cache location to a directory that is inaccessible to other local users.
  • Restrict permissions on the cache directory so that only the Spring AI service account can write to it, preventing other local users from creating or modifying files.

Generated by OpenCVE AI on August 27, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 27 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-470

Thu, 27 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Ai
Vendors & Products Spring
Spring spring Ai

Thu, 27 Aug 2026 00:30:00 +0000

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'}


Subscriptions

Spring Spring Ai
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-26T23:28:42.767Z

Reserved: 2026-05-20T10:00:53.147Z

Link: CVE-2026-47852

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T01:17:32.320

Modified: 2026-08-27T01:17:32.320

Link: CVE-2026-47852

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T02:00:14Z

Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')