GHSL-2025-009: Arbitrary Code Execution in Mesa benchmarks.yml workflow - CVE-2026-29075
The benchmarks.yml workflow checks out code from a pull request branch and then runs pip install and a Python script from that branch, so a malicious setup.py or benchmarks/global_benchmark.py could execute arbitrary code in the runner. The runner has write privileges to issues and pull requests, so an attacker could potentially modify those resources.
Checking out of untrusted code in benchmarks.yml workflow may lead to code execution in privileged runner
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
This issue may lead to code execution in the runner with write privileges to issues and pull requests.
What the attacker needed
Ability to open a pull request
How it was found
- Create a pull request branch containing a malicious setup.py or benchmarks/global_benchmark.py.
- The benchmarks.yml workflow checks out the pull request branch.
- The workflow runs pip install and the Python script from the branch, executing the malicious code.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A GitHub Actions workflow is an automated script that runs when something happens, like a pull request. This workflow took code from the pull request and ran it, so anyone who opened a pull request could make the workflow run their own commands. Those commands ran with special permissions that allowed changing issues and pull requests.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.