Bug 2495204

Summary: CVE-2026-54512 jackson-jaxrs-providers: jackson-databind: Arbitrary code execution via PolymorphicTypeValidator bypass [fedora-all]
Product: [Fedora] Fedora Reporter: Jon Moroney <jmoroney>
Component: jackson-jaxrs-providersAssignee: Endi Sukma Dewata <edewata>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: ckelley, edewata, java-sig-commits, mfargett
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["f81b3481-0d9d-48dd-9087-c22d67b3a578"]}
Fixed In Version: jackson-jaxrs-providers-2.21.5-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-14 20:44:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2492015    

Description Jon Moroney 2026-06-30 20:48:27 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.10.0 until 2.18.8, 2.21.4, and 3.1.4, jackson-databind's PolymorphicTypeValidator (PTV) is the primary safety mechanism guarding polymorphic deserialization. When polymorphic typing is enabled and a type identifier contains generic parameters (i.e. the type ID string contains <), DatabindContext._resolveAndValidateGeneric() validates only the raw container class name (the substring before <) against the configured PTV. If the container type is approved, the method parses the full canonical type string via TypeFactory.constructFromCanonical() and returns the fully parameterized type without ever validating the nested type arguments against the PTV. The nested type arguments are then resolved, instantiated, and populated as beans during deserialization. An attacker who controls the type ID can therefore place a denied class as a generic type parameter of an allowed container — for example java.util.ArrayList<com.evil.Gadget> when only java.util.ArrayList is allow-listed. The container passes the PTV check; com.evil.Gadget is loaded via Class.forName(name, true, loader), instantiated, and its properties are set from attacker-controlled JSON. This completely bypasses an explicitly configured PTV allow-list. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4.

Comment 1 Fedora Update System 2026-07-14 20:39:20 UTC
FEDORA-2026-ddde3cf003 (fasterxml-oss-parent-75-1.fc45, jackson-annotations-2.21-6.fc45, and 6 more) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ddde3cf003

Comment 2 Fedora Update System 2026-07-14 20:44:59 UTC
FEDORA-2026-ddde3cf003 (fasterxml-oss-parent-75-1.fc45, jackson-annotations-2.21-6.fc45, and 6 more) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.