{
  "id": "CVE-2026-47838",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47838",
  "published_at": "2026-06-09T23:50:07.988Z",
  "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": 0,
  "edge_device": null,
  "description": "SubjectDnX509PrincipalExtractor 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.\n\nAffected versions:\nSpring Security 5.7.0 through 5.7.24; 5.8.0 through 5.8.26; 6.3.0 through 6.3.17; 6.4.0 through 6.4.17; 6.5.0 through 6.5.10.",
  "cwe": "CWE-287",
  "cpes": [
    "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.8,
    "nvd": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Spring",
        "product": "Spring Security",
        "ranges": [
          "\u003e= 5.7.0, \u003c 5.7.25",
          "\u003e= 5.8.0, \u003c 5.8.27",
          "\u003e= 6.3.0, \u003c 6.3.18",
          "\u003e= 6.4.0, \u003c 6.4.18",
          "\u003e= 6.5.0, \u003c 6.5.10.2"
        ],
        "fixed_in": [
          "5.7.25",
          "5.8.27",
          "6.3.18",
          "6.4.18",
          "6.5.10.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Spring Security to 5.7.25 or 5.8.27 or 6.3.18 or 6.4.18 or 6.5.10.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
