Every CVE Search/ Get API key

CVE-2026-39402

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

4.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
None

Exploit likelihood

0.16%Up 0.1 points since May 6, 2026
90%50%10%1%

What each source reports

CVE List Score used 4.3

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

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.

Record
CVE-2026-39402
CVSS 4.0
4.3 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H
Weakness
CWE-863
Updated
2026-11-02
EUVDEUVD-2026-27497 4.3

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.

Record
EUVD-2026-27497
CVSS 4.0
4.3 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H
Updated
2026-11-02
NVD 4.3

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.

Record
CVE-2026-39402
CVSS 4.0
4.3 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
6.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-863
Updated
2026-11-02
OSV 4.3

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

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.

Record
CVE-2026-39402
CVSS 4.0
4.3 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H
Weakness
CWE-863
Updated
2026-11-02
OSVDEBIAN-CVE-2026-39402 6.5

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.

Record
DEBIAN-CVE-2026-39402
CVSS 3.1
6.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-2657 6.5

lxc security update

Linux Containers userspace tools

Security Fix(es):

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.(CVE-2026-39402)

Record
OESA-2026-2657
CVSS 3.1
6.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2026-39402 4.3

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.

Record
UBUNTU-CVE-2026-39402
CVSS 4.0
4.3 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H
CVSS 3.1
6.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2026-0172 No score

Updated lxc packages fix security vulnerability

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

Record
MGASA-2026-0172
Updated
2026-11-02
OSVopenSUSE-SU-2026:10678-1 No score

liblxc-devel-7.0.0-1.1 on GA media

These are all security issues fixed in the liblxc-devel-7.0.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10678-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11651-1 No score

incus-7.4-1.1 on GA media

These are all security issues fixed in the incus-7.4-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11651-1
Updated
2026-11-02
OSVUSN-8826-1 No score

lxc vulnerabilities

Maher Azzouzi discovered that LXC did not correctly handle logging certain failure messages. An attacker could possibly use this issue to leak sensitive information. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2022-47952)

Sam Sanoop discovered that LXC did not correctly handle certain forms of user authorization. An attacker could possibly use this issue to cause a denial of service. (CVE-2026-39402)

