GitHub Advisoryadvisory · Maven
GHSA-5jmj-h7xm-6q6v jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties
MEDIUM
Official page ↗
- Aliases
- CVE-2026-54515
- Ecosystem
- Maven
- Packages
- com.fasterxml.jackson.core:jackson-databind, tools.jackson.core:jackson-databind
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-915
- Reviewed
- 2026-06-23
Affected packages
• Maven com.fasterxml.jackson.core:jackson-databind: >= 3.1.0, < 3.1.4 → fixed in 3.1.4
• Maven tools.jackson.core:jackson-databind: >= 3.1.0, < 3.1.4 → fixed in 3.1.4
• Maven com.fasterxml.jackson.core:jackson-databind: >= 2.8.0, < 2.18.9 → fixed in 2.18.9
• Maven com.fasterxml.jackson.core:jackson-databind: >= 2.19.0, < 2.21.5 → fixed in 2.21.5
• Maven com.fasterxml.jackson.core:jackson-databind: >= 2.22.0, < 2.22.1 → fixed in 2.22.1
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.
Related
Alias · CVE (1)
- CVE-2026-54515 jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. vulnerability
Weakness · CWE (1)
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes weakness
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-5jmj-h7xm-6q6v web
- https://nvd.nist.gov/vuln/detail/CVE-2026-54515 advisory
- https://github.com/FasterXML/jackson-databind/issues/5962 web
- https://github.com/FasterXML/jackson-databind/issues/5964 web
- https://github.com/FasterXML/jackson-databind/commit/0e1b0b211f7a53baa62ba2f4c9bd006c7bf4d5fa web
- https://github.com/FasterXML/jackson-databind package