SecurityContext

CVE-2025-41248: Spring Security - Authorization Bypass

  • Cve: CVE-2025-41248
  • Name: Spring Security - Authorization Bypass
  • Description: The Spring Security 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 when using @PreAuthorize and other method security annotations, resulting in an authorization bypass. 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-41249 https://spring.io/security/cve-2025-41249 .
  • Impact: Attackers can bypass authorization checks, potentially gaining unauthorized access to protected resources.
  • Remediation: Update to the latest Spring Security version that fixes this issue.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0045
  • Epss percentile: 0.39858
  • Assignee: [email protected]
  • Published at: 2025-09-16T11:15:30Z
  • Age in days: 434
  • Modified at: 2026-06-17T09:22:40Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-41248
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-289Authentication Bypass by Alternate Name

References

UrlSourceTags
https://spring.io/security/cve-2025-41248nvd

Products

ProductAffectedPlatform boundSourcesUrl
vmware:spring_security>= 6.5.x, < 6.5.5; >= 6.4.x, < 6.4.11nocna_alias/v1/products/vmware/spring_security

Projects

RepositoryLink kindsIndexedUrl
spring-projects/spring-securitycommit, issues, package, releasesyes/v1/repositories/spring-projects/spring-security

Index

  • Repositories: 84
  • Repositories high signal: 60
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts