# RUSTSEC-2026-0106: Record cache accepts AUTHORITY section NS from sibling zone via parent-pool zone-context elevation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-04-22T12:00:00.000Z
- **Modified:** 2026-04-22T20:00:07.053Z

## Who should check

- Projects that depend on crates.io package hickory-recursor (\>= 0.0.0-0)

## Description

The Hickory DNS project's experimental \`hickory-recursor\` crate's record cache
(\`DnsLru\`) stores records from DNS responses keyed by each record's own (name,
type), not by the query that triggered the response. \`cache\_response()\` in
\`crates/recursor/src/lib.rs\` chains \`ANSWER\`, \`AUTHORITY\`, and \`ADDITIONAL\`
sections into one record iterator before insertion. The bailiwick filter it
applies uses the zone context of the NS pool that serviced the lookup, not the
zone being queried.

This creates a cross-zone poisoning path. When Hickory builds the NS pool for
\`attacker.poc.\` it uses the parent \`poc.\` \`NS\` pool (\`ns.zone() = "poc."\`). If
the \`poc.\` nameserver under the attacker's control includes in its response's
\`AUTHORITY\` section a record for a sibling zone like \`victim.poc. NS
ns.evil.poc.\`, the bailiwick check \`is\_subzone("poc.", "victim.poc.")\` passes
(\`victim.poc.\` is a subdomain of \`poc.\`). The record is stored under
\`(victim.poc., NS)\` in the shared cache.

Subsequently, any client querying a name in \`victim.poc\`. causes Hickory to
build its NS pool from the poisoned cache entry, routing queries to the
attacker's nameserver (\`ns.evil.poc.\`) rather than to the legitimate nameserver
for \`victim.poc.\`. The legitimate \`NS\` for that zone receives zero queries.

This issue is fixed in \`hickory-resolver\` 0.26.0 with the \`recursor\` feature
through an architectural change to response-level caching: responses are stored
keyed by the originating query \`(name, type)\`. A response to \`(attacker.poc.
NS)\` is stored only under that key and cannot affect the \`(victim.poc., NS)\`
cache entry.

We believe this issue has been present in all published versions of the
experimental \`hickory-recursor\` crate, which has now been folded into the
\`hickory-resolver\` crate under the non-default \`recursor\` feature flag. The
\`hickory-recursor\` crate will not receive any updates going forward and all
users should migrate to \`hickory-resolver\` with the \`recursor\` feature.

## Affected and fixed versions

- crates.io `hickory-recursor`: affected \>= 0.0.0-0; fixed no fix listed yet (osv)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by RUSTSEC-2026-0106. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/RUSTSEC-2026-0106.md
Affected: hickory-recursor >= 0.0.0-0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for hickory-recursor (crates.io): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is RUSTSEC-2026-0106 being exploited?

There is no confirmed exploitation: RUSTSEC-2026-0106 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is RUSTSEC-2026-0106?

It has no CVSS score yet. Unknown.

### Which versions are affected by RUSTSEC-2026-0106?

hickory-recursor \>= 0.0.0-0.

### Is there a fix for RUSTSEC-2026-0106?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by RUSTSEC-2026-0106?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://rustsec.org/advisories/RUSTSEC-2026-0106.html>
- vendor: <https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-83hf-93m4-rgwq>
- other: <https://crates.io/crates/hickory-recursor>

## Attribution

- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2026-0106> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/RUSTSEC-2026-0106> · JSON: <https://flawdb.com/api/v1/entries/RUSTSEC-2026-0106>
