{"id":"CVE-2026-54516","aliases":["CVE-2026-54516","GHSA-9fxm-vc8v-hj55"],"related":[],"kind":"vulnerability","state":"published","title":"jackson-databind: Renamed @JsonIgnore'd setters can deserialize via private fields","summary":"jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.21.0 until 2.21.4 and 3.1.4, POJOPropertiesCollector._renameProperties() allows a property with @JsonProperty(\"renamed\") on the getter and @JsonIgnore on the setter to be renamed rather than dropped. With MapperFeature.INFER_PROPERTY_MUTATORS enabled (default), the private backing field is retained; during deserialization BeanDeserializerFactory.addBeanProps() sees hasField()==true, builds a FieldProperty, and makes the backing field writable. An attacker supplying the renamed JSON key writes the backing field directly, bypassing the @JsonIgnore on the setter. This vulnerability is fixed in 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.21.0 until 2.21.4 and 3.1.4, POJOPropertiesCollector._renameProperties() allows a property with @JsonProperty(\"renamed\") on the getter and @JsonIgnore on the setter to be renamed rather than dropped. With MapperFeature.INFER_PROPERTY_MUTATORS enabled (default), the private backing field is retained; during deserialization BeanDeserializerFactory.addBeanProps() sees hasField()==true, builds a FieldProperty, and makes the backing field writable. An attacker supplying the renamed JSON key writes the backing field directly, bypassing the @JsonIgnore on the setter. This vulnerability is fixed in 3.1.4.","source":"cvelist"},{"lang":"en","text":"## Summary\n`POJOPropertiesCollector._renameProperties()` allows a property with `@JsonProperty(\"renamed\")` on the getter and `@JsonIgnore` on the setter to be renamed rather than dropped. With `MapperFeature.INFER_PROPERTY_MUTATORS` enabled (default), the private backing field is retained; during deserialization `BeanDeserializerFactory.addBeanProps()` sees `hasField()==true`, builds a `FieldProperty`, and makes the backing field writable. An attacker supplying the renamed JSON key writes the backing field directly, bypassing the `@JsonIgnore` on the setter.\n\n## Impact\nPOJOs combining a renamed getter with an ignored setter (a read-only-over-the-wire pattern) have that field silently set from attacker input (property tampering / mass assignment). Not a general gadget; no RCE.\n\n## Affected / Patched (verified via `git tag --contains`)\n- 2.21 line: `>= 2.21.0, < 2.21.4` -> fixed in **2.21.4** (backport `c3d56dd`, #5968)\n- 3.x line: `>= 3.0.0, < 3.1.4` -> fixed in **3.1.4** (#5967, `e88cb17`)\n\n## Severity / CWE\nMaintainer: minor. Reporter: HIGH. CWE-915.\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 Jackson Data Processor. Desde 2.21.0 hasta 2.21.4 y 3.1.4, POJOPropertiesCollector._renameProperties() permite que una propiedad con @JsonProperty(’renamed’) en el getter y @JsonIgnore en el setter sea renombrada en lugar de eliminada. Con MapperFeature.INFER_PROPERTY_MUTATORS habilitado (por defecto), el campo de respaldo privado se retiene; durante la deserialización, BeanDeserializerFactory.addBeanProps() ve hasField()==true, construye un FieldProperty y hace que el campo de respaldo sea escribible. Un atacante que proporciona la clave JSON renombrada escribe directamente en el campo de respaldo, omitiendo el @JsonIgnore en el setter. Esta vulnerabilidad se corrige en 3.1.4.","source":"nvd"}],"published":"2026-06-23T20:48:52.730Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"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:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-915"],"affected":[{"ranges":[{"version":">= 2.21.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.21.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":"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"},{"ranges":[{"status":"affected","introduced":"2.21.0","fixed":"2.21.4"},{"status":"affected","introduced":"3.0.0","fixed":"3.1.4"}],"vendor":"fasterxml","product":"jackson-databind","cpe":"cpe:2.3:a:fasterxml:jackson-databind:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-9fxm-vc8v-hj55","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-databind/pull/5967","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-databind/pull/5968","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-databind/commit/c3d56dd25d52319828147c5b9aeabf2d485c250a","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-databind/commit/e88cb17006b6af4883b973058f0bb6486e5074af","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54516","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-06-24T13:00:07.957Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54516","url":"https://www.cve.org/CVERecord?id=CVE-2026-54516","licence":"CVE Terms of Use","modified":"2026-06-24T13:00:17.780Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9fxm-vc8v-hj55","url":"https://github.com/advisories/GHSA-9fxm-vc8v-hj55","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:49.332Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54516","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54516","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.553Z","epss":{"score":0.00354,"percentile":0.3112,"date":"2026-12-02T12:00:21.000Z"}}