Skip to main content

Spring Security EUVDEUVD-2026-24610

| CVE-2026-22748 MEDIUM
Improper Input Validation (CWE-20)
2026-04-22 vmware GHSA-cvc6-q2cp-2xhw
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain valid OAuth2 token from provider
  2. Delivery
    Decode token to access claims
  3. Exploit
    Modify JWT claims in memory
  4. Install
    Replay modified token to application
  5. C2
    Decoder validates signature only
  6. Execute
    Validator stage skipped
  7. Impact
    Bypassed authorization check
  8. Step 8
    Access unauthorized resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires four specific conditions: (1) The application must use Spring Security's NimbusJwtDecoder or NimbusReactiveJwtDecoder for JWT decoding. (2) The decoder instance must NOT have an explicit OAuth2TokenValidator configured via setJwtValidator() or equivalent method. (3) The attacker must possess valid credentials or a valid JWT from the same OAuth2 authorization server, enabling them to craft a token with a valid signature. (4) The application must rely on JWT claims (such as issuer, audience, or scope) for authorization decisions rather than solely on cryptographic signature validity. Applications that follow Spring Security best practices by explicitly configuring validators, or applications that do not use JWT-based OAuth2 authentication, are not affected. The vulnerability is NOT remotely exploitable by completely unauthenticated attackers without any valid token.

Impact

Real-world risk is moderate to high despite CVSS 5.3 score. The CVSS vector (AV:N/AC:H/PR:L) correctly identifies network-accessible exploitation requiring authenticated access and elevated attack complexity, reflecting that an attacker must already have valid OAuth2 credentials or tokens. However, the integrity impact (I:H) is significant - attackers can bypass authorization controls. The high attack complexity (AC:H) likely reflects the requirement for specific decoder configuration patterns, which is common in Spring applications but not universal. No KEV (CISA Known Exploited Vulnerability) status, POC availability, or EPSS score was provided in the input data. The risk is not a remote unauthenticated code execution scenario, but rather a misconfiguration vulnerability with high impact for applications that fail to follow secure configuration practices. Organizations using NimbusJwtDecoder without explicit validator configuration face real integrity risk. Defender assessment: patch immediately for affected versions, but focus scanning efforts on Spring Security deployments in OAuth2/JWT-protected applications.

Exploit ScenarioDerived

An attacker with valid OAuth2 credentials obtains a legitimate JWT from the authorization server. The attacker modifies the JWT claims (e.g., changes the 'sub' claim to a different user ID or adds/removes 'scope' claims) without altering the signature. The attacker sends the modified JWT to a Spring Security-protected application that uses NimbusJwtDecoder without an explicit OAuth2TokenValidator. The decoder verifies the cryptographic signature (which remains valid because the key was not modified) but skips semantic validation due to missing validator configuration, allowing the attacker to assume a different user's identity or access resources outside their authorized scope.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 22, 2026

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.

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.

Affected VersionsENISA

Spring Security 7.0.0 ≤7.0.4
Spring Security 6.5.0 ≤6.5.9
Spring Security 6.4.0 ≤6.4.14
Spring Security 6.3.0 ≤6.3.14

Affected Packages

maven org.springframework.security:spring-security-oauth2-jose fix: 6.5.10, 7.0.5
euvd spring_security no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Red Hat 5.3 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 26, 2026 - 21:23 NVD
5.3 (MEDIUM) 6.5 (MEDIUM)
CVE Published
Apr 22, 2026 - 05:15 nvd
MEDIUM 5.3

DescriptionNVD

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy