
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-59889 is an incorrect authorization vulnerability in FasterXML's jackson-databind library, classified as a @JsonView bypass for @JsonUnwrapped container properties during deserialization. The flaw allows an authenticated low-privilege user to mass-assign properties restricted to higher-privilege views, enabling privilege escalation. Affected versions include com.fasterxml.jackson.core:jackson-databind 2.18.0–2.18.8, 2.21.0–2.21.4, 2.22.0, and tools.jackson.core:jackson-databind 3.0.0–3.1.4, 3.2.0. The issue was reported on June 26, 2026, patched on June 27, 2026, and published to the GitHub Advisory Database on July 21, 2026. It carries a CVSS v3.1 base score of 6.5 (Medium) (Github Advisory).
The root cause (CWE-863: Incorrect Authorization) lies in UnwrappedPropertyHandler.processUnwrapped(), which replays buffered JSON for @JsonUnwrapped properties by iterating and calling prop.deserializeAndSet() without first checking prop.visibleInView(ctxt.getActiveView()). This guard was correctly applied to the creator path (processUnwrappedCreatorProperties()) in a prior fix (GHSA-rcqc-6cw3-h962 / #5971), but was never added to the regular Field/Setter property path. An attacker with low-privilege network access can craft a JSON request body containing fields belonging to a higher-privilege @JsonView group; because the view check is skipped, those fields are deserialized and written to the object. The fix adds a single prop.visibleInView(activeView) guard to the processUnwrapped() loop in both BeanDeserializer and BuilderBasedDeserializer, mirroring the existing creator-path fix (Github Advisory, Fix PR, Fix Commit).
Successful exploitation allows an authenticated attacker with low privileges to perform write-side mass-assignment of properties that should be restricted to higher-privilege views, resulting in a high integrity impact (C:N/I:H/A:N). A concrete example from the advisory demonstrates that an attacker submitting {"role":"ADMIN","approved":true,"creditBalance":1000000} to a public registration endpoint can elevate their account to admin status with an arbitrary credit balance. The vulnerability does not expose confidential data (no confidentiality impact) and does not affect availability, but the integrity compromise can have severe downstream consequences including unauthorized privilege escalation and financial data manipulation (Github Advisory).
@JsonView and @JsonUnwrapped annotations together on privileged properties.readerWithView(PublicView.class)) where a privileged property block (e.g., AccountFlags) is annotated with both @JsonView(AdminView.class) and @JsonUnwrapped.{"email":"attacker@evil.test","password":"pw","role":"ADMIN","approved":true,"creditBalance":1000000}.processUnwrapped() lacks the view guard, the privileged fields are deserialized and written to the object despite the active PublicView restriction.role, approved, creditBalance) submitted by low-privilege users.Upgrade jackson-databind to one of the patched versions: 2.18.9, 2.21.5, 2.22.1 (for the 2.x com.fasterxml.jackson.core artifact), or 3.1.5, 3.2.1 (for the 3.x tools.jackson.core artifact). No configuration-based workaround is available; the only remediation is upgrading to a fixed version. As an interim measure, developers should audit their codebase for any properties annotated with both @JsonView and @JsonUnwrapped and consider temporarily removing @JsonUnwrapped from privileged properties until the upgrade is applied (Github Advisory, Fix PR).
The vulnerability was credited to researcher CyberKareem and published by FasterXML maintainer cowtowncoder on July 10, 2026. The fix was contributed by pjfanning and merged within days of the issue being filed, reflecting a rapid response from the jackson-databind maintainers. The advisory notes this is an incomplete fix of a prior related issue (GHSA-rcqc-6cw3-h962), highlighting the challenge of consistently applying security guards across all code paths. A Bluesky post from suriq.io and coverage on HeroDevs' blog discussing Spring Boot managed dependency CVEs in July 2026 indicate moderate community awareness (Github Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."