CVEfocus › CVE database › CVE-2025-32802

CVE-2025-32802Insecure handling of file paths allows multiple local attacks

CVSS 6.1 MediumEPSS 0.3% (higher than 12% of CVEs)Published 2025-05-28Updated 2025-05-28Assigner: isc

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.

CWE-379CWE-73

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
1Fix pending
2Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10isc-keaFixed2.6.3-1UBUNTU-CVE-2025-32802
Ubuntu 24.04isc-keaWill not fix
The changes in the new version are massive and restrict configuration and data files to a specific directory set at build time. This may introduce a…
UBUNTU-CVE-2025-32802
Ubuntu 22.04isc-keaNot affected
vulnerable_code_not_present
Ubuntu 20.04isc-keaWill not fix
The changes in the new version are massive and restrict configuration and data files to a specific directory set at build time. This may introduce a…
Debian 14isc-keaFixed2.6.3-1DEBIAN-CVE-2025-32802
Debian 13isc-keaFixed2.6.3-1DEBIAN-CVE-2025-32802
Debian 12isc-keaFix pendingDEBIAN-CVE-2025-32802
Red Hat Enterprise Linux 10keaFixed0:2.6.3-1.el10_0RHSA-2025:9178
Red Hat Enterprise Linux 10kea-docFixed0:2.6.3-1.el10_0RHSA-2025:9178
Red Hat Enterprise Linux 10kea-hooksFixed0:2.6.3-1.el10_0RHSA-2025:9178
Red Hat Enterprise Linux 10kea-keamaFixed0:2.6.3-1.el10_0RHSA-2025:9178
Red Hat Enterprise Linux 10kea-libsFixed0:2.6.3-1.el10_0RHSA-2025:9178
AlmaLinux 10kea-docFixed2.6.3-1.el10_0ALSA-2025:9178
Rocky Linux 10keaFixed0:2.6.3-1.el10_0RLSA-2025:9178
Alpine Linux 3.24keaFixed2.6.3-r0ALPINE-CVE-2025-32802
Alpine Linux 3.23keaFixed2.6.3-r0ALPINE-CVE-2025-32802
Alpine Linux 3.22keaFixed2.6.3-r0ALPINE-CVE-2025-32802

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of Kea: 2.4.2, 2.6.3, or 2.7.9.

Workaround: Two mitigation approaches are possible: (1) Disable the API entirely, by (1a) disabling the `kea-ctrl-agent`, and (1b) removing any `"control-socket"` stanzas from the Kea configuration files; or (2) Secure access to the API by (2a) requiring authentication (a password or client certificate) for the `kea-ctrl-agent`, and (2b) configuring all `"control-socket"` stanzas to use a directory restricted to only trusted users.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.