Skip to main content

Spring Framework CVE-2026-41843

| EUVDEUVD-2026-35331 MEDIUM
Path Traversal (CWE-22)
2026-06-09 vmware GHSA-72pg-x5f8-j25j
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 Spring app with static resource endpoint
  2. Delivery
    Craft URL-encoded path traversal sequence
  3. Exploit
    Submit HTTP request to resource handler
  4. Execution
    Bypass path normalization/canonicalization
  5. Persist
    Framework resolves out-of-bounds file path
  6. Impact
    Arbitrary file contents returned in HTTP response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application uses Spring MVC or Spring WebFlux and has static resource resolution enabled - applications that do not serve static resources through Spring's resource handling layer are not affected. The CVSS vector (AV:N/AC:H/PR:N/UI:N) confirms no authentication and no user interaction are required, but high attack complexity indicates a non-trivial exploit condition; the specific technical prerequisite (e.g., a particular encoding scheme, OS path behavior, or resource handler configuration) is not detailed in the available description and should be confirmed via the vendor advisory. Exploitation is limited to confidentiality impact - the CVSS vector (C:H/I:N/A:N) and unchanged scope (S:U) indicate no file writes, privilege escalation, or service disruption are possible via this vector alone. Non-default or restrictive path handling at the OS or web server layer may further reduce exploitability in practice.

Impact

The CVSS base score of 5.9 (Medium) is shaped primarily by the AC:H factor, which tempers what would otherwise be a higher-severity unauthenticated network attack (AV:N/PR:N/UI:N). The high confidentiality impact (C:H) with no integrity or availability impact means successful exploitation leaks file contents - potentially including credentials, private keys, configuration files, or application source - but does not directly enable code execution or service disruption. No EPSS score was provided in the input data, so quantitative exploitation probability cannot be assessed. CISA KEV absence and no identified POC further reduce immediate urgency compared to a KEV-listed issue. However, Spring Framework's ubiquity in enterprise Java applications means the aggregate exposure is large; even a medium-complexity exploit against a widely deployed framework serving static resources represents a meaningful population of vulnerable targets. The AC:H flag should be verified against the vendor advisory - if the complexity condition proves low-bar in practice (e.g., a simple percent-encoding bypass), effective risk is higher than the CVSS score implies.

Exploit ScenarioDerived

An unauthenticated attacker identifies an internet-facing Spring MVC or WebFlux application serving static resources and sends a crafted HTTP GET request with a path traversal sequence - such as a URL-encoded or double-encoded ../ chain - targeting the static resource endpoint. If the application's path normalization is bypassed, the framework resolves and returns the content of a file outside the web root, such as application configuration files or OS-level files like /etc/passwd. No public exploit code has been identified at time of analysis, and the AC:H classification suggests successful exploitation requires specific encoding or request construction beyond a naive traversal attempt.

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 – Jun 09, 2026

Path traversal in Spring Framework's static resource resolution exposes arbitrary server files to unauthenticated remote attackers across both Spring MVC and Spring WebFlux stacks. Four major release lines - 5.3.x, 6.1.x, 6.2.x, and 7.0.x - are affected, making this a broad-surface issue for the Java ecosystem. The CVSS vector confirms unauthenticated network access with high confidentiality impact, though the AC:H designation indicates non-trivial exploit conditions; no public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV.

RemediationAI

Consult the VMware Spring security advisory at https://spring.io/security/cve-2026-41843 for confirmed fixed release versions, as the provided input data does not specify exact patched version numbers and none can be independently confirmed here. Based on the affected ranges, fixed versions logically follow as 7.0.8+, 6.2.19+, 6.1.28+, and 5.3.49+, but these are inferred - verify against the advisory before acting. As a compensating control while patching, disable Spring's static resource handler via ResourceHandlerRegistry if the application does not require framework-served static files; this eliminates the attack surface entirely but will break any feature depending on it. Alternatively, deploy a reverse proxy or WAF with path traversal normalization rules to reject requests containing traversal sequences before they reach the application - note that WAF bypass via alternate encodings is possible and this is a defense-in-depth measure, not a fix. Restricting the web application's OS-level file permissions so the Spring process cannot read outside the intended web root limits the blast radius of any successful traversal.

Affected VersionsENISA

Spring Framework 6.1.0 <6.1.28
Spring Framework 6.2.0 <6.2.19
Spring Framework 7.0.0 <7.0.8
Spring Framework 5.3.0 <5.3.49

Affected Packages

maven org.springframework:spring-webflux fix: 6.2.19, 7.0.8
maven org.springframework:spring-webmvc fix: 6.2.19, 7.0.8
euvd spring_framework fix: 5.3.49, 6.1.28, 6.2.19, 7.0.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 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

The vulnerability is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), where user-supplied path segments are insufficiently sanitized before being resolved against the static resource directory. Both the servlet-based Spring MVC stack and the reactive Spring WebFlux stack share this flaw in their resource-handling layer, suggesting the vulnerable code path exists in a common utility used by both frameworks. The CPE string cpe:2.3:a:spring:spring_framework:*:*:*:*:*:*:*:* confirms the affected artifact is the VMware/Broadcom-maintained Spring Framework Java library. The AC:H classification implies that exploitation may depend on specific URL encoding variations, OS-level path normalization behavior, or application-level configuration that prevents straightforward traversal - typical of path traversal bugs that require bypass of one or more canonicalization 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

Vendor (vmware) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A: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

Lifecycle Timeline

1
Patch available
Jun 09, 2026 - 06:01 EUVD

DescriptionCVE.org

Spring MVC and WebFlux applications are vulnerable to Path Traversal attacks when resolving static resources.

Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.springframework:spring-webflux (5 direct, 1 indirect)
  • 23 maven packages depend on org.springframework:spring-webmvc (14 direct, 9 indirect)

Ecosystem-wide dependent count for version 7.0.0 and other introduced versions.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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-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