6.5Medium

CVE-2026-59889jackson-databind: @JsonView ypassed for @JsonUnwrapped container properties on deserialization

FasterXML jackson-databind Published: (4 months ago)

Description

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.18.0 until 2.18.9, 2.21.5, 2.22.1, 3.1.5, and 3.2.1, UnwrappedPropertyHandler.processUnwrapped() replays buffered JSON for a @JsonUnwrapped property and calls prop.deserializeAndSet() without a prop.visibleInView(ctxt.getActiveView()) guard, allowing a property annotated with both @JsonView and @JsonUnwrapped to be written from attacker JSON under a less-privileged active view. This issue is fixed in versions 2.18.9, 2.21.5, 2.22.1, 3.1.5, and 3.2.1.

Weakness (CWE): CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
FasterXML jackson-databind >= 2.0.0-RC1, < 2.18.9, >= 2.19.0, < 2.21.5, >= 2.22.0, < 2.22.1, >= 3.0.0, < 3.1.5, >= 3.2.0, < 3.2.1

References and patches