CVE-2026-54516
Description
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.
How to fix
- fasterxml jackson-databind2.21.4, 3.1.4 or later
- com.fasterxml.jackson.core:jackson-databind2.21.4, 3.1.4 or later
- tools.jackson.core:jackson-databind3.1.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fasterxml jackson-databind | 2.21.0 ≤ v < 2.21.4, 3.0.0 ≤ v < 3.1.4 | 2.21.4, 3.1.4 |
| com.fasterxml.jackson.core:jackson-databindMaven | 2.21.0 ≤ v < 2.21.4, 3.0.0 ≤ v < 3.1.4 | 2.21.4, 3.1.4 |
| tools.jackson.core:jackson-databindMaven | 3.0.0 ≤ v < 3.1.4 | 3.1.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.