#VU109589 Improper authorization in Spring Security - CVE-2025-41232


Vulnerability identifier: #VU109589

Vulnerability risk: High

CVSSv4.0: 8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2025-41232

CWE-ID: CWE-285

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Spring Security
Server applications / Frameworks for developing and running applications

Vendor: VMware, Inc

Description

The vulnerability allows a remote attacker to compromise the affected application.

The vulnerability exists due to an error in Spring Security Aspects, that may not correctly locate method security annotations on private methods. A remote non-authenticated attacker can bypass authorization checks and gain unauthorized access to the application. 

The vulnerability affects system that:

  1. use @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and
  2. have Spring Security method annotations on a private method


Mitigation
Install updates from vendor's website.

Vulnerable software versions

Spring Security: 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5


External links
https://spring.io/security/cve-2025-41232


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability