Vulnerabilities in pkg:pypi/vitrage

PACKAGE
Advisory Identifier: GHSA-8xwf-cr4r-856r
Advisory Summary

CVE-2026-28370 is a CRITICAL (CVSS 9.1) unauthorized access to the host vulnerability (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')) affecting OpenStack Vitrage libraries in the PyPI ecosystem. The issue involves unauthorized access to the host can lead to eval injection. Remediation is available by upgrading affected packages to version 15.0.1, 14.0.1, 13.0.1, 12.0.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/vitrage

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/vitrage. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-8xwf-cr4r-856r CVE-2026-28370 CRITICAL OpenStack Vitrage: Unauthorized Access to the Host can Lead to Eval Injection

CVE-2026-28370 at a Glance

CVE Identifier CVE-2026-28370
GHSA Identifier GHSA-8xwf-cr4r-856r
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected Product OpenStack Vitrage
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.1

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

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

How to Fix CVE-2026-28370

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

vitrage fixed: 15.0.1
pip install vitrage>=15.0.1
vitrage fixed: 14.0.1
pip install vitrage>=14.0.1
vitrage fixed: 13.0.1
pip install vitrage>=13.0.1
vitrage fixed: 12.0.1
pip install vitrage>=12.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 vitrage

How to Check if You Are Affected

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

pip show vitrage

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval"). In OpenStack Vitrage, 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 the query parser in OpenStack Vitrage before 12.0.1, 13.0.0, 14.0.0, and 15.0.0, a user allowed to access the Vitrage API may trigger code execution on the Vitrage service host as the user the Vitrage service runs under. This may result in unauthorized access to the host and further compromise of the Vitrage service. All deployments exposing the Vitrage API are affected. This occurs in _create_query_function in vitrage/graph/query.py.

CVE-2026-28370 Affected OpenStack Vitrage Versions

4 component(s)
Fixed Versions:
15.0.114.0.113.0.112.0.1
Product / Package Ecosystem Affected Versions Fixed Version
vitrage
PyPI
≥ 15.0.0.0rc1
< 15.0.1
15.0.1
vitrage
PyPI
≥ 14.0.0.0rc1
< 14.0.1
14.0.1
vitrage
PyPI
≥ 13.0.0.0rc1
< 13.0.1
13.0.1
vitrage
PyPI
< 12.0.1
12.0.1

References

Frequently Asked Questions

What is CVE-2026-28370?
CVE-2026-28370 is a security vulnerability in OpenStack Vitrage involving Unauthorized Access to the Host can Lead to Eval Injection under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection').
Which OpenStack Vitrage versions are affected?
Affected versions include releases prior to 15.0.1, 14.0.1, 13.0.1, 12.0.1 across affected packages: vitrage.
What version fixes CVE-2026-28370?
Upgrading to 15.0.1, 14.0.1, 13.0.1, 12.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vitrage affected?
Yes, vitrage is affected in releases prior to 15.0.1, 14.0.1, 13.0.1, 12.0.1. Upgrade your dependency to 15.0.1, 14.0.1, 13.0.1, 12.0.1 or later.
What is the CVSS score of CVE-2026-28370?
CVE-2026-28370 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-28370?
CVE-2026-28370 is classified under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").).
How can I check PyPI dependencies for CVE-2026-28370?
Run the dependency tree command: 'pip show vitrage'. 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-8xwf-cr4r-856r",
  "modified" : "2026-03-05T15:28:01Z",
  "published" : "2026-02-27T06:31:28Z",
  "aliases" : [ "CVE-2026-28370" ],
  "summary" : "OpenStack Vitrage: Unauthorized Access to the Host can Lead to Eval Injection",
  "details" : "In the query parser in OpenStack Vitrage before 12.0.1, 13.0.0, 14.0.0, and 15.0.0, a user allowed to access the Vitrage API may trigger code execution on the Vitrage service host as the user the Vitrage service runs under. This may result in unauthorized access to the host and further compromise of the Vitrage service. All deployments exposing the Vitrage API are affected. This occurs in _create_query_function in vitrage/graph/query.py.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vitrage"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0.0rc1"
      }, {
        "fixed" : "15.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vitrage"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0.0rc1"
      }, {
        "fixed" : "14.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vitrage"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0.0rc1"
      }, {
        "fixed" : "13.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vitrage"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28370"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/vitrage/commit/89df4bd2ffda1a5ddea66cd828438a6a171a3b11"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/vitrage"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openstack/vitrage/blob/a1f86950e1314b0c740f9cd9b7e9dbab7d02af51/vitrage/graph/query.py#L70"
  }, {
    "type" : "WEB",
    "url" : "https://storyboard.openstack.org/#%21/story/2011539"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/03/03/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-95" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-28T02:24:32Z",
    "nvd_published_at" : "2026-02-27T05:18:20Z"
  }
}