Every CVE Search/ Get API key

CVE-2023-0657

Keycloak: impersonation via logout token exchange

3.4 LowFix available

A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

Attack profile

How easy it is to exploit

Attack vector
Adjacent network
Complexity
High
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.30%Up 0.3 points since Nov 18, 2024
90%50%10%1%

What each source reports

CVE List Score used 3.4

Keycloak: impersonation via logout token exchange

A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

Record
CVE-2023-0657
CVSS 3.1
3.4 LowCVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-273
Updated
2026-11-02
EUVDEUVD-2024-1142 3.4

A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

Record
EUVD-2024-1142
CVSS 3.1
3.4 LowCVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-7fpj-9hr8-28vh 3.4

Keycloak vulnerable to impersonation via logout token exchange

Keycloak was found to not properly enforce token types when validating signatures locally. An authenticated attacker could use this flaw to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

Record
GHSA-7fpj-9hr8-28vh
CVSS 3.1
3.4 LowCVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-273, CWE-284, CWE-287, CWE-290, CWE-347
Updated
2026-11-02
NVD 3.4

A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

Record
CVE-2023-0657
CVSS 3.1
3.4 LowCVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-273
Updated
2026-11-02
OSV 3.4

Keycloak: impersonation via logout token exchange

A flaw was found in Keycloak. This issue occurs due to improperly enforcing token types when validating signatures locally. This could allow an authenticated attacker to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

Record
CVE-2023-0657
CVSS 3.1
3.4 LowCVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-273
Updated
2026-11-02
OSVGHSA-7fpj-9hr8-28vh 3.4

Keycloak vulnerable to impersonation via logout token exchange

Keycloak was found to not properly enforce token types when validating signatures locally. An authenticated attacker could use this flaw to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

Record
GHSA-7fpj-9hr8-28vh
CVSS 3.1
3.4 LowCVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-273, CWE-284, CWE-287, CWE-290, CWE-347
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.keycloak:keycloak-services
Maven
before 22.0.10
22.0.10
org.keycloak:keycloak-services
Maven
23.0.0 up to 24.0.3
24.0.3
org.keycloak:keycloak-services
Maven
before 22.0.10, plus listed versions
1.0-alpha-11.0-alpha-1-120620131.0-alpha-21.0-alpha-31.0-alpha-4
Show 45 moreShow less
1.0-beta-11.0-beta-1-201505211.0-beta-1-201505231.0-beta-21.0-beta-31.0-beta-41.0-final1.0-rc-11.0-rc-21.0.1.Final1.0.2.Final1.0.3.Final1.0.4.Final1.0.5.Final1.1.0.Beta11.1.0.Beta21.1.0.Final1.1.1.Final1.2.0.Beta11.2.0.CR11.2.0.Final1.3.0.Final1.3.1.Final1.4.0.Final1.5.0-Final1.5.0.Final1.5.1.Final1.6.0.Final1.6.1.Final1.7.0.CR11.7.0.Final1.8.0.Alpha11.8.0.CR11.8.0.CR21.8.0.CR31.8.0.Final1.8.1.Final1.9.0.CR11.9.0.Final1.9.1.Final1.9.2.Final1.9.3.Final1.9.4.Final1.9.5.Final1.9.7.Final
22.0.10
org.keycloak:keycloak-services
Maven
23.0.0 up to 24.0.3, plus listed versions
23.0.123.0.223.0.323.0.423.0.5
Show 5 moreShow less
23.0.623.0.724.0.024.0.124.0.2
24.0.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-0657 is a low vulnerability (CVSS 3.4) in Red Hat Build Of Keycloak 22, published April 17, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 22nd percentile. Fixed in org.keycloak:keycloak-services 22.0.10.

References

Show 5 moreShow less
This page doesn't list everything

Left out here: 110 versions. The JSON record has them.

MoveEnter Open