{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.0.5"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "1d99a7fb14c62354cac00412cce2071892cdf465"
            },
            {
              "fixed": "53bc6a77963209bb2a5f3efdd855b1f4a8051cc3"
            }
          ],
          "repo": "https://github.com/spring-projects/spring-security",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "vmware",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22747.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "7.0.0"
          },
          {
            "last_affected": "7.0.4"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "7.0.0"
          },
          {
            "fixed": "7.0.4"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong value for the username. In a carefully crafted certificate, this can lead to an attacker impersonating another user.\nThis issue affects Spring Security: from 7.0.0 through 7.0.4.",
  "id": "CVE-2026-22747",
  "modified": "2026-07-16T03:31:02.007585503Z",
  "published": "2026-04-22T05:08:41.318Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json"
    },
    {
      "type": "WEB",
      "url": "https://spring.io/security/cve-2026-22747"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-22747"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22747.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22747"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460487"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Unauthorized User Impersonation when Using X.509 Client Certificates"
}