GO-2026-5240
MEDIUMNetfoil 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
- 29 Apr 2026
- Last modified
- 25 Jun 2026
- Weakness
- CWE-183CWE-193
- Also known as
- GHSA-84g5-x8j3-7235
- Sources
- OSV GHSA-84g5-x8j3-7235JSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/tinfoil-factory/netfoil | < 0.2.1 | 0.2.1 |
References
- https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-84g5-x8j3-7235 · WEB, ADVISORY
- https://github.com/tinfoil-factory/netfoil/commit/0ca054acf97b011e4fdd40392475c7786b975ec3 · WEB, FIX
- https://github.com/tinfoil-factory/netfoil · PACKAGE
- https://github.com/tinfoil-factory/netfoil/releases/tag/v0.2.1 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Apr 2026)