CVE-2025-53546CWE-829

Folo allows secrets exfiltration via `pull_request_target`

Critical · published July 9, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
27.2
In the wild
Unconfirmed
What it is

🚨 A crafty pull_request_target can open the floodgates! This vulnerability allows untrusted code to run, putting your GitHub secrets at serious risk! 🔥 Think of it like a restaurant where the chef isn't just using approved ingredients but can also take whatever’s in the pantry! If the chef is untrustworthy, they could use the key to your safe and steal the special recipe (your GITHUB_TOKEN)! An attacker exploiting this vulnerability could grab the GITHUB_TOKEN and have the keys to your repository kingdom! With these privileges, they could modify, delete, or even take full control of your repo—absolutely devastating for anyone relying on its integrity!

Put simply

Think of it like a restaurant where the chef isn't just using approved ingredients but can also take whatever’s in the pantry! If the chef is untrustworthy, they could use the key to your safe and steal the special recipe (your GITHUB_TOKEN)! This vulnerability stems from the usage of pull_request_target in the auto-fix-lint-format-commit.yml workflow, allowing untrusted code to execute with access to the repository's secrets, including the GITHUB_TOKEN.

What to do

An attacker exploiting this vulnerability could grab the GITHUB_TOKEN and have the keys to your repository kingdom! With these privileges, they could modify, delete, or even take full control of your repo—absolutely devastating for anyone relying on its integrity! To protect yourself, update to the fixed commit 585c6a591440cd39f92374230ac5d65d7dd23d6a immediately. Review your workflows to limit the use of pull_request_target for untrusted sources. Always be cautious about where your code comes from! You can tackle this! Follow the steps, and you'll safeguard your repo in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00348 · 27.2th percentile
Weakness
CWE-829 · Inclusion of Functionality from Untrusted Control Sphere
Published
2025-07-09T14:27Z
EPSS history
Timeline
  • 09 JUL 14:27Z
    Folo allows secrets exfiltration via `pull_request_target`
    cvelistv5