CVE-2026-41843
Received Received - Intake
Path Traversal in Spring Framework

Publication date: 2026-06-09

Last updated on: 2026-06-09

Assigner: VMware

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-09
Last Modified
2026-06-09
Generated
2026-06-09
AI Q&A
2026-06-09
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 4 associated CPEs
Vendor Product Version / Range
pivotal spring_framework From 5.3.0 (inc) to 5.3.48 (inc)
pivotal spring_framework From 6.1.0 (inc) to 6.1.27 (inc)
pivotal spring_framework From 6.2.0 (inc) to 6.2.18 (inc)
pivotal spring_framework From 7.0.0 (inc) to 7.0.7 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-41843 is a medium-severity vulnerability in the Spring Framework affecting versions 7.0.0 to 7.0.7, 6.2.0 to 6.2.18, 6.1.0 to 6.1.27, and 5.3.0 to 5.3.48. It involves a path traversal issue in Spring MVC and WebFlux when resolving static resources from the file system.

This vulnerability can be exploited if an application serves static resources from the file system, has versioned resources support enabled, and an attacker can guess or knows metadata about the targeted resources. Successful exploitation allows the attacker to access files outside the intended directories.

Impact Analysis

The vulnerability allows an attacker to perform a path traversal attack, potentially accessing sensitive files outside the intended static resource directories.

This unauthorized file access can lead to exposure of sensitive information, which may compromise the security of the application and its data.

Mitigation Strategies

The immediate step to mitigate this vulnerability is to upgrade your Spring Framework to the fixed versions.

  • Upgrade to Spring Framework version 7.0.8 if you are using any version from 7.0.0 to 7.0.7.
  • Upgrade to Spring Framework version 6.2.19 if you are using any version from 6.2.0 to 6.2.18.
  • Upgrade to Spring Framework version 6.1.28 if you are using any version from 6.1.0 to 6.1.27.
  • Upgrade to Spring Framework version 5.3.49 if you are using any version from 5.3.0 to 5.3.48.

No additional mitigation steps are required beyond upgrading.

Compliance Impact

This vulnerability allows attackers to perform path traversal attacks to access files outside the intended directories in Spring MVC and WebFlux applications.

Such unauthorized access to files could potentially lead to exposure of sensitive or personal data, which may impact compliance with data protection regulations like GDPR and HIPAA that require safeguarding of personal and health information.

Therefore, if exploited, this vulnerability could result in violations of these standards due to unauthorized data access.

Upgrading to the fixed versions is recommended to mitigate this risk and maintain compliance.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-41843. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart