CVE-2026-54518

jackson-databind: @JsonView bypass for unwrapped creator parameters in jackson-databind

Published Jun 23, 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.21.0 until 2.21.4 and 3.1.4, UnwrappedPropertyHandler.processUnwrappedCreatorProperties() replays buffered JSON into creator parameters but never consults prop.visibleInView(activeView). The normal property-based creator path gates creator properties on the active view, but this unwrapped-creator replay path bypasses that check, so a constructor parameter annotated with both @JsonView(AdminView.class) and @JsonUnwrapped is populated from attacker JSON even when a more restrictive view is active. This vulnerability is fixed in 2.21.4 and 3.1.4.

Analysis

AI-generated

Technical impact

jackson-databind contains a flaw where unwrapped creator parameters annotated with @JsonView and @JsonUnwrapped are populated from incoming JSON regardless of the active view, bypassing the intended visibility restrictions. This allows an attacker to obtain data that should have been hidden, leading to unauthorized information disclosure. The weakness is classified as CWE-863 and CWE-639, reflecting an authorization bypass and unauthorized modification of data through user-controlled keys.

Affected Systems

The vulnerability affects FasterXML jackson-databind versions 2.21.0 through 2.21.3 and any releases prior to 3.1.4. The fix is included in jackson-databind 2.21.4 and 3.1.4 (and later). Systems using these libraries for JSON deserialization are at risk when “@JsonUnwrapped” is combined with “@JsonView”.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity. EPSS is < 1%, indicating a very low probability of exploitation, and the lack of a KEV listing suggests no widely known active exploits yet. The vulnerability can be triggered by crafting JSON payloads that include unwrapped properties; the deserialization process will deserialize them into constructor parameters without enforcing view visibility, potentially exposing sensitive data. The attack requires the attacker to supply a JSON document to an application that uses the vulnerable deserialization path, and succeeds even when a more restrictive view is activated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade jackson-databind to version 2.21.4 or later, or to 3.1.4 or later. This removes the bypass by ensuring that unwrapped creator properties respect “@JsonView” visibility constraints.
  • Review and refactor any use of @JsonUnwrapped in classes that also use @JsonView, or remove the “@JsonView” annotation on constructor parameters to eliminate the consult bypass.
  • Validate incoming JSON payloads against expected schemas or disable unwrapped deserialization where feasible to enforce strict view-based access control.

Generated by OpenCVE AI on July 1, 2026 at 12:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rcqc-6cw3-h962 jackson-databind has a @JsonView bypass for unwrapped creator parameters
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', '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.21.0 until 2.21.4 and 3.1.4, UnwrappedPropertyHandler.processUnwrappedCreatorProperties() replays buffered JSON into creator parameters but never consults prop.visibleInView(activeView). The normal property-based creator path gates creator properties on the active view, but this unwrapped-creator replay path bypasses that check, so a constructor parameter annotated with both @JsonView(AdminView.class) and @JsonUnwrapped is populated from attacker JSON even when a more restrictive view is active. This vulnerability is fixed in 2.21.4 and 3.1.4.
Title jackson-databind: @JsonView bypass for unwrapped creator parameters in jackson-databind
Weaknesses CWE-863
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 24, 2026, 3:32 PM
Reserved
Jun 15, 2026, 6:40 PM
Status
Analyzed
Published
Jun 23, 2026, 10:16 PM
Modified
Oct 25, 2026, 11:10 PM
Severity
Moderate
Public date
Jun 23, 2026, 9:02 PM