Com.fasterxml.jackson.core:jackson databind: jackson-databind: `@JsonView` bypass for creator properties with `@JsonTypeInfo(include=As.EXTERNAL_PROPERTY)`
Affects com.fasterxml.jackson.core:jackson-databindSource GCVE Database
CVSS 6.5 Medium : upgrade to 2.18.9 when convenient.
Data as of 22 Jul 2026, 00:56 UTC
- Patch
- Available – fixed in 2.18.9, 2.21.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NWhat to do
Upgrade com.fasterxml.jackson.core:jackson-databind to 2.18.9; com.fasterxml.jackson.core:jackson-databind to 2.21.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavencom.fasterxml.jackson.core:jackson-databind | Affected
| Fixed in
|
| Mavencom.fasterxml.jackson.core:jackson-databind | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade to jackson-databind 3.x where the fix is implemented. Until then, avoid using @JsonView with creator properties annotated with @JsonTypeInfo(include=As.EXTERNAL_PROPERTY) in the vulnerable versions.
Description
A vulnerability in jackson-databind versions 2.18.0 through 2.18.8 and 2.21.0 through 2.21.4 allows bypassing the @JsonView filter for creator properties annotated with @JsonTypeInfo(include=As.EXTERNAL_PROPERTY). This occurs because the active view check is missing in the creator-property branch of the deserialization code, enabling attacker-controlled JSON to populate restricted properties even when a more restrictive view is active.
References
- github.com/FasterXML/jackson-databind/security/advisories/GHSA-mhm7-754m-9p8w (opens in a new tab)
- github.com/FasterXML/jackson-databind/commit/c628b357ed143d8492756d5c1458cfb9fbeb29ed (opens in a new tab)
- github.com/FasterXML/jackson-databind/commit/dea7eb466e98cc226c4ac65587581fb49926820c (opens in a new tab)
- github.com/FasterXML/jackson-databind (opens in a new tab)