Live threats

All CVEs / Spring

CVE-2025-22235Spring Boot

High 7.3 No auth needed

Priority
59
CVSS 3.1
7.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 43
Auth required
No
Published
Apr 28, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

What happens

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 You are not affected if any of the following is true: * You don't use Spring Security * You don't use EndpointRequest.to() * The endpoint which EndpointRequest.to() refers to is enabled and is exposed * Your application does not handle requests to /null or this path does not need protection

Original NVD text.

What to do

  1. Apply the vendor's security update for Spring Boot.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.springframework.boot:spring-boot ≤ 2.7.24.2 no fixed version —
Maven org.springframework.boot:spring-boot ≥ 3.1.0 ≤ 3.1.15.2 no fixed version —
Maven org.springframework.boot:spring-boot ≥ 3.2.0 ≤ 3.2.13.2 no fixed version —
Maven org.springframework.boot:spring-boot ≥ 3.3.0 < 3.3.11 3.3.11 —
Maven org.springframework.boot:spring-boot ≥ 3.4.0 < 3.4.5 3.4.5 —

Per OSV / GitHub Advisories (GHSA-rc42-6c7j-7h5r). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.