Skip to content
OpenAdvisories
Medium GHSA-84g5-x8j3-7235 GO-2026-5240

Netfoil has incorrect allowlist enforcement

Published Apr 29, 2026 · Updated Jun 25, 2026 · Assigned by GHSA

Description

### Summary
Rules could be bypassed by changing the first character: `example.com` could be be bypassed by e.g. `fxample.com`.

### Details
Off-by-one error in the suffixtrie implementation.

### Impact
The domain filter could be bypassed. Please note that DNS filtering alone is not enough to block malicious traffic.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/tinfoil-factory/netfoil < 0.2.1 0.2.1 GHSA-84g5-x8j3-7235

References