CVE-2025-32802 Insecure handling of file paths allows multiple local attacks
Attackers can overwrite arbitrary files via insecure path handling in Kea, potentially leading to privilege escalation if the service runs as root.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-32802?
CVE-2025-32802 is a medium-severity path traversal vulnerability in ISC Kea, published on 28 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Kea configuration and API directives can be used to overwrite arbitrary files, subject to permissions granted to Kea. Many common configurations run Kea as root, leave the API entry points unsecured by default, and/or place the control sockets in insecure paths. This issue affects Kea versions 2.4.0 through 2.4.1, 2.6.0 through 2.6.2, and 2.7.0 through 2.7.8.
Which versions are affected by CVE-2025-32802?
How do I fix CVE-2025-32802?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-32802 being exploited?
There is no known exploitation of CVE-2025-32802 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2025-32802, DEBIAN-CVE-2025-32802, GHSA-vwc9-wh34-hrfm, UBUNTU-CVE-2025-32802.