# CVE-2025-53546: Folo allows secrets exfiltration via `pull_request_target`

> Attackers can exfiltrate high-privilege GitHub tokens via pull_request_target workflows, leading to repository takeover.

- **Severity:** Critical 9.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 9 Jul 2025
- **Updated:** 9 Jul 2025
- **Also known as:** GHSA-h87r-5w74-qfm4

## What is CVE-2025-53546?

CVE-2025-53546 is a critical vulnerability in RSSNext Folo, published on 9 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Folo organizes feeds content into one timeline. Using pull_request_target on .github/workflows/auto-fix-lint-format-commit.yml can be exploited by attackers, since untrusted code can be executed having full access to secrets (from the base repo). By exploiting the vulnerability is possible to exfiltrate GITHUB_TOKEN which has high privileges. GITHUB_TOKEN can be used to completely overtake the repo since the token has content write privileges. This vulnerability is fixed in commit 585c6a591440cd39f92374230ac5d65d7dd23d6a.

Weakness: CWE-829 (Inclusion of Functionality from Untrusted Control Sphere)

## Which versions are affected by CVE-2025-53546?


## How do I fix CVE-2025-53546?

No fix has been published for CVE-2025-53546 yet. Limit exposure of the affected software until one is available.

## Is CVE-2025-53546 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53546 exists.

Public exploit code:

- Security research lab reproducing CVE-2025-53546 (GHSA-h87r-5w74-qfm4): pull_request_target arbitrary code execution in RSSNext/Folo's auto-fix lint workflow — authorized, isolated reproduction (github_poc): https://github.com/pvharmo2/gha-lab-6926364d94

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-53546 and fix it if it is affected.

What it is: CVE-2025-53546 is a critical vulnerability in RSSNext Folo, published on 9 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53546 exists.

Affected product: RSSNext Folo. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-53546/ (Markdown: https://insights.sbomify.com/CVE-2025-53546/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-53546
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-53546
- OSV: https://osv.dev/vulnerability/CVE-2025-53546

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-53546/
Summaries are generated and may contain mistakes; the official description above is the record.
