
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28370 is an eval injection vulnerability in the OpenStack Vitrage query parser that allows authenticated API users to execute arbitrary code on the Vitrage service host. Reported by Khalil Lemtaffah of Nokia and disclosed on February 27, 2026, it affects all Vitrage versions before 12.0.1, as well as versions 13.0.0, 14.0.0, and 15.0.0. The vulnerability carries a CVSS v3.1 base score of 9.1 (Critical) with a changed scope, reflecting its potential to impact resources beyond the vulnerable component (Github Advisory, oss-security).
The root cause is CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code / Eval Injection), located in the _create_query_function within vitrage/graph/query.py. Specifically, the create_predicate() function constructs a Python lambda expression string from user-supplied query input and passes it directly to Python's eval() without sanitizing the input for code injection (Vitrage source). The _evaluable_str() helper wraps string values in single quotes but does not escape or validate them, allowing an attacker to break out of the string context and inject arbitrary Python expressions. Exploitation requires network access to the Vitrage API and valid API credentials (high privileges required), but no user interaction is needed (Github Advisory).
Successful exploitation allows an authenticated attacker to execute arbitrary code on the Vitrage service host with the privileges of the Vitrage service account, resulting in high impact to confidentiality, integrity, and availability. This can lead to complete compromise of the Vitrage service, unauthorized access to the underlying host, and potential lateral movement within the OpenStack infrastructure. All deployments that expose the Vitrage API are affected, making the blast radius significant in multi-tenant cloud environments (oss-security, Github Advisory).
A proof-of-concept reference is available via the OpenStack Storyboard issue tracker, though no weaponized exploit or active in-the-wild exploitation has been confirmed as of the time of disclosure (OpenStack Storyboard). The EPSS score is approximately 0.085%, indicating a low near-term exploitation probability. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires valid Vitrage API credentials, which limits opportunistic attacks but does not eliminate insider or post-compromise scenarios.
_evaluable_str() wraps strings in single quotes without escaping, a value like ' + __import__('os').system('id') + ' can break out of the string context within the generated lambda expression.create_predicate(), such as the topology or alarm query endpoints, via an authenticated HTTP request.eval() call in create_predicate() evaluates the injected expression as Python code, executing arbitrary commands on the Vitrage service host under the service account's privileges.vitrage.log) showing eval() errors or unexpected Python exceptions in vitrage/graph/query.py; API access logs recording authenticated requests with query strings containing Python syntax characters (e.g., __import__, os.system, backticks, or escaped quotes)./bin/sh, bash, curl, wget, python3) that are not part of normal Vitrage operation./tmp; unexpected cron jobs or systemd units created under the Vitrage service account.Upgrade OpenStack Vitrage to the patched versions: 12.0.1, 13.0.1, 14.0.1, or 15.0.1 as appropriate for your deployment. Patches are available for multiple OpenStack release branches (Antelope, Caracal, Dalmatian, Epoxy, Flamingo, Gazpacho) via the OpenDev review system (oss-security). As an interim workaround, restrict network access to the Vitrage API to only trusted, authorized users and networks, and audit existing API access permissions to minimize the number of accounts with Vitrage API access. Monitor Vitrage service logs for suspicious query patterns indicative of injection attempts.
The OpenStack Vulnerability Management Team published the official security advisory OSSA-2026-003 on March 3, 2026, crediting Khalil Lemtaffah of Nokia for the discovery (oss-security). Security news outlets including SecurityOnline.info and The Hacker Wire covered the vulnerability, highlighting the critical RCE risk in OpenStack environments (SecurityOnline). Red Hat also acknowledged the vulnerability for its OpenStack Platform products (Red Hat). Community discussion on oss-security and Bluesky noted the straightforward nature of the eval() misuse and the importance of input validation in query parsers.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."