CVE-2026-47852 Predictable cache directory location allows local ONNX model substitution in Spring AI

High 7.5 Published Updated

A local attacker can substitute a malicious ONNX model via a predictable cache path, leading to code execution in Spring AI applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-47852?

CVE-2026-47852 is a high-severity path traversal vulnerability in Spring AI, published on 26 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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

Weakness: CWE-377

Which versions are affected by CVE-2026-47852?

It affects 1 product.

Products include Vmware Spring Ai.

How do I fix CVE-2026-47852?

No fix has been published for CVE-2026-47852 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-47852 being exploited?

There is no known exploitation of CVE-2026-47852 in the wild and no public exploit code.

Sources

Also known as GHSA-cmjm-96ff-348r.

Is CVE-2026-47852 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free