CVE-2026-29075

Mesa: Checking out of untrusted code in `benchmarks.yml` workflow may lead to code execution in privileged runner

Published Mar 6, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
Description
Mesa is an open-source Python library for agent-based modeling, simulating complex systems and exploring emergent behaviors. In version 3.5.0 and prior, checking out of untrusted code in benchmarks.yml workflow may lead to code execution in privileged runner. This issue has been patched via commit c35b8cd.

Analysis

AI-generated

Technical impact

Mesa is an open‑source Python library. In versions 3.5.0 and earlier, the benchmarks.yml workflow could be manipulated to execute arbitrary code in a privileged GitHub Actions runner. The flaw is a classic code injection error (CWE‑94). This allows an attacker to run malicious commands with the permissions of the runner, creating a full compromise of the CI environment.

Affected Systems

The vulnerability affects the Mesa library (mesa:mesa) versions 3.5.0 and older. All installations that rely on these versions and use the benchmarks.yml CI workflow are susceptible. The issue was resolved by commit c35b8cd, so newer releases are not affected.

Risk and Exploitability

The CVSS score is 8.3, reflecting high severity. The EPSS score is less than 1 %, indicating low probability of widespread exploitation at present, and the vulnerability is not listed in CISA’s KEV catalog. Attackers would need to supply untrusted code checked out by the benchmarks.yml workflow, but the vulnerability can be triggered directly in a privileged runner without additional prerequisites. Until a patch is applied, the risk remains high for CI environments that run the workflow.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Mesa library to a version newer than 3.5.0, which includes the patch that fixes the code injection risk.
  • If an upgrade is not immediately possible, apply the hot‑fix commit c35b8cd to the source of the benchmarks.yml workflow or to the repository containing the library.
  • Restrict the benchmarks.yml workflow to run only with trusted source code, and remove or disable privileged runners until the update is performed.

Generated by OpenCVE AI on April 16, 2026 at 11:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mesa Project
Mesa Project mesa
CPEs cpe:2.3:a:mesa_project:mesa:*:*:*:*:*:python:*:*
Vendors & Products Mesa Project
Mesa Project mesa
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mesa
Mesa mesa
Vendors & Products Mesa
Mesa mesa
Type Values Removed Values Added
Description Mesa is an open-source Python library for agent-based modeling, simulating complex systems and exploring emergent behaviors. In version 3.5.0 and prior, checking out of untrusted code in benchmarks.yml workflow may lead to code execution in privileged runner. This issue has been patched via commit c35b8cd.
Title Mesa: Checking out of untrusted code in `benchmarks.yml` workflow may lead to code execution in privileged runner
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 9, 2026, 3:00 PM
Reserved
Mar 3, 2026, 8:51 PM
Status
Analyzed
Published
Mar 6, 2026, 5:16 PM
Modified
Jun 17, 2026, 10:29 AM