UBUNTU-CVE-2026-39402 (CVE-2026-39402)

Vulnerability from osv_ubuntu – Published: 2026-05-05 21:16 – Updated: 2026-11-24 10:24 – Source website
VLAI
Details

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.

Upstream
Related
Impacted products
Ecosystem Package Version
Ubuntu:14.04:LTS lxc
pkg:deb/ubuntu/lxc@1.0.10-0ubuntu1.1?arch=source&distro=trusty
Affected: All versions (ecosystem)
1.0.0~alpha1-0ubuntu111.0.0~alpha2-0ubuntu11.0.0~alpha2-0ubuntu31.0.0~alpha2-0ubuntu41.0.0~alpha2-0ubuntu51.0.0~alpha2-0ubuntu61.0.0~alpha3-0ubuntu11.0.0~alpha3-0ubuntu21.0.0~alpha3-0ubuntu31.0.0~alpha3-0ubuntu4 and 41 more (see JSON)
Ubuntu:Pro:18.04:LTS lxc
pkg:deb/ubuntu/lxc@3.0.3-0ubuntu1~18.04.3+esm1?arch=source&distro=esm-infra/bionic
Affected: < 3.0.3-0ubuntu1~18.04.3+esm1 (ecosystem)
2.1.0-0ubuntu12.1.1-0ubuntu13.0.0~beta1-0ubuntu33.0.0~beta2-0ubuntu23.0.0~beta3-0ubuntu13.0.0~beta4-0ubuntu13.0.0-0ubuntu13.0.0-0ubuntu23.0.1-0ubuntu1~18.04.13.0.1-0ubuntu1~18.04.2 and 3 more (see JSON)
Ubuntu:Pro:20.04:LTS lxc
pkg:deb/ubuntu/lxc@1:4.0.12-0ubuntu1~20.04.1+esm1?arch=source&distro=esm-apps/focal
Affected: < 1:4.0.12-0ubuntu1~20.04.1+esm1 (ecosystem)
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
Ubuntu:Pro:22.04:LTS lxc
pkg:deb/ubuntu/lxc@1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1?arch=source&distro=esm-apps/jammy
Affected: < 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1 (ecosystem)
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
Ubuntu:Pro:24.04:LTS lxc
pkg:deb/ubuntu/lxc@1:5.0.3-2ubuntu7.3+esm1?arch=source&distro=esm-apps/noble
Affected: < 1:5.0.3-2ubuntu7.3+esm1 (ecosystem)
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
Ubuntu:25.10 lxc
pkg:deb/ubuntu/lxc@1:6.0.4-4ubuntu1?arch=source&distro=questing
Affected: All versions (ecosystem)
1:6.0.3-11:6.0.4-21:6.0.4-31:6.0.4-41:6.0.4-4ubuntu1
Ubuntu:Pro:26.04:LTS lxc
pkg:deb/ubuntu/lxc@1:6.0.6-1ubuntu1+esm1?arch=source&distro=esm-apps/resolute
Affected: < 1:6.0.6-1ubuntu1+esm1 (ecosystem)
1:6.0.4-4ubuntu11:6.0.6-11:6.0.6-1ubuntu1

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblxc1",
            "binary_version": "1.0.10-0ubuntu1.1"
          },
          {
            "binary_name": "lxc",
            "binary_version": "1.0.10-0ubuntu1.1"
          },
          {
            "binary_name": "lxc-templates",
            "binary_version": "1.0.10-0ubuntu1.1"
          },
          {
            "binary_name": "lxc-tests",
            "binary_version": "1.0.10-0ubuntu1.1"
          },
          {
            "binary_name": "python3-lxc",
            "binary_version": "1.0.10-0ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "lxc",
        "purl": "pkg:deb/ubuntu/lxc@1.0.10-0ubuntu1.1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.0~alpha1-0ubuntu11",
        "1.0.0~alpha2-0ubuntu1",
        "1.0.0~alpha2-0ubuntu3",
        "1.0.0~alpha2-0ubuntu4",
        "1.0.0~alpha2-0ubuntu5",
        "1.0.0~alpha2-0ubuntu6",
        "1.0.0~alpha3-0ubuntu1",
        "1.0.0~alpha3-0ubuntu2",
        "1.0.0~alpha3-0ubuntu3",
        "1.0.0~alpha3-0ubuntu4",
        "1.0.0~alpha3-0ubuntu5",
        "1.0.0~alpha3-0ubuntu6",
        "1.0.0~alpha3-0ubuntu7",
        "1.0.0~alpha3-0ubuntu8",
        "1.0.0~beta1-0ubuntu1",
        "1.0.0~beta1-0ubuntu2",
        "1.0.0~beta1-0ubuntu3",
        "1.0.0~beta2-0ubuntu1",
        "1.0.0~beta2-0ubuntu2",
        "1.0.0~beta3-0ubuntu1",
        "1.0.0~beta4-0ubuntu1",
        "1.0.0~beta4-0ubuntu2",
        "1.0.0~rc1-0ubuntu2",
        "1.0.0~rc3-0ubuntu1",
        "1.0.0~rc4-0ubuntu1",
        "1.0.0-0ubuntu1",
        "1.0.0-0ubuntu2",
        "1.0.0-0ubuntu3",
        "1.0.0-0ubuntu4",
        "1.0.1-0ubuntu1",
        "1.0.2-0ubuntu1",
        "1.0.2-0ubuntu2",
        "1.0.3-0ubuntu1",
        "1.0.3-0ubuntu2",
        "1.0.3-0ubuntu3",
        "1.0.4-0ubuntu0.1",
        "1.0.5-0ubuntu0.1",
        "1.0.6-0ubuntu0.1",
        "1.0.7-0ubuntu0.1",
        "1.0.7-0ubuntu0.2",
        "1.0.7-0ubuntu0.5",
        "1.0.7-0ubuntu0.6",
        "1.0.7-0ubuntu0.7",
        "1.0.7-0ubuntu0.9",
        "1.0.7-0ubuntu0.10",
        "1.0.8-0ubuntu0.3",
        "1.0.8-0ubuntu0.4",
        "1.0.9-0ubuntu2",
        "1.0.9-0ubuntu3",
        "1.0.10-0ubuntu1",
        "1.0.10-0ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "liblxc-common",
            "binary_version": "3.0.3-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "liblxc1",
            "binary_version": "3.0.3-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "libpam-cgfs",
            "binary_version": "3.0.3-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "lxc",
            "binary_version": "3.0.3-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "lxc-utils",
            "binary_version": "3.0.3-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "lxc1",
            "binary_version": "3.0.3-0ubuntu1~18.04.3+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "lxc",
        "purl": "pkg:deb/ubuntu/lxc@3.0.3-0ubuntu1~18.04.3+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.3-0ubuntu1~18.04.3+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.1.0-0ubuntu1",
        "2.1.1-0ubuntu1",
        "3.0.0~beta1-0ubuntu3",
        "3.0.0~beta2-0ubuntu2",
        "3.0.0~beta3-0ubuntu1",
        "3.0.0~beta4-0ubuntu1",
        "3.0.0-0ubuntu1",
        "3.0.0-0ubuntu2",
        "3.0.1-0ubuntu1~18.04.1",
        "3.0.1-0ubuntu1~18.04.2",
        "3.0.2-0ubuntu1~18.04.1",
        "3.0.3-0ubuntu1~18.04.1",
        "3.0.3-0ubuntu1~18.04.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "liblxc-common",
            "binary_version": "1:4.0.12-0ubuntu1~20.04.1+esm1"
          },
          {
            "binary_name": "liblxc1",
            "binary_version": "1:4.0.12-0ubuntu1~20.04.1+esm1"
          },
          {
            "binary_name": "libpam-cgfs",
            "binary_version": "1:4.0.12-0ubuntu1~20.04.1+esm1"
          },
          {
            "binary_name": "lxc",
            "binary_version": "1:4.0.12-0ubuntu1~20.04.1+esm1"
          },
          {
            "binary_name": "lxc-utils",
            "binary_version": "1:4.0.12-0ubuntu1~20.04.1+esm1"
          },
          {
            "binary_name": "lxc1",
            "binary_version": "1:4.0.12-0ubuntu1~20.04.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "lxc",
        "purl": "pkg:deb/ubuntu/lxc@1:4.0.12-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:4.0.12-0ubuntu1~20.04.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.4-0ubuntu1",
        "3.0.4-0ubuntu2",
        "1:4.0.0-0ubuntu2",
        "1:4.0.1-0ubuntu1",
        "1:4.0.1-0ubuntu2",
        "1:4.0.2-0ubuntu1",
        "1:4.0.6-0ubuntu1~20.04.1",
        "1:4.0.12-0ubuntu1~20.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "liblxc-common",
            "binary_version": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "liblxc1",
            "binary_version": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "libpam-cgfs",
            "binary_version": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "lxc",
            "binary_version": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "lxc-utils",
            "binary_version": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "lxc1",
            "binary_version": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "lxc",
        "purl": "pkg:deb/ubuntu/lxc@1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.0.10-0ubuntu5",
        "1:4.0.12-0ubuntu1",
        "1:4.0.12-0ubuntu2",
        "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1",
        "1:5.0.0~git2209-g5a7b9ce67-0ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "liblxc-common",
            "binary_version": "1:5.0.3-2ubuntu7.3+esm1"
          },
          {
            "binary_name": "liblxc1t64",
            "binary_version": "1:5.0.3-2ubuntu7.3+esm1"
          },
          {
            "binary_name": "libpam-cgfs",
            "binary_version": "1:5.0.3-2ubuntu7.3+esm1"
          },
          {
            "binary_name": "lxc",
            "binary_version": "1:5.0.3-2ubuntu7.3+esm1"
          },
          {
            "binary_name": "lxc-tests",
            "binary_version": "1:5.0.3-2ubuntu7.3+esm1"
          },
          {
            "binary_name": "lxc-utils",
            "binary_version": "1:5.0.3-2ubuntu7.3+esm1"
          },
          {
            "binary_name": "lxc1",
            "binary_version": "1:5.0.3-2ubuntu7.3+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "lxc",
        "purl": "pkg:deb/ubuntu/lxc@1:5.0.3-2ubuntu7.3+esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:5.0.3-2ubuntu7.3+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:5.0.1-0ubuntu7",
        "1:5.0.1-0ubuntu8",
        "1:5.0.3-2ubuntu5",
        "1:5.0.3-2ubuntu7",
        "1:5.0.3-2ubuntu7.1",
        "1:5.0.3-2ubuntu7.2",
        "1:5.0.3-2ubuntu7.3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblxc-common",
            "binary_version": "1:6.0.4-4ubuntu1"
          },
          {
            "binary_name": "liblxc1t64",
            "binary_version": "1:6.0.4-4ubuntu1"
          },
          {
            "binary_name": "libpam-cgfs",
            "binary_version": "1:6.0.4-4ubuntu1"
          },
          {
            "binary_name": "lxc",
            "binary_version": "1:6.0.4-4ubuntu1"
          },
          {
            "binary_name": "lxc-tests",
            "binary_version": "1:6.0.4-4ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "lxc",
        "purl": "pkg:deb/ubuntu/lxc@1:6.0.4-4ubuntu1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.0.3-1",
        "1:6.0.4-2",
        "1:6.0.4-3",
        "1:6.0.4-4",
        "1:6.0.4-4ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "liblxc-common",
            "binary_version": "1:6.0.6-1ubuntu1+esm1"
          },
          {
            "binary_name": "liblxc1t64",
            "binary_version": "1:6.0.6-1ubuntu1+esm1"
          },
          {
            "binary_name": "libpam-cgfs",
            "binary_version": "1:6.0.6-1ubuntu1+esm1"
          },
          {
            "binary_name": "lxc",
            "binary_version": "1:6.0.6-1ubuntu1+esm1"
          },
          {
            "binary_name": "lxc-tests",
            "binary_version": "1:6.0.6-1ubuntu1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:26.04:LTS",
        "name": "lxc",
        "purl": "pkg:deb/ubuntu/lxc@1:6.0.6-1ubuntu1+esm1?arch=source\u0026distro=esm-apps/resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:6.0.6-1ubuntu1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.0.4-4ubuntu1",
        "1:6.0.6-1",
        "1:6.0.6-1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "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\u0027s 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.",
  "id": "UBUNTU-CVE-2026-39402",
  "modified": "2026-11-24T10:24:09Z",
  "published": "2026-05-05T21:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-39402"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-39402"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/lxc/lxc/security/advisories/GHSA-3m9j-g9gc-vcvq"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/lxc/lxc/pull/4678"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8826-1"
    }
  ],
  "related": [
    "USN-8826-1"
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "source": "CNA",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H",
      "source": "NVD",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "source": "SELF",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-39402"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.