Vulnerability in lxc
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-39402 has been found in lxc.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "lxc UBUNTU-CVE-2026-39402" on the vendor's site.
UBUNTU-CVE-2026-39402 (lxc)
Attack vector: local / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in lxc.
Check the vendor advisory for the affected versions of lxc.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'lxc' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'lxc' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
lxcを grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTSlxc |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlxc |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlxc |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlxc |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlxc |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlxc |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10lxc |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04lxc |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlxc |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlxc |
< 3.0.3-0ubuntu1~18.04.3+esm1→ 3.0.3-0ubuntu1~18.04.3+esm1 |
3.0.3-0ubuntu1~18.04.3+esm1 |
| Ubuntu:Pro:20.04:LTSlxc |
< 1:4.0.12-0ubuntu1~20.04.1+esm1→ 1:4.0.12-0ubuntu1~20.04.1+esm1 |
1:4.0.12-0ubuntu1~20.04.1+esm1 |
| Ubuntu:Pro:22.04:LTSlxc |
< 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1→ 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 |
1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 |
| Ubuntu:Pro:24.04:LTSlxc |
< 1:5.0.3-2ubuntu7.3+esm1→ 1:5.0.3-2ubuntu7.3+esm1 |
1:5.0.3-2ubuntu7.3+esm1 |
| Ubuntu:Pro:26.04:LTSlxc |
< 1:6.0.6-1ubuntu1+esm1→ 1:6.0.6-1ubuntu1+esm1 |
1:6.0.6-1ubuntu1+esm1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report github.com
- report github.com