CVE-2026-41841

Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux

Published Jun 9, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Spring MVC and WebFlux applications are vulnerable to Information Disclosure 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.

Analysis

AI-generated

Technical impact

A flaw in Spring MVC and WebFlux allows the resolution of static resources to leak application information. The vulnerability arises when the static resource cache interacts with resource handler mappings, enabling an attacker to discover file names, paths, or other internal details that should not be publicly exposed. This constitutes a confidentiality breach, exposing potentially sensitive data such as source file locations or configuration hints.

Affected Systems

The issue affects the Spring Framework across multiple major releases: 5.3.0 to 5.3.48, 6.1.0 to 6.1.27, 6.2.0 to 6.2.18, and 7.0.0 to 7.0.7. The advisory is relevant for all projects that rely on the Spring Framework for handling web requests via Spring MVC or the reactive WebFlux module.

Risk and Exploitability

The CVSS score of 5.9 indicates a moderate severity and the public availability of no EPSS data suggests the exploit likelihood is currently unknown. The vulnerability is remote, accessible over HTTP, and does not require authentication per the description. Although it is not listed in CISA’s KEV catalog, the potential for exposing internal paths makes it a concern for organizations handling sensitive or regulated data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Spring Framework to a fixed release – 5.3.49 or later, 6.1.28 or later, 6.2.19 or later, or 7.0.8 or later. This patch removes the logic that leaks static resource information.
  • If an immediate upgrade is not feasible, isolate the affected application behind a network filter that restricts access to static resource URLs or employ application firewall rules to block suspicious requests targeting unknown or internal paths.
  • Verify that the web application’s static resource configuration does not expose hidden directories and enforce strict cache policies that prevent path disclosure.

Generated by OpenCVE AI on June 9, 2026 at 05:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mq64-j8f9-9gcj Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Framework
CPEs cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Framework
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring Framework
Vendors & Products Spring
Spring spring Framework
Type Values Removed Values Added
Description Spring MVC and WebFlux applications are vulnerable to Information Disclosure 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.
Title Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux
Weaknesses CWE-524
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-524

    Use of Cache Containing Sensitive Information

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 27, 2026, 8:58 PM
Reserved
Apr 22, 2026, 6:22 AM
Status
Analyzed
Published
Jun 9, 2026, 5:16 AM
Modified
Jul 23, 2026, 8:10 AM