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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.59% (percentile 42, 2026-11-26)
- **CWE:** CWE-285
- **Aliases:** GHSA-jmp9-x22r-554x
- **Published:** 2025-09-16T10:15:34.118Z
- **Modified:** 2026-09-10T03:50:28.526Z

## Who should check

- Projects that depend on Maven package org.springframework:spring-core (\>= 5.3.0, \<= 5.3.44)
- Anyone running VMware Spring Framework \>= 6.2.x, \< 6.2.11; \>= 6.1.x, \< 6.1.23; \>= 5.3.x, \< 5.3.45

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

## Affected and fixed versions

- Maven `org.springframework:spring-core`: affected \>= 5.3.0, \<= 5.3.44; fixed 6.2.11 (osv)
- VMware Spring Framework: \>= 6.2.x, \< 6.2.11; \>= 6.1.x, \< 6.1.23; \>= 5.3.x, \< 5.3.45 (cvelist)

## Mitigation

- Upgrade org.springframework:spring-core to 6.2.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-41249. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-41249.md
Affected: org.springframework:spring-core >= 5.3.0, <= 5.3.44
Fixed in: 6.2.11

Steps:
1. Search this machine and project for org.springframework:spring-core (Maven), VMware Spring Framework: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-41249 being exploited?

There is no confirmed exploitation: CVE-2025-41249 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-41249?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-41249?

org.springframework:spring-core \>= 5.3.0, \<= 5.3.44.

### Is there a fix for CVE-2025-41249?

Yes. Fixed in 6.2.11. Upgrade org.springframework:spring-core to 6.2.11 or later.

### How do I check if I'm affected by CVE-2025-41249?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-41249>
- patch: <https://github.com/spring-projects/spring-framework/commit/6d710d482a6785b069e35022e81758953afc21ff>
- other: <https://spring.io/security/cve-2025-41249>
- other: <https://github.com/spring-projects/spring-framework/issues/35342>
- other: <https://github.com/spring-projects/spring-framework>
- other: <https://github.com/spring-projects/spring-framework/releases/tag/v6.2.11>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-41249>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jmp9-x22r-554x> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-41249> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-41249>
