CVE-2025-22223
Spring Security Vulnerable to Authorization Bypass via Security Annotations
Reported by vmware · Published March 24, 2025
spring-security-core is fixed in 6.4.4 (Maven Central)
Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass. You are not affected if you are not using @EnableMethodSecurity, or you do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methods
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core | Maven Central | 6.4.4 |
| jenkins-2.492 | Chainguard | 2.492.2-r2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Security | 6.4.0-6.4.3 |
| chainguard | jenkins-2.492 | 0 |
| Maven | org.springframework.security:spring-security-core | 6.4.0 |
| Spring | Spring Security | 6.4.0-6.4.3 |
Timeline
- Mar 19, 2025 CVE Published
- Mar 20, 2025 PoC Published (10 in total, the first dated here)
- Mar 24, 2025 Coalition ESS Score (21 in total, the first dated here)
- Mar 25, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (9 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-22223
vulnetix vdb fixes CVE-2025-22223
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22223/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart