CVE-2026-59888: jackson-databind: @JsonIgnore on a Record property is bypassed with a PropertyNamingStrategy

Published Jul 14, 2026
·
Updated

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 (backport c7c6783) - 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.

Other sources

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.15.0 until 2.18.8, 2.21.4, and 3.1.4, Java Records using a PropertyNamingStrategy can bypass @JsonIgnore because POJOPropertiesCollector.removeUnwantedIgnorals() records an ignored component under its original implicit name before renameUsing() applies the naming strategy, allowing the renamed JSON key to be assigned to the Record constructor parameter. This issue is fixed in versions 2.18.8, 2.21.4, and 3.1.4.

MITRE

Affected Software

8 affected componentsFixes available
jackson-databind>2.15.0<=2.18.8, >2.18.8<=2.21.4, =2.21.4, >2.18.8<=3.1.4, =3.1.4
maven/tools.jackson.core:jackson-databind>=3.0.0<3.1.4
3.1.4
maven/com.fasterxml.jackson.core:jackson-databind>=2.19.0<2.21.4
2.21.4
maven/com.fasterxml.jackson.core:jackson-databind>=2.15.0<2.18.8
2.18.8
IBM CICS Transaction Gateway for Multiplatforms<=9.1
IBM CICS Transaction Gateway for Multiplatforms<=9.2
IBM CICS Transaction Gateway for Multiplatforms<=9.3
IBM CICS Transaction Gateway for Multiplatforms<=10.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/tools.jackson.core:jackson-databind to a version that resolves this vulnerability.

    Fixed in 3.1.4
  2. Upgrade

    Upgrade maven/com.fasterxml.jackson.core:jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.21.4
  3. Upgrade

    Upgrade maven/com.fasterxml.jackson.core:jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.18.8
  4. Upgrade

    Upgrade jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.18.8
  5. Upgrade

    Upgrade jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.21.4
  6. Upgrade

    Upgrade jackson-databind to a version that resolves this vulnerability.

    Fixed in 3.1.4

Event History

Jul 14, 2026
CVE Published
via MITRE·04:44 PM
Data Sourced
via MITRE·04:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Jul 21, 2026
Advisory Published
via GitHub·07:33 PM
Data Sourced
via GitHub·07:33 PM
DescriptionSeverityWeaknessAffected Software
Jul 29, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59888?

The severity of CVE-2026-59888 is rated as medium with a base score of 6.5.

2

How do I fix CVE-2026-59888?

To mitigate CVE-2026-59888, upgrade jackson-databind to versions 2.18.9, 2.21.5, or 3.1.5 or later.

3

What software is affected by CVE-2026-59888?

CVE-2026-59888 affects jackson-databind versions from 2.15.0 until 2.18.8, 2.21.4, and 3.1.4.

4

What does CVE-2026-59888 exploit?

CVE-2026-59888 exploits the @JsonIgnore annotation on Java Record properties when using a PropertyNamingStrategy.

5

When was CVE-2026-59888 published?

CVE-2026-59888 was published on July 14, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203