GHSA-7856-g3gv-9wq8 netfoil: Attacker controlled data written to logs
Attackers can inject unvalidated domain names into logs, potentially leading to log injection or information disclosure depending on log consumption.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-7856-g3gv-9wq8?
GHSA-7856-g3gv-9wq8 is a vulnerability in github.com/tinfoil-factory/netfoil, published on 7 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Summary
Domain names were written to the log without first being validated to contain allowed characters.
Impact
Depends on how the logs were used.
Which versions are affected by GHSA-7856-g3gv-9wq8?
3 open source packages ship an affected version, including github.com/tinfoil-factory/netfoil.
| Package | Affected | Fixed in |
|---|---|---|
github.com/tinfoil-factory/netfoil Go | All versions | 0.3.0 |
github.com/tinfoil-factory/netfoil Go | All versions | 0.3.0 |
github.com/tinfoil-factory/netfoil Go | All versions | 0.3.0 |
How do I fix GHSA-7856-g3gv-9wq8?
Upgrade github.com/tinfoil-factory/netfoil to 0.3.0 or later.
Is GHSA-7856-g3gv-9wq8 being exploited?
There is no known exploitation of GHSA-7856-g3gv-9wq8 in the wild and no public exploit code.
Sources
Also known as GO-2026-5935.