Intel

AIKIDO-2025-10711

github.com/slackhq/nebula is vulnerable to Improper Certificate Validation

Improper Certificate ValidationCVE-2025-62820 Published Oct 14, 2025

60

Medium Risk

This Affects:

GOgithub.com/slackhq/nebula
1.9.4 - 1.9.6
Fixed in 1.9.7
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to IP-spoofing due to improper CIDR construction in hostmap.go. When a node’s certificate contains multiple IPs or a routed subnet, the code incorrectly expands the allowed addresses (using Mask.Size() instead of the address bit length), letting a compromised or rogue node send packets with any source IP from the Nebula network that peers will accept. An attacker who controls such a node can impersonate other hosts, inject arbitrary UDP traffic, or disrupt connections (for example by sending forged TCP RSTs).

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/slackhq/nebula is vulnerable to Improper Certificate Validation in versions 1.9.4 - 1.9.6.

How to fix this

Upgrade the github.com/slackhq/nebula library to the patch version.