CVE-2026-47852 is a cache poisoning vulnerability in Spring AI where deterministic cache path generation allows a local attacker to pre-position a malicious model file at a predictable location. When Spring AI later loads that model — whether for inference, RAG pipelines, or automated decision workflows — it executes the attacker-authored artifact without integrity verification. The result is arbitrary code execution within the inference runtime's process context, radiating into whatever downstream systems that service accesses.
The analytically significant aspect isn't the predictable path itself — that's a well-documented vulnerability pattern spanning apt, pip, npm, Docker, and Gradle. What matters here is the trust model inversion: Spring AI treats the cache directory as a trusted source of model data, optimizing for cache hit rates rather than integrity. This assumption was reasonable for a developer's laptop but collapses in shared compute environments — university clusters, cloud notebooks, CI systems — where multiple unprivileged users coexist on the same host. The CVSS 7.5 "local" vector dramatically understates how routine this configuration is in production ML workloads.
The real engineering challenge is that path randomization helps but doesn't solve the core problem: cached models aren't verified before execution. Content-addressable storage with signed manifests is the architecturally correct fix, but it requires coordination with model registries — a dependency chain the CVE alone cannot address. Compounding this, if ONNX or other inference runtimes trust cached model files without signature verification, Spring AI's cache hardening only partially closes the exploit chain.
The broader pattern — deterministic caching + shared infrastructure = code execution — is a generational vulnerability class that resurfaces each time AI/ML tooling optimized for developer ergonomics migrates into multi-user production environments. Organizations face an unusual remediation asymmetry: patching disrupts active inference workloads, extending the exposure window well beyond typical CVE timelines. The vulnerability's blast radius isn't "local code execution" — it's poisoned inference results flowing into downstream automated decisions, with no human reviewing the output.