GHSA-84g5-x8j3-7235: Netfoil has incorrect allowlist enforcement
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.
Published Apr 29, 2026
Affected packages
github.com/tinfoil-factory/netfoil
- Ecosystem
- Go
- Affected
- < 0.2.1
- Fixed in
- 0.2.1
- Check
go list -m github.com/tinfoil-factory/netfoil
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-9ppr-wfw9-xvr2
Netfoil doesn't decrement TTL
mediumNov 3, 2026GHSA-4ph6-mjv7-3fq6
netfoil vulnerable to improper handling of untrusted DoH response data
low2.7Aug 24, 2026GHSA-xvg2-cgv6-6h7v
netfoil: Incorrect block responses could lead to localhost traffic
high7.4Jul 29, 2026GHSA-3g4q-2f67-2gvh
netfoil has a resource leak in LRU cache
low1.2Jul 7, 2026GHSA-59qp-cfj3-rp64
netfoil has a domain name filter bypass via multiple questions
medium5.9Jul 7, 2026GHSA-7856-g3gv-9wq8
netfoil: Attacker controlled data written to logs
low2.3Jul 7, 2026
