{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.0.6"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "1c0e08b4c434b0e77a83098267b2a0f5a3fc56d7"
            },
            {
              "fixed": "8821ad2cd381bb4b9615a61479e1de7305a8ba39"
            }
          ],
          "repo": "https://github.com/spring-projects/spring-boot",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "vmware",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40976.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "4.0.0"
          },
          {
            "fixed": "4.0.6"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.\n\nAffected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later per vendor advisory.",
  "id": "CVE-2026-40976",
  "modified": "2026-07-08T05:39:09.548094581Z",
  "published": "2026-04-27T23:34:51.422Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40976.json"
    },
    {
      "type": "WEB",
      "url": "https://spring.io/security/cve-2026-40976"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-40976"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40976.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40976"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2463322"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}