Description
In NLnet Labs Unbound 1.6.2 up to and including 1.25.1, when Unbound is configured with the 'respip' module in front of the validator together with a 'response-ip' redirect rule or an RPZ file with an RPZ-IP trigger, the rewriting handler does not check the security status of the upstream answer and can instead rewrite a BOGUS A/AAAA answer to point to an operator's configured IP. If the validator finds an expired or otherwise invalid RRSIG on an answer whose A record falls within a 'response-ip'/RPZ configuration, the answer is still rewritten and given a hard coded security level of INSECURE. This results in the client receiving an INSECURE NOERROR reply rewritten by the operator's configured IP. A malicious actor can exploit the possible poisonous effect by spoofing a BOGUS A/AAAA answer that falls inside the operator's configured subnet rewrites. Such DNSSEC protected answers are then insecurely redirected to the operator's configured target.
Published: 2026-07-22
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In Unbound 1.6.2 through 1.25.1, the respip module can rewrite DNS responses that are marked as BOGUS by the validator once a response‑ip rule or RPZ rule is applied. The rewriting logic ignores the security status and forces such responses to a pre‑configured IP address, assigning them an INSECURE security level. This allows an attacker to spoof a DNSSEC‑protected name that falls within the rewritten subnet and have clients receive a fake answer that resolves to the operator’s IP, effectively bypassing DNSSEC protections.

Affected Systems

NLnet Labs Unbound versions 1.6.2 to 1.25.1 when the respip module is used in front of the validator and when a response‑ip redirect rule or an RPZ file with an RPZ‑IP trigger is configured. These products are vulnerable when running those specific releases.

Risk and Exploitability

The CVSS score is 6.3, indicating moderate severity. EPSS score is <1%, suggesting a very low but non‑zero exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack can be carried out remotely by an entity that can inject DNS traffic—such as a compromised upstream server or a data center that can send spoofed responses—targeting names that match the configured rewrite rules. Once triggered, the client receives an INSECURE NOERROR answer pointing to an attacker‑controlled IP, leading to data leakage or session hijacking. Because no additional authentication is required, the risk of exploitation is significant in environments that expose Unbound widely.

Generated by OpenCVE AI on August 3, 2026 at 23:46 UTC.

Remediation

Vendor Solution

This issue is fixed starting with version 1.25.2


OpenCVE Recommended Actions

  • Upgrade Unbound to version 1.25.2 or later to obtain the patch that enforces security checks before rewriting.
  • If an upgrade is not immediately possible, remove or disable the respip module or the response‑ip redirect rules from the configuration to prevent rewriting of BOGUS answers.
  • Validate that any RPZ IP triggers do not overlap with your operator’s IP ranges or consider relocating them to prevent accidental rewrite of invalid responses.

Generated by OpenCVE AI on August 3, 2026 at 23:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs unbound
Vendors & Products Nlnetlabs
Nlnetlabs unbound

Wed, 22 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Description In NLnet Labs Unbound 1.6.2 up to and including 1.25.1, when Unbound is configured with the 'respip' module in front of the validator together with a 'response-ip' redirect rule or an RPZ file with an RPZ-IP trigger, the rewriting handler does not check the security status of the upstream answer and can instead rewrite a BOGUS A/AAAA answer to point to an operator's configured IP. If the validator finds an expired or otherwise invalid RRSIG on an answer whose A record falls within a 'response-ip'/RPZ configuration, the answer is still rewritten and given a hard coded security level of INSECURE. This results in the client receiving an INSECURE NOERROR reply rewritten by the operator's configured IP. A malicious actor can exploit the possible poisonous effect by spoofing a BOGUS A/AAAA answer that falls inside the operator's configured subnet rewrites. Such DNSSEC protected answers are then insecurely redirected to the operator's configured target.
Title 'response-ip'/'rpz' can rewrite BOGUS answers instead of returning SERVFAIL
Weaknesses CWE-348
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N'}


Subscriptions

Nlnetlabs Unbound
cve-icon MITRE

Status: PUBLISHED

Assigner: NLnet Labs

Published:

Updated: 2026-07-22T18:58:00.043Z

Reserved: 2026-06-22T12:27:22.796Z

Link: CVE-2026-50243

cve-icon Vulnrichment

Updated: 2026-07-22T18:57:56.162Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T14:17:20.240

Modified: 2026-07-24T13:59:07.013

Link: CVE-2026-50243

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:00:09Z

Weaknesses
  • CWE-348

    Use of Less Trusted Source