CVE-2026-40214: Openstack cyborg Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-mmpc-xjxr-5hf8
CVSS 6.3
CWE-282
Published
Advisory Summary

CVE-2026-40214 is a MODERATE (CVSS 6.3) remote code execution vulnerability (CWE-282: Improper Ownership Management) affecting Openstack cyborg libraries in the PyPI ecosystem. The issue involves openstack cyborg's accelerator request (arq) api does not enforce project ownership at any layer. Remediation is available by upgrading affected packages to version 16.0.1.

CVE-2026-40214 at a Glance

CVE Identifier CVE-2026-40214
GHSA Identifier GHSA-mmpc-xjxr-5hf8
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-282: Improper Ownership Management
Affected Product Openstack cyborg
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-40214

To remediate this vulnerability, upgrade all affected Openstack cyborg dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

openstack-cyborg fixed: 16.0.1
pip install openstack-cyborg>=16.0.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show openstack-cyborg

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-40214, inspect your installed packages using pip:

pip show openstack-cyborg

Analyze the terminal output to locate any version of Openstack cyborg in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.0.1), your application is affected.

Note: The pip show openstack-cyborg command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-282: Improper Ownership Management, where the product assigns the wrong ownership, or does not properly verify the ownership, of an object or resource. In Openstack cyborg, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In OpenStack Cyborg before 16.0.1, the Accelerator Request (ARQ) API does not enforce project ownership at any layer. The project_id column in the database is never populated (NULL for every ARQ), database queries have no project filtering, and policy checks are self-referential (the authorize_wsgi decorator compares the caller's project_id with itself rather than the target resource). Any authenticated non-admin user can complete various actions such as deleting ARQs bound to other projects' instances, aka cross-tenant denial of service.

CVE-2026-40214 Affected Openstack cyborg Versions

1 component(s)
Fixed Versions:
16.0.1
Product / Package Ecosystem Affected Versions Fixed Version
openstack-cyborg
PyPI
< 16.0.1
16.0.1

References

Frequently Asked Questions

What is CVE-2026-40214?
CVE-2026-40214 is a security vulnerability in Openstack cyborg involving OpenStack Cyborg's Accelerator Request (ARQ) API does not enforce project ownership at any layer under CWE-282: Improper Ownership Management.
Which Openstack cyborg versions are affected?
Affected versions include releases prior to 16.0.1 across affected packages: openstack-cyborg.
What version fixes CVE-2026-40214?
Upgrading to 16.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openstack-cyborg affected?
Yes, openstack-cyborg is affected in releases prior to 16.0.1. Upgrade your dependency to 16.0.1 or later.
What is the CVSS score of CVE-2026-40214?
CVE-2026-40214 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-40214?
CVE-2026-40214 is classified under CWE-282: Improper Ownership Management (The product assigns the wrong ownership, or does not properly verify the ownership, of an object or resource.).
How can I check PyPI dependencies for CVE-2026-40214?
Run the dependency tree command: 'pip show openstack-cyborg'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mmpc-xjxr-5hf8",
  "modified" : "2026-05-13T01:37:26Z",
  "published" : "2026-05-08T00:31:34Z",
  "aliases" : [ "CVE-2026-40214" ],
  "summary" : "OpenStack Cyborg's Accelerator Request (ARQ) API does not enforce project ownership at any layer",
  "details" : "In OpenStack Cyborg before 16.0.1, the Accelerator Request (ARQ) API does not enforce project ownership at any layer. The project_id column in the database is never populated (NULL for every ARQ), database queries have no project filtering, and policy checks are self-referential (the authorize_wsgi decorator compares the caller's project_id with itself rather than the target resource). Any authenticated non-admin user can complete various actions such as deleting ARQs bound to other projects' instances, aka cross-tenant denial of service.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "openstack-cyborg"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "16.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40214"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/openstack-cyborg/+bug/2144056"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openstack/cyborg"
  }, {
    "type" : "WEB",
    "url" : "https://security.openstack.org/ossa/OSSA-2026-011.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2026/05/07/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-282" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-13T01:37:26Z",
    "nvd_published_at" : "2026-05-07T22:16:35Z"
  }
}