CVE-2025-41243: Spring Expression Language property modification using Spring Cloud Gateway Server WebFlux

CRITICAL | SEPTEMBER 08, 2025 | CVE-2025-41243

Description

The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification.

An application should be considered vulnerable when all the following are true:

  • The application is using Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not vulnerable).
  • Spring Boot actuator is a dependency.
  • The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway

CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers

MEDIUM | AUGUST 14, 2025 | CVE-2025-41242

Description

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container.

An application can be vulnerable when all the following are true:

CVE-2025-41232: Spring Security authorization bypass for method security annotations on private methods

MEDIUM | MAY 19, 2025 | CVE-2025-41232

Description

Spring Security Aspects may not correctly locate method security annotations on private methods. This can cause an authorization bypass.

Your application may be affected by this if the following are true:

  1. You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and
  2. You have Spring Security method annotations on a private method

CVE-2025-22235: Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed

MEDIUM | APRIL 24, 2025 | CVE-2025-22235

Description

EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.

Your application may be affected by this if all the following conditions are met:

  • You use Spring Security
  • EndpointRequest.to() has been used in a Spring Security chain configuration
  • The endpoint which EndpointRequest references is disabled or not exposed via web
  • Your application handles requests to /null and this path needs protection

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all