CVEfocus › CVE database › CVE-2026-39402

CVE-2026-39402lxc lxc-user-nic insufficient ownership validation allows cross-tenant OVS port deletion

CVSS 4.3 MediumEPSS 0.1% (higher than 2% of CVEs)Published 2026-05-05Updated 2026-05-06Assigner: GitHub_M

lxc is a Linux container runtime. In the setuid helper lxc-user-nic, the delete path contains a logic flaw in the find_line() function that allows an unprivileged user to delete OVS-attached network interfaces belonging to other users. When lxc-user-nic delete scans its NIC database to authorize a deletion request, the interface name comparison can set the authorization flag based on a name match alone, even when the ownership, type, and link fields in that database entry belong to a different user. The vulnerable check sits after the goto next label handling, meaning it is reachable on lines where earlier ownership checks failed or were skipped. Because nothing downstream of this authorization signal re-verifies that the matched database line actually belongs to the caller, an unprivileged attacker with a valid lxc-usernet policy entry can trigger deletion of another user's OVS port on the same bridge. This is limited to multi-tenant environments using lxc-user-nic with OpenVSwitch bridges. The impact is denial of service - one tenant can repeatedly disconnect networking from containers run by another tenant on shared infrastructure. This is patched in version 7.0.0.

CWE-863

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu 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

3Fixed
6Fix pending
1Will not fix

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 26.04lxcFix pending1:6.0.6-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-39402
Ubuntu 25.10lxcWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-39402
Ubuntu 24.04lxcFix pending1:5.0.3-2ubuntu7.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-39402
Ubuntu 22.04lxcFix pending1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-39402
Ubuntu 20.04lxcFix pending1:4.0.12-0ubuntu1~20.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-39402
Ubuntu 18.04lxcFix pending3.0.3-0ubuntu1~18.04.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-39402
Ubuntu 14.04lxcFix pendingUBUNTU-CVE-2026-39402
Debian 14lxcFixed1:7.0.0-1DEBIAN-CVE-2026-39402
Debian 13lxcFixed1:6.0.4-4+deb13u3DEBIAN-CVE-2026-39402
Debian 12lxcFixed1:5.0.2-1+deb12u4DEBIAN-CVE-2026-39402

What the vendor says

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

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.