{"id":"GHSA-r5hp-3cgj-j6xv","summary":"Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory","details":"In Spring AI, having access to a shared environment can expose the ONNX model used by the application.\n\nAffected versions:\nSpring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)","aliases":["CVE-2026-40979"],"modified":"2026-05-06T20:11:26.190309Z","published":"2026-04-28T09:34:13Z","database_specific":{"github_reviewed_at":"2026-05-06T19:52:09Z","nvd_published_at":"2026-04-28T09:16:16Z","cwe_ids":["CWE-377"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40979"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-ai"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40979"}],"affected":[{"package":{"name":"org.springframework.ai:spring-ai-transformers","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-transformers"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.0.6"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-r5hp-3cgj-j6xv/GHSA-r5hp-3cgj-j6xv.json"}},{"package":{"name":"org.springframework.ai:spring-ai-transformers","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-transformers"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"fixed":"1.1.5"}]}],"versions":["1.1.0","1.1.1","1.1.2","1.1.3","1.1.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-r5hp-3cgj-j6xv/GHSA-r5hp-3cgj-j6xv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"}]}