Record
USN-8826-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
lxc
Debian:12
before 1:5.0.2-1+deb12u4, plus listed versions
1:5.0.2-11:5.0.2-1+deb12u11:5.0.2-1+deb12u21:5.0.2-1+deb12u3
1:5.0.2-1+deb12u4
lxc
Debian:13
before 1:6.0.4-4+deb13u3, plus listed versions
1:6.0.4-41:6.0.4-4+deb13u11:6.0.4-4+deb13u2
1:6.0.4-4+deb13u3
lxc
Debian:14
before 1:7.0.0-1, plus listed versions
1:6.0.4-41:6.0.5-11:6.0.5-21:6.0.6-11:6.0.6-21:6.0.6-3
1:7.0.0-1
lxc
Mageia:9
before 5.0.3-1.1.mga9
5.0.3-1.1.mga9
lxc
openEuler:20.03-LTS-SP4
before 4.0.3-2022102419.oe2003sp4
4.0.3-2022102419.oe2003sp4
lxc
openEuler:22.03-LTS-SP4
before 4.0.3-2022102428.oe2203sp4
4.0.3-2022102428.oe2203sp4
lxc
openEuler:24.03-LTS-SP1
before 5.0.2-19.oe2403sp1
5.0.2-19.oe2403sp1
lxc
openEuler:24.03-LTS-SP3
before 5.0.2-19.oe2403sp3
5.0.2-19.oe2403sp3
lxc
Ubuntu:14.04:LTS
All versions, plus listed versions
1.0.0~alpha1-0ubuntu111.0.0~alpha2-0ubuntu11.0.0~alpha2-0ubuntu31.0.0~alpha2-0ubuntu41.0.0~alpha2-0ubuntu5
Show 45 moreShow less
1.0.0~alpha2-0ubuntu61.0.0~alpha3-0ubuntu11.0.0~alpha3-0ubuntu21.0.0~alpha3-0ubuntu31.0.0~alpha3-0ubuntu41.0.0~alpha3-0ubuntu51.0.0~alpha3-0ubuntu61.0.0~alpha3-0ubuntu71.0.0~alpha3-0ubuntu81.0.0~beta1-0ubuntu11.0.0~beta1-0ubuntu21.0.0~beta1-0ubuntu31.0.0~beta2-0ubuntu11.0.0~beta2-0ubuntu21.0.0~beta3-0ubuntu11.0.0~beta4-0ubuntu11.0.0~beta4-0ubuntu21.0.0~rc1-0ubuntu21.0.0~rc3-0ubuntu11.0.0~rc4-0ubuntu11.0.0-0ubuntu11.0.0-0ubuntu21.0.0-0ubuntu31.0.0-0ubuntu41.0.1-0ubuntu11.0.2-0ubuntu11.0.2-0ubuntu21.0.3-0ubuntu11.0.3-0ubuntu21.0.3-0ubuntu31.0.4-0ubuntu0.11.0.5-0ubuntu0.11.0.6-0ubuntu0.11.0.7-0ubuntu0.11.0.7-0ubuntu0.21.0.7-0ubuntu0.51.0.7-0ubuntu0.61.0.7-0ubuntu0.71.0.7-0ubuntu0.91.0.7-0ubuntu0.101.0.8-0ubuntu0.31.0.8-0ubuntu0.41.0.9-0ubuntu21.0.9-0ubuntu31.0.10-0ubuntu1
None known
lxc
Ubuntu:Pro:18.04:LTS
before 3.0.3-0ubuntu1~18.04.3+esm1, plus listed versions
2.1.0-0ubuntu12.1.1-0ubuntu13.0.0~beta1-0ubuntu33.0.0~beta2-0ubuntu23.0.0~beta3-0ubuntu1
Show 8 moreShow less
3.0.0~beta4-0ubuntu13.0.0-0ubuntu13.0.0-0ubuntu23.0.1-0ubuntu1~18.04.13.0.1-0ubuntu1~18.04.23.0.2-0ubuntu1~18.04.13.0.3-0ubuntu1~18.04.13.0.3-0ubuntu1~18.04.3
3.0.3-0ubuntu1~18.04.3+esm1
Show 13 moreShow less
Affected packages
PackageAffectedFixed
lxc
Ubuntu:Pro:20.04:LTS
before 1:4.0.12-0ubuntu1~20.04.1+esm1, plus listed versions
3.0.4-0ubuntu13.0.4-0ubuntu21:4.0.0-0ubuntu21:4.0.1-0ubuntu11:4.0.1-0ubuntu21:4.0.2-0ubuntu11:4.0.6-0ubuntu1~20.04.11:4.0.12-0ubuntu1~20.04.1
1:4.0.12-0ubuntu1~20.04.1+esm1
lxc
Ubuntu:Pro:22.04:LTS
before 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, plus listed versions
1:4.0.10-0ubuntu51:4.0.12-0ubuntu11:4.0.12-0ubuntu21:5.0.0~git2209-g5a7b9ce67-0ubuntu11:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1
1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1
lxc
Ubuntu:Pro:24.04:LTS
before 1:5.0.3-2ubuntu7.3+esm1, plus listed versions
1:5.0.1-0ubuntu71:5.0.1-0ubuntu81:5.0.3-2ubuntu51:5.0.3-2ubuntu71:5.0.3-2ubuntu7.11:5.0.3-2ubuntu7.21:5.0.3-2ubuntu7.3
1:5.0.3-2ubuntu7.3+esm1
lxc
Ubuntu:25.10
All versions, plus listed versions
1:6.0.3-11:6.0.4-21:6.0.4-31:6.0.4-41:6.0.4-4ubuntu1
None known
lxc
Ubuntu:Pro:26.04:LTS
before 1:6.0.6-1ubuntu1+esm1, plus listed versions
1:6.0.4-4ubuntu11:6.0.6-11:6.0.6-1ubuntu1
1:6.0.6-1ubuntu1+esm1
lxc
Ubuntu:Pro:16.04:LTS
From an advisory covering 2 CVEs
before 2.0.11-0ubuntu1~16.04.3+esm1, plus listed versions
1.1.4-0ubuntu11.1.4-0ubuntu1.11.1.4-0ubuntu31.1.5-0ubuntu11.1.5-0ubuntu2
Show 34 moreShow less
1.1.5-0ubuntu31.1.5-0ubuntu41.1.5-0ubuntu51.1.5-0ubuntu62.0.0~beta2-0ubuntu22.0.0~rc1-0ubuntu12.0.0~rc2-0ubuntu22.0.0~rc3-0ubuntu12.0.0~rc3-0ubuntu22.0.0~rc3-0ubuntu32.0.0~rc4-0ubuntu12.0.0~rc5-0ubuntu12.0.0~rc9-0ubuntu12.0.0~rc10-0ubuntu12.0.0~rc10-0ubuntu22.0.0~rc11-0ubuntu12.0.0~rc12-0ubuntu12.0.0~rc13-0ubuntu22.0.0~rc14-0ubuntu22.0.0~rc15-0ubuntu12.0.0-0ubuntu12.0.0-0ubuntu22.0.1-0ubuntu1~16.04.12.0.3-0ubuntu1~ubuntu16.04.12.0.4-0ubuntu1~ubuntu16.04.22.0.5-0ubuntu1~ubuntu16.04.12.0.5-0ubuntu1~ubuntu16.04.22.0.5-0ubuntu1~ubuntu16.04.32.0.6-0ubuntu1~ubuntu16.04.12.0.6-0ubuntu1~ubuntu16.04.22.0.7-0ubuntu1~16.04.12.0.7-0ubuntu1~16.04.22.0.8-0ubuntu1~16.04.22.0.11-0ubuntu1~16.04.3
2.0.11-0ubuntu1~16.04.3+esm1
lxc
Ubuntu:Pro:18.04:LTS
From an advisory covering 2 CVEs
before 3.0.3-0ubuntu1~18.04.3+esm1, plus listed versions
2.1.0-0ubuntu12.1.1-0ubuntu13.0.0~beta1-0ubuntu33.0.0~beta2-0ubuntu23.0.0~beta3-0ubuntu1
Show 8 moreShow less
3.0.0~beta4-0ubuntu13.0.0-0ubuntu13.0.0-0ubuntu23.0.1-0ubuntu1~18.04.13.0.1-0ubuntu1~18.04.23.0.2-0ubuntu1~18.04.13.0.3-0ubuntu1~18.04.13.0.3-0ubuntu1~18.04.3
3.0.3-0ubuntu1~18.04.3+esm1
lxc
Ubuntu:Pro:20.04:LTS
From an advisory covering 2 CVEs
before 1:4.0.12-0ubuntu1~20.04.1+esm1, plus listed versions
3.0.4-0ubuntu13.0.4-0ubuntu21:4.0.0-0ubuntu21:4.0.1-0ubuntu11:4.0.1-0ubuntu21:4.0.2-0ubuntu11:4.0.6-0ubuntu1~20.04.11:4.0.12-0ubuntu1~20.04.1
1:4.0.12-0ubuntu1~20.04.1+esm1
lxc
Ubuntu:Pro:22.04:LTS
From an advisory covering 2 CVEs
before 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1, plus listed versions
1:4.0.10-0ubuntu51:4.0.12-0ubuntu11:4.0.12-0ubuntu21:5.0.0~git2209-g5a7b9ce67-0ubuntu11:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1
1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1
lxc
Ubuntu:Pro:24.04:LTS
From an advisory covering 2 CVEs
before 1:5.0.3-2ubuntu7.3+esm1, plus listed versions
1:5.0.1-0ubuntu71:5.0.1-0ubuntu81:5.0.3-2ubuntu51:5.0.3-2ubuntu71:5.0.3-2ubuntu7.11:5.0.3-2ubuntu7.21:5.0.3-2ubuntu7.3
1:5.0.3-2ubuntu7.3+esm1
lxc
Ubuntu:Pro:26.04:LTS
From an advisory covering 2 CVEs
before 1:6.0.6-1ubuntu1+esm1, plus listed versions
1:6.0.4-4ubuntu11:6.0.6-11:6.0.6-1ubuntu1
1:6.0.6-1ubuntu1+esm1
lxc
openSUSE:Tumbleweed
before 7.0.0-1.1
7.0.0-1.1
incus
openSUSE:Tumbleweed
From an advisory covering 21 CVEs
before 7.4-1.1
7.4-1.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-39402 is a medium vulnerability (CVSS 4.3) in Linuxcontainers Lxc, published May 4, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.16%, the 5th percentile. Fixed in lxc 1:5.0.2-1+deb12u4.

References

Show 28 moreShow less
This page doesn't list everything

Left out here: 1 version. The JSON record has them.

MoveEnter Open