CVE-2026-115411: Ssrf Dns Gate Validates Single Address

Incomplete SSRF gate: the hostname is resolved with lookup() without { all: true } and only the single destructured `address` is passed to the private/reserved-IP check. A hostname whose RRset also contains a private or reserved address -- or whose answer changes between this check and the connection (DNS rebinding / check-to-use) -- passes the gate, so the

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-115411-ssrf-dns-gate-validates-single-address --engine opengrep

Description

Incomplete SSRF gate: the hostname is resolved with lookup() without { all: true } and only the single destructured `address` is passed to the private/reserved-IP check. A hostname whose RRset also contains a private or reserved address -- or whose answer changes between this check and the connection (DNS rebinding / check-to-use) -- passes the gate, so the