GHSL-2025-104: Arbitrary command execution within the CI environment in Weaviate
The Weaviate GitHub Actions workflow notifier.yml executed unsanitised user input from the issue title in a script context, allowing an attacker to inject commands. An attacker could open an issue with a crafted title to execute arbitrary commands in the CI environment and potentially exfiltrate secrets.
The Weaviate repository was vulnerable to code injection in its Github Actions notifier.yml as of the latest changeset at the time of the review, which potentially could have allowed attackers to execute arbitrary commands within the CI environment..
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 interpolated untrusted user input (the issue title) directly into a shell script without sanitisation, enabling command injection.
Impact
This could lead to code execution with high privileges and secret exfiltration, including the GH_ORG_Members_PAT and SLACK_WEBHOOK_URL secrets.
What the attacker needed
Ability to open an issue in the repository
The fix
The maintainer removed the vulnerable workflow.
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 in a repository, like a new issue being opened. This workflow took the title of the issue and inserted it directly into a command without cleaning it, so someone could put special characters in the title that make the computer run extra commands. That could let them steal secret passwords stored in the workflow.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.