# CVE-2025-30154: reviewdog/action-setup GitHub Action Embedded Malicious Code

> Compromised GitHub Actions injected malicious code to leak secrets into workflow logs, requiring users to update to clean versions.

- **Severity:** High 8.6 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`)
- **Exploited in the wild:** Yes, since 24 Mar 2025 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 19 Mar 2025
- **Updated:** 26 Feb 2026
- **Also known as:** GHSA-qmg3-hpqr-gqvc

## What is CVE-2025-30154?

CVE-2025-30154 is a high-severity vulnerability in reviewdog, published on 19 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

reviewdog/action-setup is a GitHub action that installs reviewdog. reviewdog/action-setup@v1 was compromised March 11, 2025, between 18:42 and 20:31 UTC, with malicious code added that dumps exposed secrets to Github Actions Workflow Logs. Other reviewdog actions that use `reviewdog/action-setup@v1` that would also be compromised, regardless of version or pinning method, are reviewdog/action-shellcheck, reviewdog/action-composite-template, reviewdog/action-staticcheck, reviewdog/action-ast-grep, and reviewdog/action-typos.

Weakness: CWE-506 (Embedded Malicious Code)

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

1 open source package ship an affected version, including reviewdog/action-setup. It affects 6 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `reviewdog/action-setup` | GitHub Actions | All versions | None |

Products: Reviewdog Action-Ast-Grep, Reviewdog Action-Composite-Template, Reviewdog Action-Setup, Reviewdog Action-Shellcheck, Reviewdog Action-Staticcheck, Reviewdog Action-Typos.

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

No fix has been published for CVE-2025-30154 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 14 Apr 2025.

## Is CVE-2025-30154 being exploited?

Yes. Attackers have exploited CVE-2025-30154 in the wild since at least 24 Mar 2025.

## Fix prompt for AI coding agents

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

What it is: CVE-2025-30154 is a high-severity vulnerability in reviewdog, published on 19 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2025-30154 in the wild since at least 24 Mar 2025.

Affected packages and fixed versions:
- reviewdog/action-setup (GitHub Actions): affected all versions; no fix listed

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-30154/ (Markdown: https://insights.sbomify.com/CVE-2025-30154/index.md)
```

## Sources

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

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