Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.fasterxml.jackson.core/jackson-databind
  4. ›
  5. CVE-2026-59889

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

July 21, 2026 (updated August 3, 2026)

UnwrappedPropertyHandler.processUnwrapped() replays the buffered JSON for a @JsonUnwrapped property by iterating its properties and calling prop.deserializeAndSet() with no prop.visibleInView(ctxt.getActiveView()) guard — the exact guard processUnwrappedCreatorProperties() received in the #5971 / GHSA-rcqc-6cw3-h962 fix, and the guard BeanDeserializer.deserializeWithUnwrapped applies to directly-matched properties. As a result, a property annotated with both @JsonView(PrivilegedView.class) and @JsonUnwrapped is written from attacker JSON even when deserializing under a more-restrictive active view.

Correction to the original framing (runtime-verified): the gap is NOT a per-field inner @JsonView (the unwrapped sub-object’s own BeanDeserializer gates inner fields correctly). The unchecked gate is the view of the unwrapped CONTAINER property.

References

  • github.com/FasterXML/jackson-databind/commit/d627a8a86fcb062429282f79f3f256f181ed2c7b
  • github.com/FasterXML/jackson-databind/issues/6060
  • github.com/FasterXML/jackson-databind/pull/6056
  • github.com/FasterXML/jackson-databind/security/advisories/GHSA-5gvw-p9qm-jgwh
  • github.com/advisories/GHSA-5gvw-p9qm-jgwh
  • nvd.nist.gov/vuln/detail/CVE-2026-59889

Code Behaviors & Features

Detect and mitigate CVE-2026-59889 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.18.0 before 2.18.9, all versions starting from 2.21.0 before 2.21.5, all versions starting from 2.22.0 before 2.22.1

Fixed versions

  • 2.18.9
  • 2.21.5
  • 2.22.1

Solution

Upgrade to versions 2.18.9, 2.21.5, 2.22.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

maven/com.fasterxml.jackson.core/jackson-databind/CVE-2026-59889.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:22 +0000.