CVE-2026-22731: Authentication Bypass under Actuator Health groups paths

HIGH | MARCH 19, 2026 | CVE-2026-22731

Description

Spring Boot applications with Actuator can be vulnerable to an "Authentication Bypass" vulnerability when an application endpoint that requires authentication is declared under a specific path, already configured for a Health Group additional path.

More precisely, an application can be vulnerable when all the following are true:

  • the application has the Actuator dependency on the classpath
  • the application declares a custom health group (here "mygroup"), with management.endpoint.health.group.mygroup.include
  • this health group is exposed under an additional path on the main server, like management.endpoint.health.group.mygroup.additional-path=server:/healthz
  • the application contributes an application endpoint that requires authentication under a subpath, like "/healthz/admin"

Note that mapping application endpoints under infrastructure endpoints like Actuators is not recommended by the Spring team and that doing so is likely to interfere with other configurations and cause behavior problems. While the severity for this advisory is high, we expect this setup to rarely occur in production.

This CVE is similar but not equivalent to CVE-2026-22733, as the conditions for exploit and vulnerable versions are different.

Affected Spring Products and Versions

Spring Boot:

  • 4.0.0 - 4.0.3
  • 3.5.0 - 3.5.11
  • 3.4.0 - 3.4.14

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
4.0.x 4.0.4 OSS
3.5.x 3.5.12 OSS
3.4.x 3.4.15 Commercial

No further mitigation steps are necessary.

Credit

This issue was responsibly reported by Gyu-hyeok Lee (g2h).

References

History

  • 2026-03-19: Initial vulnerability report published.

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