Improper access control in Spring Framework - CVE-2026-41841
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in the static resource cache in Spring MVC and Spring WebFlux when resolving static resources. A remote attacker can request a publicly available resource with the same name as a protected resource to disclose sensitive information.
Exploitation requires several resource handlers using different resource locations, at least one protected resource handler, and a shared cache across these configurations.