CVE-2026-59888: jackson-databind: @JsonIgnore on a Record property is bypassed with a PropertyNamingStrategy
Summary For Java Records, POJOPropertiesCollector.removeUnwantedIgnorals() records a @JsonIgnore-annotated component under its original implicit name before renameUsing() applies the PropertyNamingStrategy. After the rename, ignoredPropertyNames still holds only the pre-rename name, so ignorableProps is built from the stale key.
Published Jul 21, 2026
Affected packages
com.fasterxml.jackson.core:jackson-databind
- Ecosystem
- Maven
- Affected
- >= 2.15.0, < 2.18.8
- Fixed in
- 2.18.8
- Check
mvn dependency:tree -Dincludes=com.fasterxml.jackson.core:jackson-databind
com.fasterxml.jackson.core:jackson-databind
- Ecosystem
- Maven
- Affected
- >= 2.19.0, < 2.21.4
- Fixed in
- 2.21.4
- Check
mvn dependency:tree -Dincludes=com.fasterxml.jackson.core:jackson-databind
tools.jackson.core:jackson-databind
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.1.4
- Fixed in
- 3.1.4
- Check
mvn dependency:tree -Dincludes=tools.jackson.core:jackson-databind
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
For Java Records, POJOPropertiesCollector._removeUnwantedIgnorals() records a @JsonIgnore-annotated component under its original implicit name before _renameUsing() applies the PropertyNamingStrategy. After the rename, _ignoredPropertyNames still holds only the pre-rename name, so _ignorableProps is built from the stale key. The renamed JSON key passes IgnorePropertiesUtil.shouldIgnore() and is assigned to the Record's constructor parameter, defeating the @JsonIgnore.
Impact
A Record using a naming strategy that relies on @JsonIgnore to keep an internal/privileged component out of deserialization can have that component set from the wire via its renamed key (e.g. a role/flag controlled by an untrusted client).
Affected / Patched (verified via git tag --contains)
- 2.15-2.18 line:
>= 2.15.0, < 2.18.8-> fixed in 2.18.8 (backportc7c6783) - 2.19-2.21 line:
>= 2.19.0, < 2.21.4-> fixed in 2.21.4 - 3.x line:
>= 3.0.0, < 3.1.4-> fixed in 3.1.4 (#5974,baa2cdf)
Severity / CWE
Maintainer: minor. Reporter: Moderate. CWE-915; related CWE-345.
Credits
Omkhar Arasaratnam (@omkhar) - finder.
Credited to omkhar.
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-3pjw-73gf-8qr5
- https://nvd.nist.gov/vuln/detail/CVE-2026-59888
- https://github.com/FasterXML/jackson-databind/pull/5974
- https://github.com/FasterXML/jackson-databind/commit/baa2cdf5ca2b2717fbb88d91955d69d8651df3e4
- https://github.com/FasterXML/jackson-databind/commit/c7c678360624da5bc7eed2152789fa522880db9d
- https://github.com/advisories/GHSA-3pjw-73gf-8qr5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-91776
jackson-databind retains every unknown raw type ID
high7.5Sep 30, 2026CVE-2026-91777
jackson-databind quadratic forward-reference completion
high7.5Sep 30, 2026CVE-2026-19032
jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution
medium5.3Sep 28, 2026CVE-2026-68497
jackson-databind: Duration XMLGregorianCalendar Unbounded Number Parse DoS
high7.5Sep 28, 2026CVE-2026-77310
jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization
medium5.3Sep 28, 2026CVE-2026-83557
jackson-databind: Comparable missing from DefaultBaseTypeLimitingValidator's unsafe base types (incomplete PolymorphicTypeValidator denylist)
medium5.6Sep 28, 2026
