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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-05 · Modified: 2026-05-06
- Aliases: MGASA-2026-0172, UBUNTU-CVE-2026-39402, DEBIAN-CVE-2026-39402, openSUSE-SU-2026:10678-1
- Record: https://cvemate.com/vulnerability/CVE-2026-39402 · JSON: https://cvemate.com/vulnerability/CVE-2026-39402/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
- EPSS: 0.164%, percentile 5.849%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian lxc (Debian): \< 1:5.0.2-1+deb12u4 \| \< 1:6.0.4-4+deb13u3 \| \< 1:7.0.0-1
- ubuntu lxc (Ubuntu): All versions (No fix recorded) \| \< 3.0.3-0ubuntu1~18.04.3+esm1 \| \< 1:4.0.12-0ubuntu1~20.04.1+esm1 \| \< 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 \| \< 1:5.0.3-2ubuntu7.3+esm1 \| \< 1:6.0.6-1ubuntu1+esm1
- linuxcontainers lxc: \< 7.0.0
- lxc lxc: \< 7.0.0
- mageia lxc (Mageia): \< 5.0.3-1.1.mga9
- opensuse lxc&distro=openSUSE Tumbleweed (openSUSE): \< 7.0.0-1.1

## References

- <https://github.com/lxc/lxc/security/advisories/GHSA-3m9j-g9gc-vcvq>
- <https://advisories.mageia.org/MGASA-2026-0172.html>
- <https://bugs.mageia.org/show_bug.cgi?id=35487>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/LRWSIWUURCABTGG26SGDYX7OCPQ7FIS7/>
- <https://ubuntu.com/security/CVE-2026-39402>
- <https://www.cve.org/CVERecord?id=CVE-2026-39402>
- <https://github.com/lxc/lxc/pull/4678>
- <https://ubuntu.com/security/notices/USN-8826-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-39402>
- <https://www.suse.com/security/cve/CVE-2026-39402>

---

Data as of 2026-12-05T04:20:24.419Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
