CVE-2025-41249
Jenkins vulnerability analysis and mitigation

Overview

The Spring Framework annotation detection vulnerability (CVE-2025-41249) was discovered and disclosed on September 15, 2025. The vulnerability affects the Spring Framework's annotation detection mechanism, specifically impacting versions 6.2.0-6.2.10, 6.1.0-6.1.22, and 5.3.0-5.3.44. This security flaw occurs in applications using Spring Security's @EnableMethodSecurity feature, particularly when dealing with type hierarchies containing parameterized super types with unbounded generics (Spring Security).

Technical details

The vulnerability stems from incorrect resolution of annotations on methods within type hierarchies that have parameterized super types with unbounded generics. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH), with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The vulnerability has been classified under CWE-285 (Improper Authorization) (NVD).

Impact

The vulnerability primarily affects applications using Spring Security's @EnableMethodSecurity feature, potentially leading to authorization decision issues. Applications that don't use @EnableMethodSecurity or don't implement security annotations on methods in generic superclasses or generic interfaces are not affected by this vulnerability (Spring Security).

Mitigation and workarounds

Users of affected versions are advised to upgrade to the corresponding fixed versions: Spring Framework 6.2.11 for open-source users, 6.1.23 for commercial users, and 5.3.45 for commercial users. Commercial customers using Spring Boot 2.7, 3.2, or 3.3 can utilize Spring Boot Hotfix releases 2.7.29.1, 3.2.18.1, and 3.3.15.1. No additional mitigation steps are necessary beyond the upgrade (Spring Blog).

Additional resources


SourceThis report was generated using AI

Related Jenkins vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-41249HIGH7.5
  • JenkinsJenkins
  • org.springframework::spring-core
NoYesSep 16, 2025
CVE-2025-41248HIGH7.5
  • JenkinsJenkins
  • org.springframework.security:spring-security-core
NoYesSep 16, 2025
CVE-2025-59476MEDIUM5.3
  • JavaJava
  • jenkins-2.516
NoYesSep 17, 2025
CVE-2025-59474MEDIUM5.3
  • JavaJava
  • cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
NoYesSep 17, 2025
CVE-2025-59475MEDIUM4.3
  • JavaJava
  • jenkins
NoYesSep 17, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management