tj-actions · changed-files GitHub Action
CVE-2025-30066
tj-actions/changed-files GitHub Action Embedded Malicious Code Vulnerability
What it is
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.
Am I affected?
Only if you run tj-actions changed-files GitHub Action, or a service built on it, in a version the vendor lists as affected. The vendor's advisory in the references gives the affected and fixed versions.
CISA adds a vulnerability to this list only when there is reliable evidence of attacks using it, so treat it as urgent if you run an affected version.
What to do
- Find out whether you run changed-files GitHub Action, and which version, including on hosting or services you don't manage day to day.
- Apply the vendor's update or mitigation from the advisory below. If there is none yet, follow the vendor's workaround, or take the product off the internet until it's fixed.
- Because this is being exploited, check the system for signs it was already compromised before you patched: unknown accounts, changed files, and unusual outbound connections.
CISA's 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.
US federal agencies must act by 8 April 2025.
References
- cisa.gov · https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compro…
- github.com · https://github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da4234…
- NVD — CVE-2025-30066
Check your own site
A free scan checks your site's HTTPS, headers, cookies, exposed keys and malware signs, with the fix for each issue.