The short version
- AffectedSpring Boot 3.5.0 to 3.5.17, 4.0.0 to 4.0.9 and 4.1.0 to 4.1.2, only for servlet web apps that include Actuator, rely on Spring Boot's default security and run on Cloud Foundry (Spring advisory).
- Fixed in4.1.3 and 4.0.10 (open source); 4.1.2.1, 4.0.9.1 and 3.5.18 (enterprise support only). There is no open-source fix for 3.5.x.
- SeverityCritical per Spring. CVSS 3.1 base score 9.1 in the CVE record filed by the VMware CNA. NVD had not scored it at the time of writing.
- ExploitedNot known. The advisory says nothing about exploitation and the CVE is not in the CISA KEV catalogue.
SecurityFilterChain bean today.1. What CVE-2026-59411 is
Spring Boot auto-configures web security when Spring Security is on the classpath. The Spring Boot reference states that in that case "web applications are secured by default", with HTTP Basic or form login applied to the whole application, including Actuator endpoints. That default protects an app whose developers never wrote a security configuration.
Spring Boot also ships extended Actuator support for Cloud Foundry, "activated when you deploy to a compatible Cloud Foundry instance" (docs). In the Spring Boot source, Cloud Foundry is detected when the environment contains a VCAP_APPLICATION or VCAP_SERVICES variable.
The advisory says that when a servlet-based web application that uses Actuator is deployed to Cloud Foundry, "Spring Boot's default web security is disabled." It does not explain the mechanism, and the 4.1.3 and 4.0.10 release notes do not name the CVE. Spring classifies it as CWE-306, missing authentication for a critical function.
An application which relied on the generated default login therefore has no login at all. An attacker needs only network access to the app's route and gets whatever the application serves: exposed Actuator endpoints and any application endpoints that only the default chain protected. The CVSS vector rates confidentiality and integrity impact as high and availability as none.
2. Impact: who is exposed and how badly
All four conditions must hold at once, according to the advisory:
- Spring Boot 3.5.0 to 3.5.17, 4.0.0 to 4.0.9 or 4.1.0 to 4.1.2.
- A servlet web application (Spring MVC, not WebFlux).
- Actuator is on the classpath.
- The app runs on Cloud Foundry and relies on Spring Boot's default security configuration.
The advisory says plainly who is NOT affected: reactive (WebFlux) applications, and servlet applications that define their own security configuration. Apps not on Cloud Foundry and apps without Actuator are not affected. If Spring Security is not on the classpath at all, there was never a default chain to lose; such an app is open by design.
The worst realistic outcome is unauthenticated read and write access to the application. By default only /health is exposed over HTTP (Actuator endpoints docs), so the damage grows where management.endpoints.web.exposure.include was widened to env, heapdump or loggers.
| Branch | Affected | Open-source fix | Enterprise fix | OSS support status |
|---|---|---|---|---|
| 4.1.x | 4.1.0 to 4.1.2 | 4.1.3 | 4.1.2.1 | OSS support to 31 Jul 2027 |
| 4.0.x | 4.0.0 to 4.0.9 | 4.0.10 | 4.0.9.1 | OSS support to 31 Dec 2026 |
| 3.5.x | 3.5.0 to 3.5.17 | none | 3.5.18 | OSS support ended 30 Jun 2026 |
Versions and fixes are from the Spring advisory and the CVE record; support dates from endoflife.date. 4.1.3 and 4.0.10 reached Maven Central on 19 November 2026; 3.5.18 is not there.
Spring Boot is a build dependency, not an OS package or a Docker image, so there are no distribution packages or image tags to track. The version lives inside your application artefact.
3. How to check if you are affected
- Confirm the app runs on Cloud Foundry. List the apps in each targeted space and look at each one's environment for
VCAP_APPLICATION. Any other platform that setsVCAP_APPLICATIONorVCAP_SERVICESwould also trigger detection, because that is the test in the source linked above.
cf apps
cf env APP_NAME
- Find the Spring Boot version. Filter the Maven dependency tree to the core artefact, ask Gradle for dependency insight, or list the nested libraries in a built jar.
# Maven
./mvnw dependency:tree -Dincludes=org.springframework.boot:spring-boot
# Gradle
./gradlew dependencyInsight --dependency org.springframework.boot:spring-boot --configuration runtimeClasspath
# Built artefact
unzip -l app.jar | grep 'BOOT-INF/lib/spring-boot-'
A result of 3.5.0 to 3.5.17, 4.0.0 to 4.0.9 or 4.1.0 to 4.1.2 means the version condition holds. The version is also the spring-boot-starter-parent version in pom.xml or the org.springframework.boot plugin version in build.gradle.
- Check servlet versus reactive and Actuator presence. In the same dependency tree,
spring-webmvcmeans a servlet app andspring-webfluxmeans reactive. Look forspring-boot-actuatortoo. A servlet app with Actuator meets two more conditions.
./mvnw dependency:tree | grep -E 'spring-webmvc|spring-webflux|spring-boot-actuator|spring-security'
- Check for a custom security configuration. The advisory says apps with their own security configuration are not affected. The reference says a
SecurityFilterChainbean is what makes the default configuration back off. Search the source.
grep -rl 'SecurityFilterChain' src/main
No match means the app relies on the default chain and all four conditions hold: you are affected.
- Confirm from outside. Request a page of the running Cloud Foundry app that you know requires login, without credentials. A login page or a 401 means the default chain is active; the content itself means it is off. The startup log shows the Spring Boot version in the default banner.
cf logs APP_NAME --recent
Kubernetes, ECS, Lambda and plain hosts are out of scope unless something sets VCAP_APPLICATION or VCAP_SERVICES in their environment.
4. How to fix it
- Pick the target version. 4.1.x goes to 4.1.3. 4.0.x goes to 4.0.10, though its OSS support ends on 31 December 2026, so 4.1.3 is the better target if you can. 3.5.x has no open-source fix: take 3.5.18 through Spring enterprise support, do the major upgrade to 4.1.3, or apply the workaround below.
- Change the version in the build. Maven: set the
spring-boot-starter-parentversion, or thespring-boot-dependenciesimport version, to4.1.3or4.0.10. Gradle: set theorg.springframework.bootplugin version to the same. Rebuild and run your tests.
- Redeploy. Push the new artefact to Cloud Foundry. This changes the running app.
cf push APP_NAME
- Confirm the running app. Read the new version from the startup banner, or list the nested jars inside the running container.
cf logs APP_NAME --recent
cf ssh APP_NAME -c 'ls app/BOOT-INF/lib | grep spring-boot-'
- Repeat the outside check from step 5 above. A protected page must now ask for login.
5. If you cannot patch today
The advisory gives one workaround: "Applications that cannot upgrade immediately can work around this issue by defining their own security configuration." In practice that means a SecurityFilterChain bean with your access rules, which the reference says replaces the default configuration. Its limit is that you now own those rules, including Actuator rules, and a mistake there is a new hole. Test the chain before pushing it.
The documented switch management.cloudfoundry.enabled=false turns off the /cloudfoundryapplication endpoints (docs). The advisory does not list it as a mitigation and does not say whether it restores the default security, so do not rely on it alone.
Generic cuts, not from the vendor: unmap the public route from affected apps until they are fixed, and keep management.endpoints.web.exposure.include at its default so only /health is reachable.
6. How to tell if you were already hit
Neither the advisory nor the CVE record publishes indicators, and there is no public write-up of exploitation at the time of writing. Review Cloud Foundry router and application access logs for unauthenticated requests to /actuator/ paths and to pages that normally require login. The general pattern after a missing-authentication bug is that attackers read configuration and credentials from the environment and use them elsewhere. If env or heapdump were exposed, rotate the secrets they could have shown.
7. How autonomous DevOps handles a bug like this
Compass, Beamreach's open-source operations agent for AWS, does not cover this CVE: it is AWS only, Cloud Foundry is a different platform, Java is not on its default product list, and Maven and Gradle manifests are not among the lockfiles it maps. The three questions this bug asks still apply: do we run an affected version on something exposed, is the fix in the running workload, and what covers the gap. An always-current inventory of each app's platform, Spring Boot version, web stack, and presence of Actuator and a SecurityFilterChain bean would answer steps 1 to 4 above in one query. The fix is a single version pin, the kind of deterministic edit a patch pull request can make, followed by a push a person approves. Until it lands, a decoy credential in the app's environment is a tripwire for anyone reading env through an unprotected Actuator; it only catches an attacker who touches the decoy, and it does not fix the vulnerability. Our own experience with both approaches is at PHP2Shell contained in two minutes and the first 24 hours checklist.
8. Sources
- Spring advisory: https://spring.io/security/cve-2026-59411
- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-59411
- CVE JSON record: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/59xxx/CVE-2026-59411.json
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-59411
- Spring Boot 4.1.3 release notes: https://github.com/spring-projects/spring-boot/releases/tag/v4.1.3
- Spring Boot 4.0.10 release notes: https://github.com/spring-projects/spring-boot/releases/tag/v4.0.10
- Spring Boot 4.1.3 release post: https://spring.io/blog/2026/11/20/spring-boot-4-1-3-available-now
- Spring Boot 4.0.10 release post: https://spring.io/blog/2026/11/20/spring-boot-4-0-10-available-now
- Spring Boot reference, Spring Security: https://docs.spring.io/spring-boot/reference/web/spring-security.html
- Spring Boot reference, Cloud Foundry support: https://docs.spring.io/spring-boot/reference/actuator/cloud-foundry.html
- Spring Boot reference, Actuator endpoints: https://docs.spring.io/spring-boot/reference/actuator/endpoints.html
- Spring Boot source, CloudPlatform detection: https://github.com/spring-projects/spring-boot/blob/v4.1.3/core/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java
- Maven Central, Spring Boot versions: https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/
- Spring Boot support dates: https://endoflife.date/spring-boot
- Spring Enterprise Support: https://enterprise.spring.io/
- CISA KEV catalogue: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- HeroDevs, Spring security advisories November 2026: https://www.herodevs.com/blog-posts/spring-security-advisories-november-2026-cve-roundup
- heise online, Spring vulnerabilities: https://www.heise.de/en/news/Numerous-vulnerabilities-affect-components-of-the-Java-ecosystem-Spring-11535191.html
- cf CLI docs: https://cli.cloudfoundry.org/en-US/v8/env.html · https://cli.cloudfoundry.org/en-US/v8/push.html · https://cli.cloudfoundry.org/en-US/v8/logs.html · https://cli.cloudfoundry.org/en-US/v8/ssh.html
- Maven dependency plugin tree goal: https://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
- Gradle dependency insight: https://docs.gradle.org/current/userguide/viewing_debugging_dependencies.html
- CWE-306: https://cwe.mitre.org/data/definitions/306.html
9. FAQ
Am I affected by CVE-2026-59411 if my Spring Boot app is not on Cloud Foundry?
No, according to the advisory. Cloud Foundry detection in the Spring Boot source happens when VCAP_APPLICATION or VCAP_SERVICES is in the environment. Apps on Kubernetes, ECS, virtual machines or other platforms that do not set those variables are not affected.
Which Spring Boot version fixes CVE-2026-59411?
Spring Boot 4.1.3 and 4.0.10 are the open-source fixes, both on Maven Central since 19 November 2026. 4.1.2.1, 4.0.9.1 and 3.5.18 are enterprise-support releases. Spring Boot 3.5.x has no open-source fix because its OSS support ended on 30 June 2026.
Is CVE-2026-59411 being exploited?
Not that anyone has reported. The Spring advisory does not mention exploitation, and the CVE is not in the CISA Known Exploited Vulnerabilities catalogue as of 2 December 2026. The bug needs no credentials and no user interaction, so treat an exposed app as urgent regardless.
Is there a workaround for CVE-2026-59411 without upgrading?
Yes. Spring says applications that cannot upgrade immediately can define their own security configuration. In Spring Boot terms that is a SecurityFilterChain bean with your own access rules, which makes the default auto-configuration back off.
Does CVE-2026-59411 affect Spring Boot apps that use WebFlux?
No. The advisory states that reactive web applications are not affected. Only servlet-based applications with Actuator and the default security are.
Related
Last checked: 2 December 2026. Written from the vendor advisory and the CVE record, linked below. Confirm against the vendor advisory before acting.
Related: CVE Watch: all pages · How to protect against *2Shell vulnerabilities · Automated patching compared · AWS canary credentials
Beamreach