{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39402 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-39402 is a medium-severity missing authorization vulnerability in lxc, published on 5 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-39402 and fix it if it is affected.\n\nWhat it is: CVE-2026-39402 is a medium-severity missing authorization vulnerability in lxc, published on 5 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39402 exists.\n\nAffected product: lxc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-39402/ (Markdown: https://insights.sbomify.com/CVE-2026-39402/index.md)","id":"CVE-2026-39402","markdown":"https://insights.sbomify.com/CVE-2026-39402/index.md","name":"CVE-2026-39402","record":{"aliases":["DEBIAN-CVE-2026-39402","GHSA-3m9j-g9gc-vcvq","MGASA-2026-0172","OESA-2026-2657","UBUNTU-CVE-2026-39402","openSUSE-SU-2026:10678-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Linux container runtime","requires_auth":"low_privilege","summary":"An unprivileged user can delete network interfaces belonging to other users in multi-tenant LXC environments using OpenVSwitch, causing denial of service.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"lxc","vendor":"linuxcontainers"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"lxc lxc-user-nic insufficient ownership validation allows cross-tenant OVS port deletion","id":"CVE-2026-39402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":1,"n_references":1,"next":{"headline":"Frappe has Path Transversal via SCORM","id":"CVE-2026-39405"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.0.0-1.1"],"introduced":["0"],"last_affected":[],"package":"lxc","purl":"pkg:rpm/opensuse/lxc\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10678-1"}],"prev":{"headline":"Privilege Escalation via update_event Job Output in Cronicle","id":"CVE-2026-39401"},"products":["lxc"],"published":"2026-05-05","related":[{"cvss_score":9.1,"headline":"Path traversal in LXC before 1.0.9 and 2.x before 2.0.6","id":"CVE-2016-8649","kev_date_added":null,"published":"2017-05-01"},{"cvss_score":8.6,"headline":"Privilege escalation in n/a","id":"CVE-2016-10124","kev_date_added":null,"published":"2017-01-09"},{"cvss_score":8.1,"headline":"Supply chain in n/a","id":"CVE-2017-18641","kev_date_added":null,"published":"2020-02-10"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2013-6441","kev_date_added":null,"published":"2014-02-14"},{"cvss_score":4.9,"headline":"Path traversal in n/a","id":"CVE-2015-1331","kev_date_added":null,"published":"2015-08-12"},{"cvss_score":4.6,"headline":"Privilege escalation in n/a","id":"CVE-2015-1334","kev_date_added":null,"published":"2015-08-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-06","vendors":["lxc"]},"summary":"An unprivileged user can delete network interfaces belonging to other users in multi-tenant LXC environments using OpenVSwitch, causing denial of service.","url":"https://insights.sbomify.com/CVE-2026-39402/"}