Keycloak: path transversal in redirection validation

Summary

CVECVE-2024-1132
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-04-17 14:15:07 UTC
Updated2026-08-04 18:16:40 UTC
DescriptionA flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. This issue could allow an attacker to construct a malicious request to bypass validation and access other URLs and sensitive information within the domain or conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field, and requires user interaction within the malicious URL.

Risk And Classification

Primary CVSS: v3.1 8.1 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Problem Types: CWE-22 | CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
3.1CNACVSS8.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Build Of Keycloak - All All All
Application Redhat Jboss Middleware Text-only Advisories 1.0 All All All
Application Redhat Keycloak All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Migration Toolkit For Runtimes 1 On RHEL 8 unaffected 1.2-23 * rpm Not specified
CNA Red Hat Migration Toolkit For Runtimes 1 On RHEL 8 unaffected 1.2-15 * rpm Not specified
CNA Red Hat Migration Toolkit For Runtimes 1 On RHEL 8 unaffected 1.2-16 * rpm Not specified
CNA Red Hat Migration Toolkit For Runtimes 1 On RHEL 8 unaffected 1.2-14 * rpm Not specified
CNA Red Hat MTA-6.2-RHEL-9 unaffected 6.2.3-2 * rpm Not specified
CNA Red Hat Red Hat AMQ Broker 7 Not specified Not specified
CNA Red Hat Red Hat AMQ Broker 7 Not specified Not specified
CNA Red Hat Red Hat AMQ Broker 7 Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22.0.10-1 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-13 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-16 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22.0.10 Not specified Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 7 unaffected 0:18.0.13-1.redhat_00001.1.el7sso * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 8 unaffected 0:18.0.13-1.redhat_00001.1.el8sso * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 9 unaffected 0:18.0.13-1.redhat_00001.1.el9sso * rpm Not specified
CNA Red Hat RHEL-8 Based Middleware Containers unaffected 7.6-46 * rpm Not specified
CNA Red Hat RHSSO 7.6.8 Not specified Not specified
CNA Red Hat Red Hat Build Of Apicurio Registry 2 Not specified Not specified
CNA Red Hat Red Hat Build Of Quarkus Not specified Not specified
CNA Red Hat Red Hat Build Of Quarkus Not specified Not specified
CNA Red Hat Red Hat Data Grid 8 Not specified Not specified
CNA Red Hat Red Hat Decision Manager 7 Not specified Not specified
CNA Red Hat Red Hat Fuse 7 Not specified Not specified
CNA Red Hat Red Hat JBoss Data Grid 7 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 6 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
CNA Red Hat Red Hat Process Automation 7 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2024:3919 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:3989 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Vendor Advisory
access.redhat.com/errata/RHSA-2024:1864 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1866 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1860 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1862 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1868 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:3752 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:3762 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1861 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:1867 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/security/cve/CVE-2024-1132 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2024:2945 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Axel Flamcourt for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2024-01-31T00:00:00.000ZReported to Red Hat.
CNA2024-04-16T00:00:00.000ZMade public.

Workarounds

CNA: No current mitigation is available for this vulnerability.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report