CVE-2026-59888

CVE-2026-59888 is a medium-severity security vulnerability in com.fasterxml.jackson.core:jackson-databind (maven), affecting versions >= 2.15.0, < 2.18.8. It is fixed in 2.18.8, 2.21.4, 3.1.4.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

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

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.

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.

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).

CVE-2026-59888 has a CVSS score of 6.5 (Medium). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (2.18.8, 2.21.4, 3.1.4); upgrading removes the vulnerable code path.

Affected versions

com.fasterxml.jackson.core:jackson-databind (>= 2.15.0, < 2.18.8) com.fasterxml.jackson.core:jackson-databind (>= 2.19.0, < 2.21.4) tools.jackson.core:jackson-databind (>= 3.0.0, < 3.1.4)

Security releases

com.fasterxml.jackson.core:jackson-databind → 2.18.8 (maven) com.fasterxml.jackson.core:jackson-databind → 2.21.4 (maven) tools.jackson.core:jackson-databind → 3.1.4 (maven)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade the following packages to resolve this vulnerability:

com.fasterxml.jackson.core:jackson-databind to 2.18.8 or later; com.fasterxml.jackson.core:jackson-databind to 2.21.4 or later; tools.jackson.core:jackson-databind to 3.1.4 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2026-59888? CVE-2026-59888 is a medium-severity security vulnerability in com.fasterxml.jackson.core:jackson-databind (maven), affecting versions >= 2.15.0, < 2.18.8. It is fixed in 2.18.8, 2.21.4, 3.1.4.
  2. How severe is CVE-2026-59888? CVE-2026-59888 has a CVSS score of 6.5 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which packages are affected by CVE-2026-59888?
    • com.fasterxml.jackson.core:jackson-databind (maven) (versions >= 2.15.0, < 2.18.8)
    • tools.jackson.core:jackson-databind (maven) (versions >= 3.0.0, < 3.1.4)
  4. Is there a fix for CVE-2026-59888? Yes. CVE-2026-59888 is fixed in 2.18.8, 2.21.4, 3.1.4. Upgrade to this version or later.
  5. Is CVE-2026-59888 exploitable, and should I be worried? Whether CVE-2026-59888 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2026-59888 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2026-59888?
    • Upgrade com.fasterxml.jackson.core:jackson-databind to 2.18.8 or later
    • Upgrade com.fasterxml.jackson.core:jackson-databind to 2.21.4 or later
    • Upgrade tools.jackson.core:jackson-databind to 3.1.4 or later

Other vulnerabilities in com.fasterxml.jackson.core:jackson-databind

Stop the waste.
Protect your environment with Kodem.