Sårbarheter

CVE-2025-41248

Høy 7.5 CVSS 3.1

Beskrivelse

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 .

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2025-09-16
Sist endret
2026-06-17
Tildelt av
security@vmware.com
CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scoret av
security@vmware.com
Sannsynlighet for utnyttelse
0.4 % høyere enn 36 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ikke registrert hos kildene

Berørte produkter

Leverandør Produkt Versjoner Status
org.springframework.security spring-security-core (Maven) ≥ 6.4.0, < 6.4.10 Berørt
org.springframework.security spring-security-core (Maven) ≥ 6.5.0, < 6.5.4 Berørt

Svakhetstype

  • CWE-289: Authentication Bypass by Alternate Name

    The product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor.

Referanser

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter