---
id: CVE-2024-4540
title: A flaw was found in Keycloak in OAuth 2.0 Pushed Authorization Requests (PAR)
summary: >-
  A flaw was found in Keycloak in OAuth 2.0 Pushed Authorization Requests (PAR).
  Client-provided parameters were found to be included in plain text in the
  KC_RESTART cookie returned by the authorization server's HTTP response to a
  `request…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-312
published: '2024-06-03'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T17:16:39.943'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-4540'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:3566'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3567'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3568'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3570'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3572'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3573'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3574'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3575'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3576'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-4540'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2279303'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:3566'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3567'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3568'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3570'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3572'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3573'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3574'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3575'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:3576'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/security/cve/CVE-2024-4540'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2279303'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00551
epssPercentile: 0.44389
ingestedAt: '2026-10-09T18:07:39.401Z'
---

## Overview

A flaw was found in Keycloak in OAuth 2.0 Pushed Authorization Requests (PAR). Client-provided parameters were found to be included in plain text in the KC_RESTART cookie returned by the authorization server's HTTP response to a `request_uri` authorization request, possibly leading to an information disclosure vulnerability.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
