Before reporting an issue
Area
core
Describe the bug
Keycloak ships jackson-databind 2.21.2 (via Quarkus BOM 3.33.2.1). Two Medium-severity CVEs affect this version:
CVE-2026-59888 (CVSS 6.5): Java Records using a PropertyNamingStrategy can bypass @JsonIgnore because POJOPropertiesCollector._removeUnwantedIgnorals() records an ignored component under its original implicit name before _renameUsing() applies the naming strategy. Fixed in jackson-databind 2.21.4.
CVE-2026-59889 (CVSS 6.5): UnwrappedPropertyHandler.processUnwrapped() replays buffered JSON for a @JsonUnwrapped property without a prop.visibleInView() guard, allowing a property annotated with both @JsonView and @JsonUnwrapped to be written under a less-privileged active view. Fixed in jackson-databind 2.21.5.
The Quarkus BOM will not include jackson-databind >= 2.21.4 until Quarkus 3.36.1 (currently KC uses 3.33.2.1). An independent jackson-bom override resolves both CVEs without requiring a full Quarkus uplift.
Expected behavior
Keycloak should ship jackson-databind >= 2.21.5 to address both CVEs.
Proposed fix
Add a jackson-bom import in pom.xml <dependencyManagement> section before the quarkus-bom import (Maven first-wins for BOM-managed versions):
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>2.21.5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
This is a patch-level bump (2.21.2 → 2.21.5) within the same minor version. The jackson-databind 2.21.x changelog (2.21.3, 2.21.4, 2.21.5) contains only bug fixes and security fixes with no API-breaking changes.
Version
All versions shipping jackson-databind >= 2.15.0 and < 2.21.4 (CVE-2026-59888) or < 2.21.5 (CVE-2026-59889).
Before reporting an issue
Area
core
Describe the bug
Keycloak ships jackson-databind 2.21.2 (via Quarkus BOM 3.33.2.1). Two Medium-severity CVEs affect this version:
CVE-2026-59888 (CVSS 6.5): Java Records using a
PropertyNamingStrategycan bypass@JsonIgnorebecausePOJOPropertiesCollector._removeUnwantedIgnorals()records an ignored component under its original implicit name before_renameUsing()applies the naming strategy. Fixed in jackson-databind 2.21.4.CVE-2026-59889 (CVSS 6.5):
UnwrappedPropertyHandler.processUnwrapped()replays buffered JSON for a@JsonUnwrappedproperty without aprop.visibleInView()guard, allowing a property annotated with both@JsonViewand@JsonUnwrappedto be written under a less-privileged active view. Fixed in jackson-databind 2.21.5.The Quarkus BOM will not include jackson-databind >= 2.21.4 until Quarkus 3.36.1 (currently KC uses 3.33.2.1). An independent jackson-bom override resolves both CVEs without requiring a full Quarkus uplift.
Expected behavior
Keycloak should ship jackson-databind >= 2.21.5 to address both CVEs.
Proposed fix
Add a jackson-bom import in
pom.xml<dependencyManagement>section before the quarkus-bom import (Maven first-wins for BOM-managed versions):This is a patch-level bump (2.21.2 → 2.21.5) within the same minor version. The jackson-databind 2.21.x changelog (2.21.3, 2.21.4, 2.21.5) contains only bug fixes and security fixes with no API-breaking changes.
Version
All versions shipping jackson-databind >= 2.15.0 and < 2.21.4 (CVE-2026-59888) or < 2.21.5 (CVE-2026-59889).