GHSA-84g5-x8j3-7235
medium
Netfoil has incorrect allowlist enforcement
- Severity
- medium CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- GO-2026-5240
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
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/tinfoil-factory/netfoil (Go) | before 0.2.1 | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
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.
Go Vulnerability Database
Netfoil has incorrect allowlist enforcement in github.com/tinfoil-factory/netfoil
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-84g5-x8j3-7235 changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5240 changed 2026-06-25 | CC-BY-4.0 |