CVE-2026-59889

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

Published Jul 14, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is caused by a missing guard in the Jackson data binding library that allows an attacker to deserialize JSON data containing a property annotated with both @JsonView and @JsonUnwrapped. When, it ignores the visibility guard provided by the active view. This permits an attacker to write data to fields that should be protected by a less‑privileged view, effectively bypassing intended access controls and altering application state or data. The weakness is classified as CWE‑863, which relates to inadequate authorization checks that can lead to privilege escalation or data corruption.

Affected Systems

The flaw affects the FasterXML jackson-databind component. All releases prior to the patch versions 2.18.9, 2.21.5, 2.22.1, 3.1.5, and 3.2.1 are vulnerable. These include older 2.x releases, the early 3.x releases, and any deployment that has not been updated to a fixed revision.

Risk and Exploitability

The CVSS score of 6.5 denotes a medium to high severity. The EPSS score of less than 1 percent indicates that the exploitation probability is currently very low, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, if an attacker can supply JSON to the application, they could exploit this weakness by specifically targeting properties with @JsonUnwrapped that also carry a @JsonView annotation, thereby setting data that should be inaccessible under the active view. The attack vector is likely through any endpoint that accepts untrusted JSON input and employs Jackson for deserialization.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FasterXML jackson-databind to the latest patched releases (2.18.9, 2.21.5, 2.22.1, 3.1.5, or 3.2.1) to fix the vulnerability.
  • If an immediate upgrade is not possible, temporarily remove @JsonUnwrapped annotations from any property that also uses @JsonView, or refactor the code to enforce view visibility checks manually.
  • Implement strict JSON schema validation and verify that deserialization occurs only within the intended view context to prevent unintended field injection.

Generated by OpenCVE AI on July 31, 2026 at 05:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5gvw-p9qm-jgwh jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Fasterxml
Fasterxml jackson-databind
Vendors & Products Fasterxml
Fasterxml jackson-databind
Type Values Removed Values Added
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.
Title jackson-databind: @JsonView ypassed for @JsonUnwrapped container properties on deserialization
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 19, 2026, 7:32 PM
Reserved
Jul 7, 2026, 4:40 PM
Status
Awaiting Analysis
Published
Jul 14, 2026, 9:17 PM
Modified
Oct 24, 2026, 9:10 PM