GHSL-2021-016: Unauthorized repository modification or secrets exfiltration in a GitHub workflow of Tautulli
The GitHub workflow used the pull request's branch name directly in a shell command, allowing an attacker to inject arbitrary commands. This could let them modify the base repository or exfiltrate secrets.
The pull-requests.yml GitHub workflow is vulnerable to unauthorized modification of the base repository or secrets exfiltration from a Pull Request.
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
Root cause
The workflow used the untrusted branch name from the pull request directly in a shell command without sanitisation.
What the attacker needed
Ability to open a pull request
The fix
The issue was fixed by the maintainers.
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 workflow is an automated script that runs when someone opens a pull request. The workflow took the name of the branch from the pull request and put it straight into a shell command without checking it. An attacker could name their branch in a way that tricks the shell into running extra commands, like stealing secret tokens.