github.com/juanfont/headscale is vulnerable to Denial of Service (DoS)
75
CVE Score
High
Denial of Service (DoS)
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.
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.
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.
0.29.0 - 0.29.6
No fix availablegithub.com/juanfont/headscale is vulnerable to Denial of Service (DoS) in versions 0.29.0 - 0.29.6.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.