原始 OSV JSON{
"id": "GHSA-293q-567p-wmwq",
"aliases": [
"CVE-2026-47838"
],
"details": "In Spring Security Web, `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\n`SubjectDnX509PrincipalExtractor` is deprecated by this CVE and replaced with `SubjectX500PrincipalExtractor`. As part of updating, you should also migrate to `SubjectX500PrincipalExtractor`.\n\nAffected versions:\nSpring Security Enterprise 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. \nOSS 6.5.0 through 6.5.10.",
"summary": "Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.11"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-web",
"ecosystem": "Maven"
},
"database_specific": {
"last_known_affected_version_range": "<= 6.5.10"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.4.0"
},
{
"last_affected": "6.4.13"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-web",
"ecosystem": "Maven"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"last_affected": "6.3.10"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-web",
"ecosystem": "Maven"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.8.0"
},
{
"last_affected": "5.8.16"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-web",
"ecosystem": "Maven"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.7.14"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-web",
"ecosystem": "Maven"
}
}
],
"modified": "2026-06-30T21:35:09Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"published": "2026-06-10T00:31:53Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47838",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-2jrg-rf5x-568g",
"type": "ADVISORY"
},
{
"url": "https://spring.io/security/cve-2026-47838",
"type": "WEB"
},
{
"url": "spring-projects/spring-security",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-287"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-06-10T00:16:54Z",
"github_reviewed_at": "2026-06-30T21:35:09Z"
}
}