The short version
- AffectedSpring Boot 4.1.0 to 4.1.2, 4.0.0 to 4.0.9, 3.5.0 to 3.5.17, 3.0.0 to 3.4.18 and 2.7.35 and earlier (Spring advisory).
- Fixed in4.1.3 and 4.0.10 (open source); 4.1.2.1, 4.0.9.1, 3.5.18, 3.4.19 and 2.7.36 (enterprise support only).
- SeverityCritical per Spring, which publishes no number. CVSS 3.1 base score 9.1 in the CVE record filed by the VMware CNA. NVD lists the record as "Received" and has not scored it.
- ExploitedNot known. The advisory says nothing about exploitation and the CVE is not in the CISA KEV catalogue.
1. What CVE-2026-59414 is
Spring Boot ships helper classes that build Spring Security request matchers for its own web paths: EndpointRequest for Actuator endpoints, shown inside a SecurityFilterChain in the Actuator documentation, and PathRequest for "resources in commonly used locations" per the Spring Security documentation. Spring Boot's own auto-configuration uses the same helpers.
The advisory says only that matchers created by these classes "may not correctly handle paths with trailing slashes", which "may prevent security matching rules from having the intended effect and leave a path unintentionally unsecured". It links CWE-647, use of non-canonical URL paths for authorization decisions. The fix, commit a540dafa of 13 November 2026 on the 4.1.x branch, is titled "Normalize paths when creating request matchers". It adds a shared PathPattern utility for "patterns based on user supplied paths" and changes the servlet and reactive EndpointRequest, the servlet PathRequest and the H2 console auto-configuration.
tldrcve and the HeroDevs directory entry read the fix the same way: the matchers appended /** to a configured path without removing a trailing slash, so a setting such as spring.h2.console.path=/custom/ produced a double-slash pattern that matched nothing, and the path fell through to whatever the rest of the chain allowed. The HeroDevs November roundup gives a looser example, a rule on /actuator/env that does not cover /actuator/env/. The advisory confirms neither reading and does not list triggering configurations.
An attacker needs network access and no credentials, and gets whatever the unprotected path serves: Actuator data such as environment variables or heap dumps if exposed, or an H2 console. The CVSS vector rates confidentiality and integrity impact as high and availability as none.
2. Impact: who is exposed and how badly
Exposed deployments are those whose access rules depend on the affected helpers: a custom SecurityFilterChain that calls EndpointRequest or PathRequest, or auto-configuration that uses them, such as an enabled H2 console. The write-ups point at user-supplied paths with trailing slashes: management.endpoints.web.base-path, management.endpoints.web.path-mapping.*, management.endpoint.health.group.<name>.additional-path and spring.h2.console.path, documented on the monitoring, endpoints and SQL reference pages. HeroDevs says "the risk depends on how an application's security rules are configured".
The worst realistic outcome is unauthenticated access to Actuator endpoints or the H2 console. By default only /health is exposed over HTTP, so the damage grows where management.endpoints.web.exposure.include was widened to env, heapdump or loggers. The H2 console is auto-configured only with developer tools present or spring.h2.console.enabled=true, and the docs say it must not be enabled in production.
Who is NOT affected: applications on 4.1.3, 4.0.10 or an enterprise fix release, and applications without Spring Security on the classpath, which have no rules to bypass. The advisory does not say whether apps with no trailing slash in any configured path are safe.
| 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 |
| 3.0.x to 3.4.x | 3.0.0 to 3.4.18 | none | 3.4.19 | OSS support ended 31 Dec 2025 |
| 2.7.x and older | 2.7.35 and earlier | none | 2.7.36 | OSS support ended 30 Jun 2023 |
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. tldrcve says Spring Boot 4.2.0 also contains the fix; the advisory does not list it.
Spring Boot is a build dependency, not an OS package, so there are no distribution packages or official image tags to track. GitHub Advisory Database and OSV had no entry on 2 December 2026.
3. How to check if you are affected
- Find the Spring Boot version in each build.
# 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-'
Any result in the affected column of the table above 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 Gradle.
- Check the running container image. Find the jar without starting the app; the default startup banner also prints the version in the log.
docker run --rm --entrypoint sh IMAGE -c 'find / -name "spring-boot-[0-9]*.jar" 2>/dev/null'
docker logs CONTAINER 2>&1 | grep 'Spring Boot'
- List images across Kubernetes and ECS, then repeat step 2 per image.
kubectl get pods -A -o jsonpath='{range .items[*]}{.spec.containers[*].image}{"\n"}{end}' | sort -u
aws ecs describe-task-definition --task-definition TASK_DEF --query 'taskDefinition.containerDefinitions[].image'
A Spring Boot function on Lambda carries the same jar in its zip or image; check its build the same way.
- Check whether Spring Security and the helpers are in play.
./mvnw dependency:tree | grep -E 'spring-security|spring-boot-actuator|spring-boot-h2console'
grep -rnE 'EndpointRequest|PathRequest' src/main
No Spring Security means nothing to bypass. A match for either class, or an Actuator or H2 console dependency, means your rules depend on the affected code.
- Look for configured paths, especially ones ending in a slash. Include profile files and environment variables passed to the container.
grep -rnE 'management\.endpoints\.web\.(base-path|path-mapping)|additional-path|spring\.h2\.console\.(path|enabled)' src/main/resources
A trailing slash on any of these is the trigger the write-ups describe. Its absence does not prove safety; the advisory does not say so.
- Confirm from outside. Request an Actuator endpoint that should require login, with and without a trailing slash, without credentials. A 401 or a login page on both means the rule holds. Content on either means it does not. Test only systems you own.
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 prefer 4.1.3 if you can. 3.5.x, 3.4.x and 2.7.x have no open-source fix: take 3.5.18, 3.4.19 or 2.7.36 through Spring enterprise support, or upgrade to 4.1.3.
- 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.
- Confirm the new artefact. Repeat the
unzip -lcommand from check step 1 and expectspring-boot-4.1.3.jarorspring-boot-4.0.10.jar.
- Redeploy. Push the new image or jar and restart the workload. This changes the running service.
kubectl set image deployment/APP APP=REGISTRY/APP:NEW_TAG
aws ecs update-service --cluster CLUSTER --service SERVICE --force-new-deployment
- Confirm the running process. Read the version from the startup banner in the new container's log, and repeat check step 6. A protected endpoint must answer 401 with and without the trailing slash.
5. If you cannot patch today
The advisory gives no workaround. Its mitigation section says only that users "should upgrade to the corresponding fixed version" and that "no further mitigation steps are necessary" after that.
Not from the vendor: tldrcve suggests removing trailing slashes from the configured paths in check step 5, because the fix "only strips that slash". Test that against your own endpoints. Generic exposure cuts: keep management.endpoints.web.exposure.include at its default, keep spring.h2.console.enabled off in production, serve Actuator on a management port the internet cannot reach, and restrict the application by network until it is rebuilt.
6. How to tell if you were already hit
Neither the advisory nor the CVE record publishes indicators, and there is no public report of exploitation at the time of writing. Review access logs for unauthenticated requests to /actuator/ paths and the H2 console path, especially ones ending in a trailing slash where your clients send none. The general pattern after an authorization bypass is that attackers read credentials through an environment or heap dump endpoint and use them elsewhere. If those endpoints 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, covers this CVE only partly. Java is not on its default product list, and Maven and Gradle builds are not among the manifests it maps, so it would not match this CVE to a Spring Boot application or open a fix pull request for it. It is AWS only, so Kubernetes clusters elsewhere are out of scope.
What it does answer is the inventory question. Its map records the image each ECS task definition runs, what each Dockerfile installs, and whether the workload faces the internet. That is check step 3 in one query for the AWS part of an estate; the Spring Boot version inside the jar still needs the per-image check in step 2.
The fix is the kind of change a patch pull request can make: a single version pin in a build file, verified by the repository's CI and the image build. Compass does not make that edit for Maven or Gradle today, so here the pull request is a person's job.
For the window before the fix lands, a decoy AWS key in the task's environment is a tripwire for anyone who reaches an unprotected env endpoint. On a trip, Compass restarts the ECS task or deactivates the key, with snapshot, audit entry and rollback, gated by policy. A honeytoken only catches an attacker who touches the decoy, and a restart does not fix the vulnerability. Our 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-59414
- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-59414
- CVE JSON record: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/59xxx/CVE-2026-59414.json
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-59414
- Spring Boot fix commit, 4.1.x: https://github.com/spring-projects/spring-boot/commit/a540dafae61eeb1312d7b9baa985be6cbc6914ff
- 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 reference, Actuator endpoints and security: https://docs.spring.io/spring-boot/reference/actuator/endpoints.html
- Spring Boot reference, management endpoint paths: https://docs.spring.io/spring-boot/reference/actuator/monitoring.html
- Spring Boot reference, Spring Security: https://docs.spring.io/spring-boot/reference/web/spring-security.html
- Spring Boot reference, H2 web console: https://docs.spring.io/spring-boot/reference/data/sql.html
- 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
- tldrcve, Spring Boot slash: https://tldrcve.com/spring-boot-slash/
- HeroDevs vulnerability directory: https://www.herodevs.com/vulnerability-directory/cve-2026-59414
- HeroDevs, Spring security advisories November 2026: https://www.herodevs.com/blog-posts/spring-security-advisories-november-2026-cve-roundup
- 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-647: https://cwe.mitre.org/data/definitions/647.html
9. FAQ
Am I affected by CVE-2026-59414 if my Spring Boot app has no custom security configuration?
Possibly. Spring Boot's own auto-configuration uses the EndpointRequest and PathRequest helpers, and the fix commit changes the H2 console auto-configuration too. If Spring Security is not on the classpath there is nothing to bypass. Otherwise treat any affected version as exposed and upgrade.
Which Spring Boot version fixes CVE-2026-59414?
Spring Boot 4.1.3 and 4.0.10 are the open-source fixes, on Maven Central since 19 November 2026. 4.1.2.1, 4.0.9.1, 3.5.18, 3.4.19 and 2.7.36 are enterprise-support releases.
Is CVE-2026-59414 being exploited?
Not that anyone has reported. The 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, so treat an exposed app as urgent regardless.
Is there a workaround for CVE-2026-59414 without upgrading?
Spring documents none. Third-party write-ups suggest removing trailing slashes from configured Actuator and H2 console paths, since the fix normalises those paths. Default Actuator exposure and a disabled H2 console limit what an unprotected path can reveal.
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