{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.1.0"
              },
              {
                "fixed": "3.1.8"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "03e870960cc6f5b591bf16d3ad3897f0aa452cc7"
            },
            {
              "fixed": "bce4cbc3e388d270bca1593970637e2d58076565"
            }
          ],
          "repo": "https://github.com/spring-projects/spring-ws",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "vmware",
    "cwe_ids": [
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40995.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "5.0.0"
          },
          {
            "fixed": "5.0.1.1"
          },
          {
            "introduced": "4.1.0"
          },
          {
            "fixed": "4.1.3.1"
          },
          {
            "introduced": "4.0.0"
          },
          {
            "fixed": "4.0.19"
          },
          {
            "introduced": "3.1.0"
          },
          {
            "fixed": "3.1.9"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "5.0.0"
          },
          {
            "fixed": "5.0.1"
          },
          {
            "introduced": "4.1.0"
          },
          {
            "fixed": "4.1.3"
          },
          {
            "introduced": "4.0.0"
          },
          {
            "fixed": "4.0.18"
          },
          {
            "introduced": "3.1.0"
          },
          {
            "fixed": "3.1.8"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "X509AuthenticationProvider could issue a fully authenticated X509AuthenticationToken when a presented certificate mapped to UserDetails, without applying Spring Security's standard account lifecycle checks (disabled, locked, expired, or credentials-expired accounts).\n\nAffected versions:\nSpring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.",
  "id": "CVE-2026-40995",
  "modified": "2026-09-06T11:31:02.920994628Z",
  "published": "2026-06-11T05:04:01.695Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://spring.io/security/cve-2026-40995"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40995.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40995"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "X.509 authentication bypasses Spring Security account checks"
}