Public vulnerability disclosure

CVE-2024-1132

Keycloak: path transversal in redirection validation

publishedCWE-22

A 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.

Technical severity8.1 highCVSS 3.1 · CNA: redhat
Published2024-04-17Source updated 2026-11-26
Collected2026-11-263 attributed sources

Fixes and workarounds

Workaround

No current mitigation is available for this vulnerability.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


keycloak
https://github.com/keycloak/keycloak
≥ 21.1.0; < 22.0.10 (affected, semver)
≥ 23.0.0; < 24.0.3 (affected, semver)
Other versions: unaffected
CNA: redhat
Migration Toolkit for Runtimes 1 on RHEL 8
Red Hat
mtr/mtr-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 1.2-23; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Migration Toolkit for Runtimes 1 on RHEL 8
Red Hat
mtr/mtr-rhel8-operator
https://catalog.redhat.com/software/containers/
≥ 1.2-15; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Migration Toolkit for Runtimes 1 on RHEL 8
Red Hat
mtr/mtr-web-container-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.2-16; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Migration Toolkit for Runtimes 1 on RHEL 8
Red Hat
mtr/mtr-web-executor-container-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.2-14; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
MTA-6.2-RHEL-9
Red Hat
mta/mta-windup-addon-rhel9
https://catalog.redhat.com/software/containers/
≥ 6.2.3-2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat AMQ Broker 7
Red Hat
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat AMQ Broker 7
Red Hat
keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat build of Keycloak 22
Red Hat
rhbk/keycloak-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 22.0.10-1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 22
Red Hat
rhbk/keycloak-rhel9
https://catalog.redhat.com/software/containers/
≥ 22-13; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 22
Red Hat
rhbk/keycloak-rhel9-operator
https://catalog.redhat.com/software/containers/
≥ 22-16; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 22.0.10
Red Hat
keycloak
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Single Sign-On 7.6 for RHEL 7
Red Hat
rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/
≥ 0:18.0.13-1.redhat_00001.1.el7sso; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Single Sign-On 7.6 for RHEL 8
Red Hat
rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/
≥ 0:18.0.13-1.redhat_00001.1.el8sso; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Single Sign-On 7.6 for RHEL 9
Red Hat
rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/
≥ 0:18.0.13-1.redhat_00001.1.el9sso; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rh-sso-7/sso76-openshift-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.6-46; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHSSO 7.6.8
Red Hat
rh-sso7-keycloak
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat build of Apicurio Registry 2
Red Hat
keycloak
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat build of Quarkus
Red Hat
keycloak-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Data Grid 8
Red Hat
wildfly-elytron-parent
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Decision Manager 7
Red Hat
keycloak
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Fuse 7
Red Hat
keycloak
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat JBoss Data Grid 7
Red Hat
keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat JBoss Enterprise Application Platform 6
Red Hat
keycloak
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html
Range not reported
Other versions: unknown
CNA: redhat
Red Hat JBoss Enterprise Application Platform 7
Red Hat
keycloak-core
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Process Automation 7
Red Hat
keycloak
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

NVD applicability configurations (1)

These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.

[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:jboss_middleware_text-only_advisories:1.0:*:*:*:*:middleware:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "22.0.10",
            "versionStartIncluding": "21.1.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "24.0.3",
            "versionStartIncluding": "23.0.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:migration_toolkit_for_applications:1.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:migration_toolkit_for_runtimes:-:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.9:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.10:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.9:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.10:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 8.1
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NCNA: redhat
3.1 / 8.1
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide