Spring Boot
In certain circumstances, Spring Boot's default web security is ineffective allowing unauthorized access to all endpoints. For an application to be vulnerable, it must: be a servlet-based web application; have no Spring Security configuration of its own and rely on the default web security filter chain; depend on spring-boot-actuator-autoconfigure; not depend on spring-boot-health. If any of the above does not apply, the application is not vulnerable. Affected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later per vendor advisory.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0, < 4.0.6
Fixed in 4.0.6
Mitigation
Upgrade Spring Boot to 4.0.6 or later.
Timeline
Days relative to CVE publicationFirst public PoC 128 days after publication; not in CISA KEV. First PoC: madebyrokit/CVE-2026-40976-POC (created 3 Sep 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| madebyrokit/CVE-2026-40976-POC | 3 Sep 2026 +128 d | 0 | PoC |
| madebyrokit/cve_2026_40976 | 3 Sep 2026 +128 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /actuator/env
- Ports
- 10018
- Seen in
- 2 repos: madebyrokit/CVE-2026-40976-POC, madebyrokit/cve_2026_40976
- Evidence
- madebyrokit/CVE-2026-40976-POC/poc.py:9 madebyrokit/cve_2026_40976/poc.py:9
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/actuator/env(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [10018] (msg:"GG PoC-Monitor CVE-2026-40976 Spring Spring Boot exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/actuator/env"; reference:url,poc.griffinguard.io/cve/CVE-2026-40976; classtype:web-application-attack; sid:9721633; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Spring Spring Boot exploit attempt (CVE-2026-40976)
id: gg-pocmon-cve-2026-40976-9721633
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40976. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40976
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/actuator/env'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.40976