Skip to main content
Public proof of conceptFix available

CVE-2025-41249

A public proof of concept exists; no exploitation attested.

  • Published2025-09-16
  • Fixed in6.2.11
  • WeaknessCWE-285

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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 .

Timeline

dates in UTC
  1. 2025-09-1611:15CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub

Versions per branch

OSV
Spring Framework
BranchAffectedFixed in
6.2≥ 6.2.0, < 6.2.116.2.11
5.3≥ 5.3.0, ≤ 5.3.44no fix published
6.x≥ 6.0.0, ≤ 6.1.22no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As vmware, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • VMware Spring Frameworkother versions: affected
    Affected
    • ≥ 6.2.x, < 6.2.11fixed in 6.2.11OSS
    • ≥ 6.1.x, < 6.1.23fixed in 6.1.23commercial
    • ≥ 5.3.x, < 5.3.45fixed in 5.3.45COMMERCIAL

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-09-16

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • activemqCleanStartall versions · fixed in 5.19.8-r3
  • activemqCleanStartall versions · fixed in 6.1.8-r1
  • apache-activemq-6.1Chainguardall versions · fixed in 6.1.8-r5
  • apache-activemq-fips-6.1Chainguardall versions · fixed in 6.1.8-r7
  • apache-hiveCleanStartall versions · fixed in 4.0.0-r0
  • apache-hiveCleanStartall versions · fixed in 4.2.0-r0
  • apache-hopChainguardall versions · fixed in 2.15.0-r12
  • apache-hop-fipsChainguardall versions · fixed in 2.15.0-r14

218 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-41249 Red Hat Product Security6 products fixed · 11 known affected

    org.springframework/spring-core: Spring Framework Annotation Detection Vulnerability

    org.springframework/spring-core as a component of Red Hat AMQ Broker 7 · spring-core as a component of Red Hat AMQ Broker 7 · org.springframework/spring-core as a component of Red Hat AMQ Clients · +8 more

  • RHSA-2025:22765 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: HawtIO 4.3.0 for Red Hat build of Apache Camel 4 Release and security update.

  • RHSA-2025:19094 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.24.0 Release.

  • RHSA-2025:18028 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Build of Apache Camel 4.10.7 for Spring Boot release.

Full record on NVD

Fix

  1. Update Spring Framework to 6.2.11
  2. Vendor fix Red Hat Product Security RHSA-2025:22765 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2025:19094 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Workaround from the vendor Red Hat Product Security RHSA-2025:22765 · 1 productMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  5. No fix available, says the vendor Red Hat Product Security CVE-2025-41249 · 2 productsAffected
  6. No fix planned, says the vendor Red Hat Product Security CVE-2025-41249 · 9 productsWill not fix

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2025-09-16
Last Modified
2026-06-17
NVD status
Deferred
GitHub Advisory
GHSA-jmp9-x22r-554x

Frequently asked questions

What is CVE-2025-41249?

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 .

Is CVE-2025-41249 actively exploited?

Active exploitation of CVE-2025-41249 has not been confirmed. Its EPSS score was 0.5% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-41249?

CVE-2025-41249 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running spring-core? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record