cve.bz

CVE-2025-41232 spring spring security: Protection Mechanism Failure

9.1 criticalEPSS 0.6%Fix available

Critical (9.1) in spring spring security. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-aspects 6.4.6.

On this page
Spring Security Aspects may not correctly locate method security annotations on private methods. This can cause an authorization bypass. Your application may be affected by this if the following are true: * You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and * You have Spring Security method annotations on a private method In that case, the target method may be able to be invoked without proper authorization. You are not affected if: * You are not using @EnableMethodSecurity(mode=ASPECTJ) or spring-security-aspects, or * You have no Spring Security-annotated private methods

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-693 Protection Mechanism Failure
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework.security:spring-security-aspects (Maven): fixed in 6.4.6
  • org.springframework.security:spring-security-core (Maven): fixed in 6.4.6

Ask an AI about this CVE

Show the promptExplain CVE-2025-41232 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-41232?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-41232?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-41232 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring Securityfrom 6.4.x before 6.4.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9pp5-9c7g-4r83Mavenorg.springframework.security:spring-security-aspects>=6.4.0 <6.4.66.4.6
GHSA-9pp5-9c7g-4r83Mavenorg.springframework.security:spring-security-core>=6.4.0 <6.4.66.4.6

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat build of Apache Camel for Spring Boot 4 does not use org.springframework.security:spring-security-aspects. We don't have this anywhere in camel/camel-spring-boot and we have no direct vulnerability in CSB. The risk lies with spring-boot-dependencies 3.4.5, which could pull in the vulnerable spring-security-aspects if explicitly added by a user.

Red Hat's mitigation

Mitigation 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.

ProductPackageStateAdvisory
A-MQ Clients 2spring-security-coreNot affected
OpenShift Developer Tools and ServicesjenkinsNot affected
Red Hat build of Apache Camel for Spring Boot 4spring-security-coreNot affected
Red Hat build of Quarkusquarkus-bomNot affected
Red Hat Data Grid 8spring-security-coreNot affected
Red Hat Fuse 7org.apache.servicemix.bundles.spring-security-coreNot affected
Red Hat Fuse 7spring-security-coreNot affected
Red Hat Integration Camel K 1spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform 7spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform 8spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packspring-security-coreNot affected
Red Hat Process Automation 7spring-security-coreNot affected
Red Hat Single Sign-On 7spring-security-coreNot affected
streams for Apache Kafkaspring-security-coreNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-41232.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-693 (17).

References

Check your stackJSON