Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.ai/spring-ai-transformers
  4. ›
  5. CVE-2026-40979

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

April 28, 2026 (updated May 6, 2026)

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)

References

  • github.com/advisories/GHSA-r5hp-3cgj-j6xv
  • github.com/spring-projects/spring-ai
  • nvd.nist.gov/vuln/detail/CVE-2026-40979
  • spring.io/security/cve-2026-40979

Code Behaviors & Features

Detect and mitigate CVE-2026-40979 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.0.6, all versions starting from 1.1.0 before 1.1.5

Fixed versions

  • 1.0.6
  • 1.1.5

Solution

Upgrade to versions 1.0.6, 1.1.5 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-377: Insecure Temporary File

Source file

maven/org.springframework.ai/spring-ai-transformers/CVE-2026-40979.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:55 +0000.