CVE-2026-54515
jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties
Description
Summary
In BeanDeserializerBase.createContextual(), per-property @JsonIgnoreProperties exclusions are applied by _handleByNameInclusion(), producing a contextual deserializer whose BeanPropertyMap has the ignored properties removed. The subsequent per-property case-insensitivity block (triggered by @JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)) rebuilds from this._beanProperties (the original, unfiltered map) instead of contextual._beanProperties, then overwrites the filtered map — restoring every property _handleByNameInclusion had just removed. The ignored property becomes writable again.
Impact
An application that both enables case-insensitive matching and relies on per-property @JsonIgnoreProperties to keep a field unwritable can have that field set from untrusted JSON (mass-assignment-style write).
Affected / Patched
Will be fixed in 2.18.9, 2.21.5, 2.22.1 and 3.1.4.
Severity / CWE
Maintainer: minor. Reporter: Moderate. CWE-915.
Upstream fix
FasterXML/jackson-databind#5962 (PR #5964, 0e1b0b2), milestone 3.1.4. Released 2026-06-04.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core » jackson-databind | >= 2.8.0, < 2.18.9>= 2.19.0, < 2.21.5>= 2.22.0, < 2.22.1>= 3.1.0, < 3.1.4 | 2.18.9, 2.21.5, 2.22.1, 3.1.4 |
| tools.jackson.core » jackson-databind | >= 3.1.0, < 3.1.4 | 3.1.4 |
Blast radius
79% of the dependent artifacts (124,777) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,307,687 |
| 2 hops | 3,241,747 |
| 3 hops | 1,861,563 |
| 4 hops | 785,853 |
| 5 hops | 251,977 |
| 6 hops | 75,478 |
Most used dependents
- org.sonatype.central » central-publishing-maven-plugin22,513 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.renjin » renjin-maven-plugin13,886 usages
- com.fasterxml.jackson.datatype » jackson-datatype-jsr31010,638 usages
- org.springframework.boot » spring-boot-maven-plugin8,665 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- com.fasterxml.jackson.dataformat » jackson-dataformat-yaml6,005 usages
- org.testcontainers » testcontainers4,109 usages
- com.fasterxml.jackson.module » jackson-module-kotlin4,004 usages
- com.fasterxml.jackson.datatype » jackson-datatype-jdk83,840 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- com.fasterxml.jackson.dataformat » jackson-dataformat-xml2,908 usages
- org.apache.spark » spark-core2,899 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://github.com/FasterXML/jackson-databind/security/advisories/GHSA-5jmj-h7xm-6q6v
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-54515
- Webhttps://github.com/FasterXML/jackson-databind/issues/5962
- Webhttps://github.com/FasterXML/jackson-databind/issues/5964
- Webhttps://github.com/FasterXML/jackson-databind/commit/0e1b0b211f7a53baa62ba2f4c9bd006c7bf4d5fa
- Packagehttps://github.com/FasterXML/jackson-databind
