Intel

AIKIDO-2026-997353

github.com/juanfont/headscale is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 25, 2026
October 25, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

Headscale stores pending device approvals in a bounded authentication cache that unauthenticated Noise registration requests can populate. Once the cache reaches capacity, new entries evict legitimate pending approvals and resolve them as expired, allowing an unauthenticated client to repeatedly disrupt device enrollment. The proposed fix rejects excess registrations with a retry response while preserving admitted approvals, reserves capacity for registered nodes' SSH checks, and bounds retained registration payloads. This fix has not yet been merged or released.

How do I fix this?

There is no patched Headscale release yet; the pending-authentication fix in upstream remains open. Restrict the control server to trusted networks and rate-limit Noise upgrade and registration traffic until a fixed release is available. Updating Tailscale clients does not fix the Headscale registration-cache issue.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and untrusted clients can reach the Headscale control server's Noise registration endpoint.

Versions

0.29.0 - 0.29.6

No fix available

Background info

github.com/juanfont/headscale is vulnerable to Denial of Service (DoS) in versions 0.29.0 - 0.29.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea