Bug 2395723 (CVE-2025-41248) - CVE-2025-41248 org.springframework.security/spring-security-core: Spring Security authorization bypass
Summary: CVE-2025-41248 org.springframework.security/spring-security-core: Spring Secu...
Keywords:
Status: NEW
Alias: CVE-2025-41248
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-16 11:01 UTC by OSIDB Bzimport
Modified: 2025-10-14 17:59 UTC (History)
47 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:18028 0 None None None 2025-10-14 17:59:11 UTC

Description OSIDB Bzimport 2025-09-16 11:01:08 UTC
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 .

Comment 2 errata-xmlrpc 2025-10-14 17:59:08 UTC
This issue has been addressed in the following products:

  Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10

Via RHSA-2025:18028 https://access.redhat.com/errata/RHSA-2025:18028


Note You need to log in before you can comment on or make changes to this bug.