VDB

CVE-2025-22223

CVE-2025-22223 PUBLISHED CVSS 5.3 MEDIUM

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.

PackageEcosystemFixed in
org.springframework.security:spring-security-coreMaven Central6.4.4
jenkins-2.492Chainguard2.492.2-r2

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
SpringSpring Security6.4.0-6.4.3
chainguardjenkins-2.4920
Mavenorg.springframework.security:spring-security-core6.4.0
SpringSpring Security6.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›