Skip to main content
VulnerabilityPublished

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

0

CVSS 6.5 Medium : upgrade to 2.18.9 when convenient.

Data as of 22 Jul 2026, 00:56 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

What 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

ProductAffectedFixed in
Mavencom.fasterxml.jackson.core:jackson-databindAffected
  • >=2.18.0 <2.18.9
Fixed in
  • 2.18.9
Mavencom.fasterxml.jackson.core:jackson-databindAffected
  • >=2.21.0 <2.21.5
Fixed in
  • 2.21.5

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

Community reviews

Loading reviews…