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

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

July 21, 2026

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.

References

  • github.com/FasterXML/jackson-databind/commit/baa2cdf5ca2b2717fbb88d91955d69d8651df3e4
  • github.com/FasterXML/jackson-databind/commit/c7c678360624da5bc7eed2152789fa522880db9d
  • github.com/FasterXML/jackson-databind/pull/5974
  • github.com/FasterXML/jackson-databind/security/advisories/GHSA-3pjw-73gf-8qr5
  • github.com/advisories/GHSA-3pjw-73gf-8qr5
  • nvd.nist.gov/vuln/detail/CVE-2026-59888

Code Behaviors & Features

Detect and mitigate CVE-2026-59888 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.15.0 before 2.18.8, all versions starting from 2.19.0 before 2.21.4

Fixed versions

  • 2.18.8
  • 2.21.4

Solution

Upgrade to versions 2.18.8, 2.21.4 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:17:14 +0000.