CVEs / CVE-2025-30066
CVE-2025-30066: tj-actions/changed-files GitHub Action Embedded Malicious Code Vulnerability
- Known exploited in the CISA KEV catalog since 18 Mar 2025
- high 8.6 CVSS 3.1 (NVD)
- EPSS 72% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-30066
Summary
tj-actions/changed-files GitHub Action contains an embedded malicious code vulnerability that allows a remote attacker to discover secrets by reading Github Actions Workflow Logs. These secrets may include, but are not limited to, valid AWS access keys, GitHub personal access tokens (PATs), npm tokens, and private RSA keys.
Description
tj-actions changed-files before 46 allows remote attackers to discover secrets by reading actions logs. (The tags v1 through v45.0.7 were affected on 2025-03-14 and 2025-03-15 because they were modified by a threat actor to point at commit 0e58ed8, which contained malicious updateFeatures code.)
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| tj-actions changed-files | from 1, before 46 | 46 |
| Product | Affected | Fixed in |
|---|---|---|
| tj-actions/changed-files (GitHub Actions) | before 46.0.1 | 46.0.1 |
Package versions from GHSA-mrrh-fwg8-r2c3.
Exploitation
| In CISA KEV since | 18 Mar 2025 |
|---|---|
| Due date for US federal agencies | 8 Apr 2025 |
| Used in ransomware campaigns | Unknown |
| 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. |
Severity
| CVSS 3.1 | 8.6 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NScored by NVD |
|---|---|
| Weakness | CWE-506 |
References
- CVE-2025-30066 on NVD
- CVE-2025-30066 in the CISA KEV catalog
- https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-tj-actionschanged-files-cve-2025-30066-and-reviewdogaction (cited by CISA)
- https://github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da42342e52fe054c6c2c3fd73/README.md?plain=1#L20-L28 (cited by CISA)
- CVE-2025-30066 on OSV
- https://blog.gitguardian.com/compromised-tj-actions/ Exploit, Third Party Advisory
- https://github.com/chains-project/maven-lockfile/pull/1111 Issue Tracking
- https://github.com/espressif/arduino-esp32/issues/11127 Issue Tracking
- https://github.com/github/docs/blob/962a1c8dccb8c0f66548b324e5b921b5e4fbc3d6/content/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions.md?plain=1#L191-L193 Product
- https://github.com/modal-labs/modal-examples/issues/1100 Issue Tracking
- https://github.com/rackerlabs/genestack/pull/903 Issue Tracking
- https://github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da42342e52fe054c6c2c3fd73/README.md?plain=1#L20-L28 Product
- https://github.com/tj-actions/changed-files/issues/2463 Issue Tracking
- https://github.com/tj-actions/changed-files/issues/2464 Issue Tracking
- https://github.com/tj-actions/changed-files/issues/2477 Issue Tracking
- https://news.ycombinator.com/item?id=43367987 Issue Tracking, Third Party Advisory
- https://news.ycombinator.com/item?id=43368870 Issue Tracking, Third Party Advisory
- https://semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/ Third Party Advisory
- https://sysdig.com/blog/detecting-and-mitigating-the-tj-actions-changed-files-supply-chain-attack-cve-2025-30066/ Mitigation, Third Party Advisory
- https://web.archive.org/web/20250315060250/https://github.com/tj-actions/changed-files/issues/2463 Issue Tracking
- https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised Exploit, Mitigation, Third Party Advisory
- https://www.stream.security/post/github-action-supply-chain-attack-exposes-secrets-what-you-need-to-know-and-how-to-respond Third Party Advisory
- https://www.sweet.security/blog/cve-2025-30066-tj-actions-supply-chain-attack Third Party Advisory
- https://www.wiz.io/blog/github-action-tj-actions-changed-files-supply-chain-attack-cve-2025-30066 Third Party Advisory
- https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-github-action-cve-2025-30066 Third Party Advisory, US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.