← Writing

Spring Boot CVE Response Guide — Does Your Service Need a Patch?

On this page

To decide whether to patch Spring Boot, check the version actually deployed and the service’s security configuration. The two Critical advisories Spring published on November 19, 2026 share some fixed versions. One affects default web security for Servlet apps using Actuator on Cloud Foundry. The other affects authorization rules that rely on Spring Boot request matchers. Neither advisory lists 4.2.0 GA as affected. Spring advisory CVE-2026-59411 · Spring advisory CVE-2026-59414

What each advisory covers

CVE-2026-59411. On affected versions, deploying a Servlet web app that uses Actuator to Cloud Foundry disables Spring Boot’s default web security. Spring says Reactive web apps and Servlet apps with custom security configuration are unaffected. If you cannot upgrade immediately, Spring recommends defining your own security configuration as a temporary measure. Check that the intended access policy covers both Actuator and regular application routes. Actuator endpoint security documentation

CVE-2026-59414. Request matchers created with EndpointRequest or PathRequest can interpret paths differently, so authorization rules may fail to protect an intended route. Review this advisory separately if your custom SecurityFilterChain uses either matcher. Spring recommends upgrading affected versions to the corresponding fixed release.

Which version should you upgrade to?

Deployed version Applicable CVE Fixed versions in the advisories
4.1.0–4.1.2 Both 4.1.3 (public OSS release) / 4.1.2.1 (Enterprise only)
4.0.0–4.0.9 Both 4.0.10 (public OSS release) / 4.0.9.1 (Enterprise only)
3.5.0–3.5.17 Both 3.5.18 (Enterprise only)
3.0.0–3.4.18 CVE-2026-59414 3.4.19 (Enterprise only)
2.7.35 and earlier (2.7 line) CVE-2026-59414 2.7.36 (Enterprise only)

If you use only public releases on 3.5.17, check whether your support agreement gives you access to 3.5.18 or plan an upgrade to a public release line that includes the fix. Moving from 3.0–3.3 to 3.4.19 changes release lines. Before upgrading to a new major version, check Java and key library compatibility.

Spring’s November 26 history entry for CVE-2026-59414 records an update covering the relevant artifacts for 3.5.18, 3.4.19, and 2.7.36. Spring advisory CVE-2026-59414

If you’re running Spring Boot 4.2.0 GA

If your deployed module really uses Spring Boot 4.2.0 GA, these two advisories do not require a version change. Spring’s release announcement and notes identify the GA release, and the affected-version lists in the two advisories determine the scope. Check the Boot version in the running JAR or container image. For separate Spring Framework and Spring Security advisories, use the deployed versions of those libraries. This assessment covers the GA release and these two CVEs. It does not assess individual service artifacts or other vulnerabilities. Spring Boot 4.2.0 release announcement · Spring Boot 4.2 release notes

From dependency checks to production verification

Find the selected version in the deployment module and compare it with the running JAR or image. Use the advisories and the configuration to decide whether to patch. If a patch is needed, verify the access policy on the fixed release and confirm the rollout.

1. Find the version selected in the deployment module. Use the project’s Maven or Gradle Wrapper with a compatible Java version. For a multi-module project, target the module that builds the application. Maven shows Boot modules and selected versions in the dependency tree. Gradle shows selected versions and selection reasons in runtimeClasspath.

./mvnw dependency:tree '-Dincludes=org.springframework.boot:*'
./gradlew dependencyInsight --dependency org.springframework.boot --configuration runtimeClasspath

These examples cover the first step and were checked against official documentation. They were not run. The remaining checks depend on your service. Maven dependency tree documentation · Gradle dependency inspection documentation

2. Compare with the production artifact and assess exposure. Check which Boot version is in the running JAR or container image. For container deployments, compare each production instance’s image digest with the build records or software bill of materials (SBOM). An instance that keeps the old image still runs the old version after a source dependency upgrade. Compare the deployed version and security configuration with each advisory.

3. If you need to patch, verify the existing access policy on the fixed release. In staging, confirm public health checks still work, routes that require authentication deny unauthenticated access, and accounts with operations privileges can use the management features they need. After deployment, confirm every production instance is running the new artifact.

Discussion

View on GitHub ↗