{
  "id": "CVE-2026-22747",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22747",
  "published_at": "2026-04-22T05:08:41.318Z",
  "title": "Unauthorized User Impersonation when Using X.509 Client Certificates",
  "vendor": "Spring",
  "product": "Spring Security",
  "cvss": {
    "score": 8.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-297",
  "cpes": [
    "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.8,
    "nvd": 8.1
  },
  "repos": [
    {
      "repo": "gsadagopan/cve-2026-22747-sandbox",
      "url": "https://github.com/gsadagopan/cve-2026-22747-sandbox",
      "created_at": "2026-08-09T17:08:46Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2017-10-05T04:39:07Z"
    },
    {
      "repo": "yakissa/CVE-2026-22747",
      "url": "https://github.com/yakissa/CVE-2026-22747",
      "created_at": "2026-10-19T13:43:23Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 100,
      "suspicious": true,
      "suspicion_reasons": [
        "pipes a download into a shell / encoded PowerShell in README.md",
        "README asks to download a release/binary/archive",
        "contains archives (victoralice.zip)"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-05-10T17:52:45Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Spring",
        "product": "Spring Security",
        "ranges": [
          "\u003e= 7.0.0, \u003c= 7.0.4"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "org.springframework.security:spring-security-web",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.0.5"
        ],
        "fixed_in": [
          "7.0.5"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-2jrg-rf5x-568g"
      }
    ],
    "upgrade": [
      "Upgrade org.springframework.security:spring-security-web to 7.0.5 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
