Advisory

GHSA-84g5-x8j3-7235

Also known as: GO-2026-5240

Summary

Netfoil has incorrect allowlist enforcement

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-29 22:22 UTC
Modified
2026-06-25 19:56 UTC

Affected packages and fixes

github.com/tinfoil-factory/netfoil

Go · All systems

Affected

  • introduced 0, fixed 0.2.1 (semver)

Fixed versions

0.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences