Advisory record · GHSA-2jrg-rf5x-568g

Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates

CVSS 6.8 MediumEPSS 0.0024 · 15th percentile

Published by the GitHub Advisory Database at 22 Apr 2026, 06:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.springframework.security:spring-security-webMaven>=7.0.0, <7.0.57.0.5
Identifiers
GHSA-2jrg-rf5x-568g · CVE-2026-22747
Weakness (CWE)
CWE-295 · CWE-297
Published
22 Apr 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Spring Security's spring-security-web package, versions 7.0.0 through 7.0.4, is vulnerable. SubjectX500PrincipalExtractor can read the wrong value for the username when a certificate has a malformed Common Name, so an attacker who presents a specially crafted X.509 client certificate can impersonate another user. The source does not describe the exact access an attacker needs beyond presenting such a certificate. Upgrade spring-security-web to version 7.0.5.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.8 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N CNA (vmware)
  • CISA KEV Not listed.
  • EPSS 0.0024, the 15th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:17 UTC First seen by agentprime
  2. 31 Oct 2026, 14:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.