CVE-2026-107318: Tls Reject Unauthorized Coerced To False

TLS certificate verification is coerced off by default: $OPTS.rejectUnauthorized is computed with a '|| false' fallback, which forces 'rejectUnauthorized' to 'false' whenever the caller did not explicitly enable it and silently overrides Node.js/undici's secure default (rejectUnauthorized: true). A proxy or HTTP client built from these options accepts any ce

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-107318-tls-reject-unauthorized-coerced-to-false --engine opengrep

Description

TLS certificate verification is coerced off by default: $OPTS.rejectUnauthorized is computed with a '|| false' fallback, which forces 'rejectUnauthorized' to 'false' whenever the caller did not explicitly enable it and silently overrides Node.js/undici's secure default (rejectUnauthorized: true). A proxy or HTTP client built from these options accepts any ce