# CVE-2026-40979: Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory

- Severity: Medium 6.1 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-04-28T07:31:21.447Z
- Modified: 2026-10-26T00:10:00.150Z
- Also known as: GHSA-r5hp-3cgj-j6xv
- Weaknesses: CWE-377
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

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)

(As written by CVE List.)

## Affected

- Spring Spring AI: from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5
- org.springframework.ai:spring-ai-transformers (Maven): from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5
- vmware spring_ai: from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5

## Every score

- vmware: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://spring.io/security/cve-2026-40979> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40979> (advisory)
- <https://github.com/spring-projects/spring-ai> (package)

## Sources

- CVE List: [CVE-2026-40979](https://www.cve.org/CVERecord?id=CVE-2026-40979), CVE Terms of Use, modified 2026-04-28
- GitHub Advisory Database: [GHSA-r5hp-3cgj-j6xv](https://github.com/advisories/GHSA-r5hp-3cgj-j6xv), CC-BY-4.0, modified 2026-05-06
- NVD: [CVE-2026-40979](https://nvd.nist.gov/vuln/detail/CVE-2026-40979), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40979 · Whole record: https://cve.day/CVE-2026-40979.json · Rebuilt by cve.day 2026-11-25T22:59:19.875Z
