Live threats

All CVEs / Redhat

CVE-2021-3856Redhat Keycloak

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
Yes
Published
Aug 26, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-552, CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-core < 15.1.0 15.1.0 —

Per OSV / GitHub Advisories (GHSA-3w4v-rvc4-2xpw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatkeycloak< 15.1.0

Official sources

References

Links published by the sources. Open them with care.