tj-actions/changed-files GitHub Action Embedded Malicious Code
CVE-2025-30066 is a high-severity embedded malicious code vulnerability in changed-files from Tj-actions, with a CVSS 3.1 base score of 8.6 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 46 as the first without the flaw, so updating changed-files to that release or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on March 18, 2025, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update changed-files to 46 or a later version.
- 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.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Tj-actions | changed-files | 1 up to, but not including, 46 | 46 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.6 | High | CNA (mitre.org) |
| CVSS 3.1 | 8.6 | High | NVD |
Official 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.)
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Embedded Malicious Code
The product contains code that appears to be malicious in nature.
How developers prevent this class of flaw
- Remove the malicious code and start an effort to ensure that no more malicious code exists. This may require a detailed review of all code, as it is possible to hide a serious attack in only one or two lines of code. These lines may be located almost anywhere in an application and may have been intentionally obfuscated by the attacker.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- CISA published its SSVC assessment (exploitation: active, automatable: yes, technical impact: partial).
- Deadline for US federal agencies to remediate, set by CISA.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- github.com/chains-project/maven-lockfile/pull/1111Issue Tracking
- github.com/rackerlabs/genestack/pull/903Issue Tracking
- sysdig.com/blog/detecting-and-mitigating-the-tj-actions-changed-files-supply-chain-attack-cve-2025-30066/Mitigation, Third Party Advisory
- stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromisedExploit, Mitigation, Third Party Advisory
Third-party and government advisories
- news.ycombinator.com/item?id=43367987Issue Tracking, Third Party Advisory
- news.ycombinator.com/item?id=43368870Issue Tracking, Third Party Advisory
- semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/Third Party Advisory
- stream.security/post/github-action-supply-chain-attack-exposes-secrets-what-you-need-to-know-and-how-to-respo…Third Party Advisory
- sweet.security/blog/cve-2025-30066-tj-actions-supply-chain-attackThird Party Advisory
- wiz.io/blog/github-action-tj-actions-changed-files-supply-chain-attack-cve-2025-30066Third Party Advisory
- cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-github-action-cve-2025-30066Third Party Advisory, US Government Resource
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30066US Government Resource
Technical write-ups (may include proof of concept)
- blog.gitguardian.com/compromised-tj-actions/Exploit, Third Party Advisory
Other references
- github.com/espressif/arduino-esp32/issues/11127Issue Tracking
- github.com/github/docs/blob/962a1c8dccb8c0f66548b324e5b921b5e4fbc3d6/content/actions/security-for-github-acti…Product
- github.com/modal-labs/modal-examples/issues/1100Issue Tracking
- github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da42342e52fe054c6c2c3fd73/README.md?plain=1#L20-L28Product
- github.com/tj-actions/changed-files/issues/2463Issue Tracking
- github.com/tj-actions/changed-files/issues/2464Issue Tracking
- github.com/tj-actions/changed-files/issues/2477Issue Tracking
- web.archive.org/web/20250315060250/https://github.com/tj-actions/changed-files/issues/2463Issue Tracking
Other vulnerabilities in changed-files
- 9.8 Critical severity
Recent Embedded Malicious Code vulnerabilities
- 8.4 High severity
- 10.0 Critical severity
- 9.8 Critical severity
Spotted an error? Tell us.