reviewdog action-setup GitHub Action contains an embedded malicious code vulnerability that dumps exposed secrets to Github Actions Workflow Logs.
In short
CVE-2025-30154 (reviewdog/action-setup GitHub Action Embedded Malicious Code) has a CVSS 3.1 base score of 8.6, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 24 Mar 2025. Fixed in Reviewdog Action-ast-grep 1.26.2, Reviewdog Action-composite-template 0.20.2, Reviewdog Action-shellcheck 1.29.2 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NAffected products
- Reviewdog Action-ast-grep< 1.26.2
- Reviewdog Action-composite-template< 0.20.2
- Reviewdog Action-setup1
- Reviewdog Action-shellcheck< 1.29.2
- Reviewdog Action-staticcheck< 1.26.2
- Reviewdog Action-typos< 1.17.2
Remediation
Fixed in- Reviewdog Action-ast-grep≥ 1.26.2
- Reviewdog Action-composite-template≥ 0.20.2
- Reviewdog Action-shellcheck≥ 1.29.2
- Reviewdog Action-staticcheck≥ 1.26.2
- Reviewdog Action-typos≥ 1.17.2
- https://github.com/reviewdog/action-setup/commit/3f401fe1d58fe77e10d665ab713057375e39b887
- https://github.com/reviewdog/action-setup/commit/f0d342d24037bb11d26b9bd8496e0808ba32e9ec
- https://github.com/reviewdog/reviewdog/issues/2079
- https://github.com/reviewdog/reviewdog/security/advisories/GHSA-qmg3-hpqr-gqvc
References
- https://github.com/reviewdog/action-setup/commit/3f401fe1d58fe77e10d665ab713057375e39b887
- https://github.com/reviewdog/action-setup/commit/f0d342d24037bb11d26b9bd8496e0808ba32e9ec
- https://github.com/reviewdog/reviewdog/issues/2079
- https://github.com/reviewdog/reviewdog/security/advisories/GHSA-qmg3-hpqr-gqvc
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30154
- https://www.wiz.io/blog/new-github-action-supply-chain-attack-reviewdog-action-setup
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
