CVE-2025-30154
KEV PoC moderateMalicious Code in reviewdog/action-setup GitHub Action Exposes CI/CD Secrets
CISA: reviewdog/action-setup GitHub Action Embedded Malicious Code Vulnerability
The reviewdog/action-setup GitHub Action, which installs the reviewdog tool, was compromised in a supply chain attack on March 11, 2025, between 18:42 and 20:31 UTC, when malicious code was embedded in the action-setup@v1 tag (CWE-506). Any workflow that invoked reviewdog/action-setup@v1 during that window executed the malicious code, including runs of reviewdog/action-shellcheck, action-composite-template, action-staticcheck, action-ast-grep, and action-typos, which all depend on action-setup@v1; because the v1 tag itself was modified, the compromise applied regardless of version or pinning method. The injected code dumped exposed secrets, such as CI/CD credentials, to GitHub Actions workflow logs, giving the attacker access to harvested tokens and secrets; public reporting links the campaign to an initial targeting of Coinbase and documents 218 repositories whose secrets were exposed. Only GitHub repositories whose workflows ran one of the six affected actions during the roughly two-hour window are affected. Exploitation is confirmed in the wild: CISA added the flaw to its Known Exploited Vulnerabilities catalog on 2025-03-24, and EPSS estimates a 2.4% probability of exploitation in the next 30 days.
What to do: Audit GitHub Actions workflow logs for runs executed between March 11, 2025 18:42 and 20:31 UTC that invoked any of the six affected reviewdog actions, and rotate or revoke any secrets that appear in those logs (CI/CD tokens, cloud and API credentials). Update to the remediated action-setup@v1 or pin the action to a known-good full commit SHA, and apply mitigations per CISA/vendor instructions (BOD 22-01 guidance for cloud services) or discontinue use if mitigations are unavailable. Note that pinning to a mutable tag alone did not prevent this compromise, so prefer full-SHA pinning.
| reviewdog action-setup (GitHub Action) | the action-setup@v1 tag as it existed March 11, 2025, 18:42-20:31 UTC; workflows referencing @v1 during that window were affected regardless of pinning method |
| reviewdog action-shellcheck (GitHub Action) | any version or pinning method, because it uses action-setup@v1; affected when run during the March 11, 2025 18:42-20:31 UTC compromise window |
| reviewdog action-composite-template (GitHub Action) | any version or pinning method, because it uses action-setup@v1; affected when run during the March 11, 2025 18:42-20:31 UTC compromise window |
| reviewdog action-staticcheck (GitHub Action) | any version or pinning method, because it uses action-setup@v1; affected when run during the March 11, 2025 18:42-20:31 UTC compromise window |
| reviewdog action-ast-grep (GitHub Action) | any version or pinning method, because it uses action-setup@v1; affected when run during the March 11, 2025 18:42-20:31 UTC compromise window |
| reviewdog action-typos (GitHub Action) | any version or pinning method, because it uses action-setup@v1; affected when run during the March 11, 2025 18:42-20:31 UTC compromise window |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Affected
- reviewdog action-setup GitHub Action
- Required action
- Apply mitigations as set forth in the CISA instructions linked below. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Due date
- Ransomware use
- Unknown
- Vendors
- reviewdog
- Products
- action-ast-grep, action-composite-template, action-setup, action-shellcheck, action-staticcheck, action-typos
- Weakness
- CWE-506
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N