CVE-2025-30066
tj-actions/changed-files GitHub Action Embedded Malicious Code Vulnerability
Check your servers for CVE-2025-30066
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-30066 affects changed-files, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 18 Mar 2025. US federal agencies had to act by 8 Apr 2025.
- Name
- tj-actions/changed-files GitHub Action Embedded Malicious Code Vulnerability
- 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.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-tj-actionschanged-files-cve-2025-30066-and-reviewdogaction https://github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da42342e52fe054c6c2c3fd73/README.md?plain=1#L20-L28 https://nvd.nist.gov/vuln/detail/CVE-2025-30066
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.)
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 74.4%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Mar 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-506 Embedded Malicious Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| changed-files |
affected from 1, before 46
Other versions: unaffected
|
Is my server affected?
Find the installed version of changed-files and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i changed-files
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-30066 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-30066RHEL, Rocky, Alma, Fedora
rpm -q changed-files
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-30066Alpine
apk list --installed | grep -i changed-filesWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-30066
trivy image --scanners vuln IMAGE | grep CVE-2025-30066
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30066 cisa.gov · government resource
Other references
- 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 github.com
- https://github.com/tj-actions/changed-files/issues/2463 github.com
- https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised stepsecurity.io
- https://semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/ semgrep.dev
- https://news.ycombinator.com/item?id=43368870 news.ycombinator.com
- https://web.archive.org/web/20250315060250/https://github.com/tj-actions/changed-files/issues/2463 web.archive.org
- https://news.ycombinator.com/item?id=43367987 news.ycombinator.com
- https://github.com/rackerlabs/genestack/pull/903 github.com
- https://github.com/chains-project/maven-lockfile/pull/1111 github.com
- https://sysdig.com/blog/detecting-and-mitigating-the-tj-actions-changed-files-supply-chain-attack-cve-2025-30066/ sysdig.com
- https://github.com/espressif/arduino-esp32/issues/11127 github.com
- https://github.com/modal-labs/modal-examples/issues/1100 github.com
8 more
- https://github.com/tj-actions/changed-files/issues/2464 github.com
- https://github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da42342e52fe054c6c2c3fd73/README.md?plain=1#L20-L28 github.com
- https://www.wiz.io/blog/github-action-tj-actions-changed-files-supply-chain-attack-cve-2025-30066 wiz.io
- https://www.stream.security/post/github-action-supply-chain-attack-exposes-secrets-what-you-need-to-know-and-how-to-respond stream.security
- https://www.sweet.security/blog/cve-2025-30066-tj-actions-supply-chain-attack sweet.security
- https://github.com/tj-actions/changed-files/issues/2477 github.com
- https://blog.gitguardian.com/compromised-tj-actions/ blog.gitguardian.com
- https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-github-action-cve-2025-30066 cisa.gov
Source: the record CVE-2025-30066 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse