Review reviewHigh

CVE-2026-22747

Spring Spring Security, OpenShift Developer Tools and Services, Red Hat build of Apache Camel for Spring Boot 4

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.

CVSS
8.1
EPSS
0.30%
21.9% percentile
CISA KEV
Not listed
Published
2026.04.22
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.30%
Technical severityCVSS 8.1

Vulnerability overview

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.

Affected product and versions

Product
Spring Spring Security, OpenShift Developer Tools and Services, Red Hat build of Apache Camel for Spring Boot 4
Affected versions
>= 7.0.0 <= 7.0.4, >= 7.0.0 < 7.0.5
Fixed versions
7.0.5

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Spring Spring Security, OpenShift Developer Tools and Services, Red Hat build of Apache Camel for Spring Boot 4 and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CWE
CWE-295, CWE-297