# CVE-2026-22747

> Vulnerability · severity: **MEDIUM** (CVSS 6.8).

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

## Key facts

- **CVE ID:** CVE-2026-22747
- **Published:** 2026-04-22
- **CVSS severity:** MEDIUM
- **CVSS base score:** 6.8
- **CWE codes:** CWE-297

## Affected products

- `vmware:spring_security`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-22747

## Citation

> AI Analytics. CVE-2026-22747. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-22747. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*