GHSA-84g5-x8j3-7235
JSON

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 packageVersionsReported by
github.com/tinfoil-factory/netfoil (Go)before 0.2.1GitHub 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

SourceRecordLicence
GitHub Advisory DatabaseGHSA-84g5-x8j3-7235 changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5240 changed 2026-06-25CC-BY-4.0