{"id":"CVE-2026-59888","aliases":["CVE-2026-59888","GHSA-3pjw-73gf-8qr5"],"related":[],"kind":"vulnerability","state":"published","title":"jackson-databind: @JsonIgnore on a Record property is bypassed with a PropertyNamingStrategy","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\nFor 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`.\n\n## Impact\nA 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).\n\n## Affected / Patched (verified via `git tag --contains`)\n- 2.15-2.18 line: `>= 2.15.0, < 2.18.8` -> fixed in **2.18.8** (backport `c7c6783`)\n- 2.19-2.21 line: `>= 2.19.0, < 2.21.4` -> fixed in **2.21.4**\n- 3.x line: `>= 3.0.0, < 3.1.4` -> fixed in **3.1.4** (#5974, `baa2cdf`)\n\n## Severity / CWE\nMaintainer: minor. Reporter: Moderate. CWE-915; related CWE-345.\n\n## Credits\nOmkhar Arasaratnam (@omkhar) - finder.","format":"markdown","source":"ghsa"},{"lang":"es","text":"jackson-databind contiene la funcionalidad de enlace de datos de propósito general y el modelo de árbol para el Procesador de Datos Jackson. Desde 2.15.0 hasta 2.18.8, 2.21.4 y 3.1.4, los Registros Java que utilizan una PropertyNamingStrategy pueden eludir @JsonIgnore porque POJOPropertiesCollector._removeUnwantedIgnorals() registra un componente ignorado bajo su nombre implícito original antes de que _renameUsing() aplique la estrategia de nomenclatura, permitiendo que la clave JSON renombrada se asigne al parámetro del constructor del Registro. Este problema está solucionado en las versiones 2.18.8, 2.21.4 y 3.1.4.","source":"nvd"}],"published":"2026-07-14T16:44:20.091Z","modified":"2026-10-24T21:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-915"],"affected":[{"ranges":[{"version":">= 2.15.0, < 2.18.8","status":"affected"},{"version":">= 2.19.0, < 2.21.4","status":"affected"},{"version":">= 3.0.0, < 3.1.4","status":"affected"}],"vendor":"FasterXML","product":"jackson-databind","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.15.0","status":"affected","fixed":"2.18.8"}],"ecosystem":"Maven","package":"com.fasterxml.jackson.core:jackson-databind","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-databind","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.19.0","status":"affected","fixed":"2.21.4"}],"ecosystem":"Maven","package":"com.fasterxml.jackson.core:jackson-databind","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-databind","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.1.4"}],"ecosystem":"Maven","package":"tools.jackson.core:jackson-databind","purl":"pkg:maven/tools.jackson.core/jackson-databind","source":"ghsa"}],"references":[{"url":"https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-3pjw-73gf-8qr5","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-databind/pull/5974","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-databind/commit/baa2cdf5ca2b2717fbb88d91955d69d8651df3e4","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-databind/commit/c7c678360624da5bc7eed2152789fa522880db9d","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59888","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FasterXML/jackson-databind","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-14T17:51:54.891Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59888","url":"https://www.cve.org/CVERecord?id=CVE-2026-59888","licence":"CVE Terms of Use","modified":"2026-07-14T17:52:03.675Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3pjw-73gf-8qr5","url":"https://github.com/advisories/GHSA-3pjw-73gf-8qr5","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:10.312Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59888","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59888","licence":"Public domain","modified":"2026-10-24T21:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:27.999Z","epss":{"score":0.00309,"percentile":0.25633,"date":"2026-12-01T12:00:22.000Z"}}