Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 78%

CVE-2026-22747: Vulnerability in Spring Spring Security

0
Medium
VulnerabilityCVE-2026-22747cvecve-2026-22747
Published: 04/22/2026 (04/22/2026, 05:08:41 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Security

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.

CVSS v3.1

Score 6.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

org.springframework.security/spring-security-core
pkg:maven/org.springframework.security/spring-security-core
Affected versions
=7.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:34:10 UTC

Technical Analysis

The vulnerability in Spring Security affects the SubjectX500PrincipalExtractor, which does not correctly process certain malformed Common Name (CN) values in X.509 certificates. This improper handling can result in the extraction of an incorrect username from the certificate. An attacker who crafts a malicious certificate exploiting this flaw may be able to impersonate another user within the system. The issue impacts Spring Security versions from 7.0.0 through 7.0.4. The CVSS v3.1 base score is 6.8, indicating a medium severity with network attack vector, high complexity, low privileges required, no user interaction, and high confidentiality and integrity impact but no availability impact. No official patch or remediation level is indicated in the provided data. The Red Hat advisory URL is provided but does not explicitly state patch availability or mitigation steps.

Potential Impact

An attacker can exploit this vulnerability by presenting a specially crafted X.509 certificate with malformed CN values to cause the system to read an incorrect username. This can lead to impersonation of another user, compromising confidentiality and integrity of user identity within affected Spring Security applications. There is no indication of availability impact or known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-22747 for current remediation guidance. Until an official fix is available, avoid trusting certificates from untrusted sources and consider additional validation of certificate CN values in application logic if feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-01-09T06:55:03.990Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-22747","vendor":"Red Hat"}]

Threat ID: 69e8609e19fe3cd2cd714517

Added to database: 04/22/2026, 05:46:06 UTC

Last enriched: 07/15/2026, 08:34:10 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 223

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses