{"schemaVersion":3,"id":"CVE-2026-39402","aliases":["MGASA-2026-0172","UBUNTU-CVE-2026-39402","DEBIAN-CVE-2026-39402","openSUSE-SU-2026:10678-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.\n\nThis 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.","dates":{"published":"2026-05-05T20:45:24.107Z","modified":"2026-05-06T14:57:40.046Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":5.1,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":5.1,"impact":6.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00136,"percentile":0.02767,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.02599999999999998,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00162},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00136,"percentile":0.02767}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00136,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00136,"percentile":0.02767}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_LXC_LXC","name":"Lxc","source":"github","url":"https://github.com/lxc/lxc/commit/f4d5cc8e1f39d132b61e110674528cac727ae0e2","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"debian","product":"lxc","name":"lxc","label":"lxc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lxc","purlType":"deb","versions":[{"text":"< 1:5.0.2-1+deb12u4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:6.0.4-4+deb13u3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:7.0.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:5.0.2-1+deb12u4 | < 1:6.0.4-4+deb13u3 | < 1:7.0.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lxc","name":"lxc","label":"lxc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lxc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3.0.3-0ubuntu1~18.04.3+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:4.0.12-0ubuntu1~20.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:5.0.3-2ubuntu7.3+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:6.0.6-1ubuntu1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"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","eol":null,"hubHref":null},{"vendor":"linuxcontainers","product":"lxc","name":"lxc","label":"lxc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.0","eol":null,"hubHref":"/vendor/linuxcontainers/lxc"},{"vendor":"lxc","product":"lxc","name":"lxc","label":"lxc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.0","eol":null,"hubHref":"/vendor/lxc/lxc"},{"vendor":"mageia","product":"lxc","name":"lxc","label":"lxc","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/lxc","purlType":"rpm","versions":[{"text":"< 5.0.3-1.1.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.3-1.1.mga9","eol":null,"hubHref":null},{"vendor":"opensuse","product":"lxc&distro=openSUSE Tumbleweed","name":"lxc","label":"lxc&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/lxc&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.0.0-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.0-1.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/lxc/lxc/security/advisories/GHSA-3m9j-g9gc-vcvq","label":"github.com/lxc/lxc/security/advisories/GHSA-3m9j-g9gc-vcvq","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","REPORT","Exploit","Vendor Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0172.html","label":"advisories.mageia.org/MGASA-2026-0172.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35487","label":"bugs.mageia.org/show_bug.cgi?id=35487","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/LRWSIWUURCABTGG26SGDYX7OCPQ7FIS7/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-39402","label":"ubuntu.com/security/CVE-2026-39402","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-39402","label":"www.cve.org/CVERecord?id=CVE-2026-39402","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/lxc/lxc/pull/4678","label":"github.com/lxc/lxc/pull/4678","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8826-1","label":"ubuntu.com/security/notices/USN-8826-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-39402","label":"security-tracker.debian.org/tracker/CVE-2026-39402","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-39402","label":"www.suse.com/security/cve/CVE-2026-39402","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11651-1","USN-8826-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11651-1","USN-8826-1"]},"timeline":[{"kind":"published","date":"2026-05-05T20:45:24.107Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-06T14:57:40.046Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:07:34.262Z","stale":false,"partial":false}}