CVE-2026-77310 — Vulnerability in jackson-databind — CVE Details
jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.31%). Schedule for your next planned update.
Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?
Paste your pom.xml to check it for CVE-2026-77310 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
CVE-2026-54514 (GHSA-hgj6-7826-r7m5) fixed an eager-DNS-resolution / SSRF issue in jackson-databind's deserialization of java.net.InetSocketAddress by switching to InetSocketAddress.createUnresolved(...) (PR #5951, commit 1f5a1037, released in 2.18.8 / 2.21.4 / 3.1.4). That fix did not cover the sibling java.net.InetAddress branch in the very same FromStringDeserializer.Std._deserialize() switch statement, which still calls InetAddress.getByName(value) and therefore performs an eager forward DNS lookup on attacker-controlled input at deserialization time. The fix is incomplete: the same vulnerability class remains reachable through InetAddress.
Details
File: src/main/java/com/fasterxml/jackson/databind/deser/std/FromStringDeserializer.java
Sibling cases in the same switch:
- Line 357-358 (UNFIXED): case STD_INET_ADDRESS: return InetAddress.getByName(value); // eager forward DNS lookup
- Line 359-381 + helper at 494-496 (FIXED by PR #5951): protected InetSocketAddress _inetSocketAddress(String host, int port) { // 05-May-2026, tatu: [databind#5951] Prevent DNS lookup: return InetSocketAddress.createUnresolved(host, port); // no DNS }
InetAddress is a registered standard string-like scalar type (FromStringDeserializer.types() line 73; findDeserializer() maps it to STD_INET_ADDRESS at line 119-120). Any value deserialized into an InetAddress-typed target — a plain POJO field, a polymorphic subtype, or a default-typing-permitted slot — reaches InetAddress.getByName(attackerControlledString), which invokes the OS/JVM resolver and performs forward DNS resolution before any application validation.
The parent fix's own added unit test asserts address.isUnresolved() with the comment "should NOT resolve address", confirming that performing DNS resolution during deserialization is precisely the behavior being treated as the vulnerability. The InetAddress branch still violates that property.
Verified against the FIXED released artifact (jackson-databind 2.18.8, from Maven Central): decompiled bytecode shows the InetSocketAddress branch now routes through _inetSocketAddress -> createUnresolved, while InetAddress.getByName is still emitted unchanged in the InetAddress branch.
PoC
Lab-only, zero network egress. Run against the fixed jackson-databind 2.18.8.
A custom JDK InetAddressResolver SPI (Java 18+) counts forward lookups locally and answers with loopback, so no traffic leaves the host:
ObjectMapper m = new ObjectMapper();
// InetSocketAddress (patched): 0 resolver lookups, isUnresolved=true
m.readValue("\"internal-metadata.attacker-oob.example:8080\"", InetSocketAddress.class);
// InetAddress (unpatched sibling): 1 resolver lookup on the attacker host
m.readValue("\"internal-metadata.attacker-oob.example\"", InetAddress.class);
Observed output (jackson 2.18.8): [A] InetSocketAddress isUnresolved=true resolverLookups=0 lastHost=null [B] InetAddress value=localhost/127.0.0.1 resolverLookups=1 lastHost=internal-metadata.attacker-oob.example
A standalone variant (no SPI) using an RFC-6761 .invalid canary host shows the same: deserializing into InetAddress raises UnknownHostException (the OS resolver was invoked), while InetSocketAddress stays unresolved. Full source in PocResolverCount.java and PocInetAddressIncompleteFix.java.
Reachability with a plain field (no annotations, no polymorphism, no default typing): static class Config { public InetAddress bindHost; public int port; } mapper.readValue("{"bindHost":"poc-reach.example","port":1}", Config.class); // -> resolver invoked on "poc-reach.example"
Impact
An attacker who can influence JSON deserialized into an InetAddress target can force the application to perform outbound forward DNS lookups for attacker-chosen hostnames at deserialization time, before any application-level validation. This yields a DNS-based SSRF / OOB primitive: out-of-band exfiltration / interaction via DNS callbacks, and blind probing of whether internal hostnames resolve (internal-host enumeration). This is the same impact class and trust boundary for which CVE-2026-54514 (CVSS 5.3, CWE-918) was assigned to the InetSocketAddress branch. It is a DNS-lookup / blind SSRF primitive, not arbitrary HTTP SSRF or RCE; it does not itself open a socket.
Suggested fix: avoid eager resolution for InetAddress as well — e.g. defer resolution, validate the host string before resolving, or provide an opt-in/opt-out consistent with the InetSocketAddress fix (there is no direct unresolved-InetAddress equivalent, so deferring/validating or documenting the resolution is the practical mitigation).
Credit : Ta Duc Thien
Advisory Timeline
- First published September 28, 2026 (59 days ago).
- Last revised September 28, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.22.1 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.21.5 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 3.2.1 for tools.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.18.9 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 3.1.5 for tools.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.22.0 | 2.22.1 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.19.0, 2.19.1, 2.19.2, 2.19.3 (+10 more) | 2.21.5 |
| tools.jackson.core:jackson-databind Maven · Affected: 3.2.0 | 3.2.1 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.0.0, 2.0.1, 2.0.2, 2.0.4 (+203 more) | 2.18.9 |
| tools.jackson.core:jackson-databind Maven · Affected: 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+7 more) | 3.1.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-918Server-Side Request Forgery (SSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-vvgp-rfg2-7rr6WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-77310ADVISORY
- https://github.com/FasterXML/jackson-databind/pull/6058WEB
- https://github.com/FasterXML/jackson-databind/commit/2fc7bd9057dd051d7dea0e5fcad89822d0fa5ebdWEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.9WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.5WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.1WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.5WEB
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.1WEB
Frequently Asked Questions
- What is CVE-2026-77310?
- jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-77310?
- CVE-2026-77310 affects com.fasterxml.jackson.core:jackson-databind and tools.jackson.core:jackson-databind. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-77310 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 16.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-91777HIGH
jackson-databind quadratic forward-reference completion
- CVE-2026-54512HIGH
jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation
- CVE-2026-54513HIGH
jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
- CVE-2026-91776HIGH
jackson-databind retains every unknown raw type ID
- CVE-2026-59889MEDIUM
jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization
- CVE-2026-54515MEDIUM
jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties
- CVE-2026-54514MEDIUM
jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)
- CVE-2026-19032MEDIUM
jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution