VDB

CVE-2025-41248

CVE-2025-41248 PUBLISHED CVSS 7.5 HIGH

Spring Security annotation detection mechanism has authorization bypass

Reported by vmware · Published September 16, 2025

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 .

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nacosChainguard3.1.0-r0
thingsboardChainguard4.2-r6
jenkins-2.516Chainguard2.516.2-r1

Risk scores

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

Affected products

VendorProductVersions
VMwareSpring Security6.4.x, 6.5.x
chainguardnacos0
chainguardthingsboard0
chainguardjenkins-2.5160
wolfiapache-nifi0
wolfijenkins-20
wolfithingsboard0
Mavenorg.springframework.security:spring-security-core6.5.0, 6.4.0
chainguardapache-nifi0
chainguardjenkins-2.5040
wolfiapache-nifi-registry0
chainguardjenkins-20
chainguardapache-nifi-registry0
VMwareSpring Security6.4.x, 6.5.x
chainguardnacos-docker0

Timeline

  • Sep 15, 2025 CVE Published
  • Sep 16, 2025 EPSS Score (30 in total, the first dated here)
  • Sep 20, 2025 Coalition ESS Score (14 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (7 in total, the first dated here)
  • Nov 2, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-41248
vulnetix vdb fixes CVE-2025-41248

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-41248/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 ›