CVE-2026-40976: Spring Boot Default Security Bypass Exposes Endpoints

CVE-2026-40976: Spring Boot Default Security Bypass Exposes Endpoints

A critical vulnerability, CVE-2026-40976, has been identified in Spring Boot, rated 9.1 CVSS (CRITICAL) by the National Vulnerability Database. This flaw allows unauthorized access to all endpoints due to ineffective default web security. The vulnerability impacts servlet-based web applications that rely solely on Spring Boot’s default web security filter chain, depend on spring-boot-actuator-autoconfigure, and do not include spring-boot-health in their dependencies.

Attackers can exploit this bypass to gain unfettered access to application endpoints, potentially leading to data exposure or unauthorized actions. The National Vulnerability Database specifies that applications are only vulnerable if all stated conditions are met. This isn’t a theoretical risk; it’s a direct security configuration failure that can be easily exploited by an adversary who understands the Spring Boot ecosystem.

Affected versions are Spring Boot 4.0.0 through 4.0.5. The immediate fix, as advised by the vendor, is to upgrade to Spring Boot 4.0.6 or later. For applications that cannot upgrade immediately, a robust, custom Spring Security configuration is essential to override the vulnerable default. Relying on default security without understanding its limitations is always a gamble, and this CVE proves it.

What This Means For You

  • If your organization uses Spring Boot, immediately check for applications meeting the specific vulnerability criteria outlined by the National Vulnerability Database. Prioritize patching to version 4.0.6 or later. For any applications that cannot be patched, implement a strong, custom Spring Security configuration to ensure all endpoints are properly protected. This isn't a 'maybe later' issue; it's a 'patch or get breached' scenario.

Related ATT&CK Techniques

🛡️ Detection Rules

3 rules · 6 SIEM formats

3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.

critical T1190 Initial Access

CVE-2026-40976: Spring Boot Default Security Bypass - Unauthenticated Access to Actuator Endpoints

Sigma YAML — free preview
title: CVE-2026-40976: Spring Boot Default Security Bypass - Unauthenticated Access to Actuator Endpoints
id: scw-2026-04-28-ai-1
status: experimental
level: critical
description: |
  Detects unauthenticated access to Spring Boot Actuator endpoints (e.g., /actuator/health, /actuator/info, /actuator/metrics) which are exposed due to the default security bypass in Spring Boot versions 4.0.0-4.0.5. This rule specifically targets the common pattern of accessing these sensitive endpoints without authentication, indicating a potential exploitation of CVE-2026-40976.
author: SCW Feed Engine (AI-generated)
date: 2026-04-28
references:
  - https://shimiscyberworld.com/posts/nvd-CVE-2026-40976/
tags:
  - attack.initial_access
  - attack.t1190
logsource:
    category: webserver
detection:
  selection:
      cs-uri|startswith:
          - '/actuator/'
      cs-method:
          - 'GET'
          - 'POST'
      sc-status:
          - '200'
      condition: selection
falsepositives:
  - Legitimate administrative activity

Source: Shimi's Cyber World · License & reuse

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-40976 Auth Bypass Spring Boot 4.0.0-4.0.5
CVE-2026-40976 Auth Bypass Servlet-based web application with no Spring Security configuration
CVE-2026-40976 Auth Bypass Dependency on spring-boot-actuator-autoconfigure
CVE-2026-40976 Auth Bypass No dependency on spring-boot-health
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedApril 28, 2026 at 03:16 UTC

This content was AI-rewritten and enriched by Shimi's Cyber World based on the original source. All intellectual property rights remain with the original author.

Believe this infringes your rights? Submit a takedown request.

Related coverage

CVE-2026-7218: Totolink N300RT Buffer Overflow Exploited Remotely

CVE-2026-7218 — A vulnerability was detected in Totolink N300RT 3.4.0-B20250430. The impacted element is the function is_cmd_string_valid of the file /boafrm/formWsc of the component libapmib.so....

vulnerabilityCVEhigh-severitybuffer-overflowcwe-119cwe-120
/SCW Vulnerability Desk /HIGH /7.2 /⚑ 3 IOCs /⚙ 5 Sigma

CVE-2026-7217 — Deepractice PromptX Path Traversal

CVE-2026-7217 — A security vulnerability has been detected in Deepractice PromptX up to 2.4.0. The affected element is the function read_docx/read_xlsx/read_pptx/list_xlsx_sheets/read_pdf of the file packages/mcp-office/src/index.ts...

vulnerabilityCVEmedium-severitypath-traversalcwe-22cwe-36
/SCW Vulnerability Desk /MEDIUM /5.3 /⚑ 3 IOCs /⚙ 3 Sigma

CVE-2026-7216: donchelo processing-claude-mcp-bridge Path Traversal

CVE-2026-7216 — A weakness has been identified in donchelo processing-claude-mcp-bridge up to e017b20a4b592a45531a6392f494007f04e661bd. Impacted is an unknown function of the file processing_server.py of the component...

vulnerabilityCVEhigh-severitypath-traversalcwe-22
/SCW Vulnerability Desk /HIGH /7.3 /⚑ 4 IOCs /⚙ 3 Sigma