Skip to main content

Spring Security CVE-2026-59276

| EUVDEUVD-2026-67168 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-08-27 vmware GHSA-vj7f-9q44-g5xv
5.9
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Identify target endpoint validating secret token
  2. Delivery
    Establish low-latency network access
  3. Exploit
    Send statistically large probe set varying token characters
  4. Execution
    Measure and aggregate response timing deltas
  5. Persist
    Reconstruct secret value character by character
  6. Impact
    Replay recovered token to bypass authentication

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

Exploitation requires the attacker to be positioned on a low-latency network path to the target endpoint - same cloud VPC, shared Kubernetes node, or internal network - because internet-grade jitter drowns out the nanosecond-scale timing signal. The vulnerability activates on any Spring Security code path that compares a security-sensitive string (CSRF token, bearer token, or equivalent) using the affected equals() logic; no special non-default configuration is required beyond the application using one of the affected Spring Security versions. The CVSS PR:N metric confirms no authentication is required to attempt exploitation. Exploitation is limited by: (1) AC:H - requires controlled, low-jitter network conditions; (2) the need to issue a very large number of requests without triggering rate limits or anomaly detection; (3) no integrity or availability impact - only confidentiality of compared secrets is at risk.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) scores 5.9 Medium, and this calibration is accurate: the AC:H reflects the genuine practical difficulty of executing timing attacks reliably across the public internet, where network jitter, JVM garbage collection pauses, load balancer variability, and OS thread scheduling all introduce noise orders of magnitude larger than the timing signal being measured. Exploitation is far more tractable in co-located or containerized environments - Kubernetes pods sharing a node, microservices on the same cloud VPC, or internal SOA deployments - where latency variance is suppressed. No EPSS data was supplied, and absence from CISA KEV indicates no confirmed active exploitation at time of analysis. POC status is unknown. SSVC dimensions: exploitation is none/public (no confirmed weaponized use), the attack is not trivially automatable at scale due to the measurement requirements, and technical impact is partial to total on confidentiality depending on what secrets are compared. Even a security team at a mid-sized organization should treat this as a scheduled-patch priority - not emergency response - unless the deployment processes extremely high-value authentication material (e.g., OAuth signing keys) in a low-latency network segment where timing oracle conditions are achievable.

Exploit ScenarioDerived

An attacker with network access to a Spring Security-protected endpoint that validates a secret token (e.g., a CSRF token or API bearer token) sends thousands of crafted requests, each varying the candidate token by one character position, and records the statistical distribution of response times for each candidate. Over many iterations - feasible in a same-VPC or low-latency deployment - the attacker identifies which character at each position produces the longest average comparison time, progressively reconstructing the valid token without ever having authenticated. No public proof-of-concept exploit code was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 27, 2026

Timing side-channel exposure in Spring Security allows remote unauthenticated attackers to progressively infer security-sensitive string values - such as CSRF tokens, bearer tokens, or other secrets compared at the application layer - by statistically measuring the time differential between rejection responses. Multiple active Spring Security release trains are affected, spanning versions 5.7.x through 7.1.x, representing a broad swath of production Spring-based Java applications. No public exploit code has been identified at time of analysis, and CISA KEV status is absent; however, the confidentiality impact is rated High in the CVSS vector, reflecting that successful exploitation could fully compromise protected secrets under favorable network conditions.

RemediationAI

The primary remediation is upgrading to a patched Spring Security release; exact fix versions should be confirmed against the vendor advisory at https://spring.io/security/cve-2026-59276, as the input data does not specify fixed version numbers - no exact patch version is independently confirmed from the available data. As a compensating control where immediate upgrade is not feasible, teams should audit their use of Spring Security's token and secret comparison code paths and replace any application-level String.equals() calls on security-sensitive values with MessageDigest.isEqual() or a dedicated constant-time comparison utility such as those in Spring Security's own CryptoUtils. Restricting internal service-to-service communication to private network segments raises the bar for timing measurement but does not eliminate the vulnerability. Rate-limiting endpoints that validate secrets adds noise to timing measurements and reduces attack efficiency, though determined attackers can compensate with larger sample sizes. No workaround fully eliminates the vulnerability without patching.

Affected VersionsENISA

Spring Security 6.5.0 ≤6.5.11
Spring Security 7.0.0 ≤7.0.6
Spring Security 6.4.0 ≤6.4.18
Spring Security 7.1.0
Spring Security 5.8.0 ≤5.8.27
Spring Security 5.7.0 ≤5.7.25

Affected Packages

euvd spring_security no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Spring Security (cpe:2.3:a:spring:spring_security:*:*:*:*:*:*:*:*) performs security-critical comparisons using Java's standard String.equals() method, which is an early-exit comparison that returns false as soon as the first differing character is found. This design makes the time to reject an incorrect candidate proportional to the length of the matching prefix with the correct secret value - a classic timing oracle. Attackers send many probes varying one character at a time, then use statistical analysis of aggregate response times to identify which prefix produces the longest average comparison time, thereby recovering the secret incrementally. The NVD entry does not assign a CWE, but this vulnerability class maps squarely to CWE-208 (Observable Timing Discrepancy) and CWE-203 (Observable Discrepancy). The correct defense - used widely in cryptographic libraries - is constant-time comparison (e.g., Java's MessageDigest.isEqual() or equivalent), which always runs to completion regardless of where a mismatch occurs.

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

Vendor (vmware) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

Network vector and no-privilege requirement confirmed; AC:H reflects the measurement difficulty of timing attacks; C:H as secret recovery is the sole impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

DescriptionCVE.org

Several components in Spring Security compare security-sensitive values using standard string equality (String.equals()) rather than a constant-time comparison. Because String.equals() returns as soon as it finds a differing character, the time taken to reject an incorrect value is proportional to the number of leading characters that match the expected value. Spring Security 7.1.0 Spring Security 7.0.0 - 7.0.6 Spring Security 6.5.0 - 6.5.11 Spring Security 6.4.0 - 6.4.18 Spring Security 5.8.0 - 5.8.27 Spring Security 5.7.0 - 5.7.25

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
dominant security framework across enterprise Java and Spring Boot ecosystem
Data Quality
5 sources
Confidence: Medium

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.3%
Patch available No
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
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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-41243 CRITICAL POC
10.0 Sep 16

Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification. Rated critical severi

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

Vendor StatusVendor

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