Skip to main content

LXC CVE-2026-39402

| EUVDEUVD-2026-27497 MEDIUM
Incorrect Authorization (CWE-863)
2026-05-05 GitHub_M
4.3
CVSS 4.0 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
4.3 MEDIUM
CVSS: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
SUSE
MEDIUM
qualitative

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
May 05, 2026 - 22:02 EUVD
Analysis Generated
May 05, 2026 - 21:33 vuln.today
CVSS changed
May 05, 2026 - 21:22 NVD
4.3 (MEDIUM)

DescriptionCVE.org

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.

AnalysisAI

Authorization bypass in LXC's setuid helper lxc-user-nic allows unprivileged users to delete OpenVSwitch-attached network interfaces belonging to other users. The vulnerability exists in the find_line() function's interface name comparison logic, which sets an authorization flag based on name match alone without re-verifying ownership, enabling a tenant to cause denial of service by disconnecting containers on shared infrastructure. This affects multi-tenant deployments using lxc-user-nic with OpenVSwitch bridges and is patched in LXC 7.0.0.

Technical ContextAI

LXC's lxc-user-nic is a setuid helper that manages per-user network interfaces by maintaining a database of NIC entries indexed by interface name, ownership, type, and link. The vulnerability resides in the delete path's find_line() function, which performs interface name lookups to authorize deletion requests. The flaw is a logic error (CWE-863: Incorrect Authorization) where the comparison reachable after the 'goto next' label allows a name-based match to satisfy authorization checks even when the matched database entry's ownership, type, or link fields belong to a different user. Because the authorization signal derived from this flawed match is not re-verified by downstream code before deletion is authorized, an unprivileged attacker with valid lxc-usernet policy can exploit this to target OVS ports on shared bridges. The vulnerability is specific to OpenVSwitch bridge configurations in multi-tenant setups where multiple unprivileged users manage containers on the same host.

RemediationAI

Upgrade LXC to version 7.0.0 or later, which patches the authorization logic in the find_line() function to properly re-verify database entry ownership before authorizing deletion. For environments unable to immediately upgrade, restrict lxc-user-nic policy entries to prevent cross-user interface access by carefully scoping lxc-usernet policy configuration to limit which interfaces each unprivileged user can manage - explicitly enumerate allowed interfaces by name and owner in the lxc-usernet policy file rather than using broad wildcards. Additionally, isolate multi-tenant workloads on separate physical bridges or use separate OpenVSwitch instances per tenant to prevent interface name collisions. These workarounds have operational trade-offs: restrictive policies may limit container flexibility, and bridge isolation increases infrastructure complexity. The recommended fix is patching to 7.0.0. See GitHub advisory GHSA-3m9j-g9gc-vcvq for verification steps.

More in Lxc

View all
CVE-2013-6441 HIGH POC
7.2 Feb 14

The lxc-sshd template (templates/lxc-sshd.in) in LXC before 1.0.0.beta2 uses read-write permissions when mounting /sbin/

CVE-2026-33945 CRITICAL
9.9 Mar 26

Path traversal in Incus system container manager allows authenticated remote attackers to write arbitrary files as root

CVE-2026-33897 CRITICAL
9.9 Mar 26

Incus system container and virtual machine manager versions prior to 6.23.0 allow authenticated users with instance acce

CVE-2016-8649 CRITICAL
9.1 May 01

lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 allows an attacker inside of an unprivileged container to use an inh

CVE-2015-1331 MEDIUM POC
4.9 Aug 12

lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.

CVE-2026-33898 HIGH
8.8 Mar 26

Authentication bypass in Incus webui (versions prior to 6.23.0) permits local or remote attackers to gain unauthorized a

CVE-2016-10124 HIGH
8.6 Jan 09

An issue was discovered in Linux Containers (LXC) before 2016-02-22. Rated high severity (CVSS 8.6), this vulnerability

CVE-2015-1335 HIGH
7.2 Oct 01

lxc-start in lxc before 1.0.8 and 1.1.x before 1.1.4 allows local container administrators to escape AppArmor confinemen

CVE-2026-33743 MEDIUM
6.5 Mar 26

Denial of service in Incus prior to version 6.23.0 allows authenticated users with storage bucket access to crash the In

CVE-2026-33542 MEDIUM
5.7 Mar 26

Incus versions prior to 6.23.0 fail to validate image fingerprints when downloading from simplestreams servers, enabling

CVE-2026-33711 MEDIUM
4.7 Mar 26

Incus versions prior to 6.23.0 allow local authenticated attackers to manipulate temporary screenshot files via predicta

CVE-2015-1334 MEDIUM
4.6 Aug 12

attach.c in LXC 1.1.2 and earlier uses the proc filesystem in a container, which allows local container users to escape

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
openSUSE Tumbleweed Fixed

Share

CVE-2026-39402 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy