Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Lifecycle Timeline
4Blast Radius
ecosystem impact- 74 maven packages depend on org.springframework.security:spring-security-oauth2-jose (17 direct, 57 indirect)
Ecosystem-wide dependent count for version 6.3.0.
DescriptionCVE.org
Vulnerability in Spring Spring Security. When an application configures JWT decoding with NimbusJwtDecoder or NimbusReactiveJwtDecoder, it must configure an OAuth2TokenValidator<Jwt> separately, for example by calling setJwtValidator.This issue affects Spring Security: from 6.3.0 through 6.3.14, from 6.4.0 through 6.4.14, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.
AnalysisAI
JWT token validation bypass in Spring Security allows authenticated attackers to forge or manipulate JWT tokens when NimbusJwtDecoder or NimbusReactiveJwtDecoder is used without explicit OAuth2TokenValidator configuration, enabling unauthorized access to protected resources. The vulnerability affects Spring Security versions 6.3.0-6.3.14, 6.4.0-6.4.14, 6.5.0-6.5.9, and 7.0.0-7.0.4. CVSS 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N) reflects network-accessible exploitation requiring low-privilege authentication and high attack complexity.
Technical ContextAI
Spring Security's NimbusJwtDecoder and NimbusReactiveJwtDecoder are responsible for decoding and validating JSON Web Tokens (JWTs) in OAuth2/OpenID Connect flows. JWT validation requires two distinct steps: cryptographic signature verification (performed by the decoder) and semantic/business-logic validation (performed by an OAuth2TokenValidator implementation). When an application instantiates the decoder without explicitly calling setJwtValidator() to attach a custom validator, the decoder may skip critical validation checks such as issuer verification, audience claim validation, expiration enforcement, or scope validation. This omission allows attackers with valid credentials to the OAuth2 provider to craft or replay tokens that bypass application-level authorization logic, even though the signature itself remains valid. The root cause is a configuration-dependent trust model where secure defaults are not enforced, placing the burden entirely on developers to remember additional configuration steps.
RemediationAI
Upgrade Spring Security to patched versions: 6.3.15 or later for the 6.3 branch, 6.4.15 or later for the 6.4 branch, 6.5.10 or later for the 6.5 branch, or 7.0.5 or later for the 7.0 branch. For applications unable to upgrade immediately, explicitly configure an OAuth2TokenValidator<Jwt> for every NimbusJwtDecoder or NimbusReactiveJwtDecoder instance by calling setJwtValidator() with a validator that enforces issuer, audience, expiration, and scope validation appropriate to your OAuth2 provider. Example: decoder.setJwtValidator(new DelegatingOAuth2TokenValidator<>(new JwtTimestampValidator(), new JwtIssuerValidator(expectedIssuer), new JwtClaimValidator<String>("aud", audience::equals))). This workaround ensures semantic validation is not skipped, though upgrading is strongly preferred. Refer to Spring Security documentation at https://spring.io/security/cve-2026-22748 for detailed remediation guidance.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-20 – Improper Input Validation
View allSame technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-24610
GHSA-cvc6-q2cp-2xhw