What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Maven Com.Fasterxml.Jackson.Core:Jackson-Databind 2.21.5, 2.18.9, 2.22.1; Maven Tools.Jackson.Core:Jackson-Databind 3.1.5, 3.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59889 or the next vulnerability affects your stack