# Netfoil has incorrect allowlist enforcement

Source: https://junglewise.ai/threats/netfoil-has-incorrect-allowlist-enforcement-b5e0d890  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-29  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2026-04-29

Netfoil has incorrect allowlist enforcement

Technologies: [github.com/tinfoil-factory/netfoil (Go)](https://junglewise.ai/threats/technologies/github-com-tinfoil-factory-netfoil). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 29 April 2026.

**Which products and versions are affected?** github.com/tinfoil-factory/netfoil (Go) SEMVER:introduced=0,fixed=0.2.1.

**Is there a fix for This vulnerability?** Yes. github.com/tinfoil-factory/netfoil (Go): upgrade to 0.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/tinfoil-factory/netfoil (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/tinfoil-factory/netfoil (Go): upgrade to 0.2.1 or later

  ```sh
  go get github.com/tinfoil-factory/netfoil@v0.2.1
  ```


## Affected products

- github.com/tinfoil-factory/netfoil (Go) SEMVER:introduced=0,fixed=0.2.1

## Related threats

- [Netfoil TTL not decremented in DNS responses](https://junglewise.ai/threats/go-2026-6906-netfoil-doesn-t-decrement-ttl-in-github-com-tinfoil-a5094761)
- [Netfoil TTL decrement logic flaw](https://junglewise.ai/threats/netfoil-doesn-t-decrement-ttl-f0272cfd)
- [GO-2026-6277 - netfoil vulnerable to improper handling of untrusted DoH response data in github.com/tinfoil-factory/netfoil](https://junglewise.ai/threats/go-2026-6277-netfoil-vulnerable-to-improper-handling-of-untrusted-doh-3c188b0a)
- [netfoil improper output neutralization for logs in DoH response handling](https://junglewise.ai/threats/netfoil-improper-output-neutralization-for-logs-in-doh-response-c6a8161c)
- [GO-2026-6143 - netfoil: Incorrect block responses could lead to localhost traffic in github.com/tinfoil-factory/netfoil](https://junglewise.ai/threats/go-2026-6143-netfoil-incorrect-block-responses-could-lead-to-localhost-10a9eea0)
