CVE-2025-41248: vmware spring_security Authentication Bypass by Alternate Name
Vulnerability summary
CVE-2025-41248 is a high (CVSS 7.5) Authentication Bypass by Alternate Name vulnerability in vmware spring_security. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 36.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 8Timeline
- 16-09-2025PublishedVulnerability first disclosed.
- 18-09-2025Last modifiedVulnerability information updated.
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 .
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
0.00 pp
From 0.43% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard24 products
- apache-nifi< 2.5.0-r11
- apache-nifi-compat< 2.5.0-r11
- apache-nifi-registry< 2.5.0-r6
- apache-nifi-registry-toolkit< 2.5.0-r6
- apache-nifi-toolkit< 2.5.0-r11
Wolfi17 products
- apache-nifi< 2.5.0-r11
- apache-nifi-compat< 2.5.0-r11
- apache-nifi-registry< 2.5.0-r6
- apache-nifi-registry-toolkit< 2.5.0-r6
- apache-nifi-toolkit< 2.5.0-r11
Org.springframework.security1 product
- spring-security-core≥ 6.4.0, < 6.4.10 | ≥ 6.5.0, < 6.5.4
Vmware1 product
- spring_security≥ 6.4.x, < 6.4.11 | ≥ 6.5.x, < 6.5.5
4 vendors · 43 products