Skip to main content

CVE-2025-41249 — Vulnerability in spring-core — CVE Details

HIGH

Spring Framework annotation detection mechanism may result in improper authorization

Published September 16, 2025Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.59%). Schedule for your next planned update.

Does your project use an affected org.springframework:spring-core version?

Paste your pom.xml to check it for CVE-2025-41249 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

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 .

Advisory Timeline

  • First published September 16, 2025 (436 days ago).
  • Last revised September 10, 2026 — 359 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework:spring-core to 6.2.11 or later
<!-- Update pom.xml dependency version to 6.2.11 for org.springframework:spring-core -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.springframework:spring-core Maven · Affected: 6.2.0, 6.2.1, 6.2.10, 6.2.2 (+7 more)6.2.11
org.springframework:spring-core Maven · Affected: 5.3.0, 5.3.1, 5.3.10, 5.3.11 (+36 more)Range-based data available
org.springframework:spring-core Maven · Affected: 6.0.0, 6.0.1, 6.0.10, 6.0.11 (+42 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-285
    Improper AuthorizationMITRE
  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Frequently Asked Questions

What is CVE-2025-41249?
Spring Framework annotation detection mechanism may result in improper authorization. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2025-41249?
CVE-2025-41249 affects org.springframework:spring-core. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-41249 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.59%
EPSS percentile: 42.1

This is a below-median EPSS score — only 42.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-jmp9-x22r-554x

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml