Skip to content
Advisory Intermediate

GHSL-2024-171: Poisoned Pipeline Execution (PPE) leading to potential repository takeover in QGIS

The QGIS repository's sipify-bot workflow runs on issue comments and executes a script from the pull request branch, allowing a malicious actor to run arbitrary commands with a privileged token. This could let them take over the repository.

Alvaro Muñoz Follow

Originally disclosed on GitHub Security Lab

The QGIS repository is vulnerable to Poisoned Pipeline Execution (PPE) which may allow a malicious actor to take over the repository.

pwntester, on GitHub Security Lab

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

A malicious actor could take over the repository by using the privileged token.

What the attacker needed

Ability to submit a pull request; ability to comment on the pull request

The fix

The workflow was disabled.

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 comment. Here, the workflow ran a script from the pull request itself, so an attacker could change that script to do something harmful. Because the workflow had powerful permissions, the attacker could then take control of the whole repository.

More by Alvaro Muñoz

View all

132 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.