PoC Monitor
← All CVEs
CVE-2026-22747published 22 Apr 2026 05:08 UTCData: JSON · API

Spring Security

Unauthorized User Impersonation when Using X.509 Client Certificates

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. This issue affects Spring Security: from 7.0.0 through 7.0.4.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub · +1 suspicious, not counted
CVSS8.1high · scored by NVD · CWE-297
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Spring Spring Security
  • >= 7.0.0, <= 7.0.4
org.springframework.security:spring-security-web (Maven)
  • >= 7.0.0, < 7.0.5

Fixed in 7.0.5

from GitHub Security Advisory GHSA-2jrg-rf5x-568g

Mitigation

Upgrade org.springframework.security:spring-security-web to 7.0.5 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 pending · 1 suspicious or fake

Pending 1
RepositoryCreatedStarsAssessment
gsadagopan/cve-2026-22747-sandbox 9 Aug 2026 +110 d 0 Pending · repository exceeds size limit
Suspicious or fake 1
RepositoryCreatedFound by usStarsAssessment
yakissa/CVE-2026-22747 19 Oct 2026 +180 d 14 Nov 2026 0 Suspicious · score 100
Why suspicious
  • pipes a download into a shell / encoded PowerShell in README.md
  • README asks to download a release/binary/archive
  • contains archives (victoralice.zip)

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.