CVE-2026-22747
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.249% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.8 · published by vmwareCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Assessment source · checked 2026-11-19T19:05:30.318Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:30.318Z | CVE Program |
| epss | verified | 2026-11-19T20:08:15.543Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:42.986Z | OSV |
| affected | verified | 2026-11-19T19:05:30.318Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:30.318Z | CVE Program |
Affected versions and configuration
Spring Spring Security; default status: unaffected: 7.0.0 to ≤ 7.0.4 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Spring",
"product": "Spring Security",
"versions": [
{
"status": "affected",
"version": "7.0.0",
"versionType": "custom",
"lessThanOrEqual": "7.0.4"
}
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-22747",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-22T00:00:00+00:00"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-297",
"description": "CWE-297 Improper Validation of Certificate with Host Mismatch"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-23T03:56:11.308Z"
}
},
{
"title": "Spring Security: Spring Security: User impersonation via malformed X.509 certificate Common Name (CN) values",
"metrics": [
{
"other": {
"type": "Red Hat severity rating",
"content": {
"value": "Important",
"namespace": "https://access.redhat.com/security/updates/classification/"
}
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
}
],
"affected": [
{
"cpes": [
"cpe:/a:redhat:ocp_tools"
],
"vendor": "Red Hat",
"product": "OpenShift Developer Tools and Services",
"packageName": "jenkins",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:ocp_tools"
],
"vendor": "Red Hat",
"product": "OpenShift Developer Tools and Services",
"packageName": "ocp-tools-4/jenkins-rhel8",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:ocp_tools"
],
"vendor": "Red Hat",
"product": "OpenShift Developer Tools and Services",
"packageName": "ocp-tools-4/jenkins-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:camel_spring_boot:4"
],
"vendor": "Red Hat",
"product": "Red Hat build of Apache Camel for Spring Boot 4",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:apache_camel_hawtio:4"
],
"vendor": "Red Hat",
"product": "Red Hat build of Apache Camel - HawtIO 4",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:quarkus:3"
],
"vendor": "Red Hat",
"product": "Red Hat build of Quarkus",
"packageName": "quarkus-spring-security-core-api",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jboss_data_grid:8"
],
"vendor": "Red Hat",
"product": "Red Hat Data Grid 8",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jboss_fuse:7"
],
"vendor": "Red Hat",
"product": "Red Hat Fuse 7",
"packageName": "org.apache.servicemix.bundles.spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jboss_fuse:7"
],
"vendor": "Red Hat",
"product": "Red Hat Fuse 7",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jboss_enterprise_application_platform:7"
],
"vendor": "Red Hat",
"product": "Red Hat JBoss Enterprise Application Platform 7",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jboss_enterprise_application_platform:8"
],
"vendor": "Red Hat",
"product": "Red Hat JBoss Enterprise Application Platform 8",
"packageName": "quarkus-spring-security-core-api",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jboss_enterprise_application_platform:8"
],
"vendor": "Red Hat",
"product": "Red Hat JBoss Enterprise Application Platform 8",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jbosseapxp"
],
"vendor": "Red Hat",
"product": "Red Hat JBoss Enterprise Application Platform Expansion Pack",
"packageName": "quarkus-spring-security-core-api",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jbosseapxp"
],
"vendor": "Red Hat",
"product": "Red Hat JBoss Enterprise Application Platform Expansion Pack",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_devspaces:3"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift Dev Spaces",
"packageName": "devspaces/openvsx-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_devspaces:3"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift Dev Spaces",
"packageName": "devspaces/pluginregistry-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:jboss_enterprise_bpms_platform:7"
],
"vendor": "Red Hat",
"product": "Red Hat Process Automation 7",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:red_hat_single_sign_on:7"
],
"vendor": "Red Hat",
"product": "Red Hat Single Sign-On 7",
"packageName": "spring-security-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-04-22T06:01:05.499Z",
"value": "Reported to Red Hat."
},
{
"lang": "en",
"time": "2026-04-22T05:08:41.318Z",
"value": "Made public."
}
],
"x_adpType": "supplier",
"datePublic": "2026-04-22T05:08:41.318Z",
"references": [
{
"url": "https://access.redhat.com/security/cve/CVE-2026-22747",
"tags": [
"vdb-entry",
"x_refsource_REDHAT"
]
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460487",
"name": "RHBZ#2460487",
"tags": [
"issue-tracking",
"x_refsource_REDHAT"
]
},
{
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json",
"tags": [
"x_sadp-csaf-vex"
]
}
],
"x_generator": {
"engine": "sadp-cli 1.0.0"
},
"descriptions": [
{
"lang": "en",
"value": "A flaw was found in Spring Security. This vulnerability allows a remote attacker to impersonate another user. The SubjectX500PrincipalExtractor component incorrectly handles certain malformed X.509 certificate Common Name (CN) values, which can lead to the system reading an incorrect username. By presenting a carefully crafted certificate, an attacker can exploit this to gain unauthorized access."
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-295",
"description": "Improper Certificate Validation"
}
]
}
],
"providerMetadata": {
"orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"shortName": "redhat-SADP",
"dateUpdated": "2026-07-15T01:19:29.723Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-2jrg-rf5x-568g",
"aliases": [
"CVE-2026-22747"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.5"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-web",
"purl": "pkg:maven/org.springframework.security/spring-security-web",
"ecosystem": "Maven"
},
"versions": [
"7.0.0",
"7.0.1",
"7.0.2",
"7.0.3",
"7.0.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-2jrg-rf5x-568g/GHSA-2jrg-rf5x-568g.json",
"last_known_affected_version_range": "<= 7.0.4"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22747",
"type": "ADVISORY"
},
{
"url": "https://github.com/spring-projects/spring-security/commit/88118afb8f9357ae7cc215500a441e89fee701c3",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-security",
"type": "PACKAGE"
},
{
"url": "https://spring.io/security/cve-2026-22747",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-297"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-04-22T06:16:03Z",
"github_reviewed_at": "2026-04-29T20:44:36Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | org.springframework.security:spring-security-web | Not a distribution channel | 7.0.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:05:30.318ZArchived source JSON
Source publication: 2026-04-22T05:08:41.318Z
Source modification: 2026-07-15T01:19:29.723ZDocument fingerprint
595b012396094178853ea9477d82d0123f8de3abacc3bbd2ab24ffbe43191df1 - OSVConsulted: 2026-11-19T19:03:42.986ZArchived source JSON
Source publication: 2026-04-22T06:30:28.000Z
Source modification: 2026-09-10T03:50:42.356ZDocument fingerprint
bd480e64b13f8e75741890497f44538e915b67acb9106922b5b4edc3fc6b4930 - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T20:08:15.543ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ab98b7d9bca754e0346f7d5d573d887043a56b8474c9fa614297321fc8445e26
Official status history
- UNKNOWN → PUBLISHED · · evidence