CVE-2025-30066tj-actions changed-files action secret leak via CI logs
CVSS score
8.6
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
72.1%
72.1% chance of exploitation in the next 30 days, higher than 99.4% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 18 Mar 2025.
US federal deadline to fix: 8 Apr 2025.
In plain words
A remote attacker can read secrets, such as access tokens and keys, that appear in GitHub Actions logs of workflows using tj-actions changed-files. Versions 1 through 45.0.7 are affected, because malicious code was pushed into the tags those workflows pull. CISA reports active exploitation, so check workflow logs for exposed secrets, rotate them, and pin the action to a verified safe commit.
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: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 18 Mar 2025.
US federal agencies must fix it by 8 Apr 2025. It's a sensible deadline for everyone else too.
CISA's full instruction
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.
Check whether you're affected
Find every system running tj-actions Changed-files and compare its version with the affected versions.
Update to a fixed version
- Update Changed-files to 46 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| tj-actions Changed-files | ≤ 45.0.7 · ≥ 1, < 46 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-30066 being exploited?
Yes. CISA added CVE-2025-30066 to its Known Exploited Vulnerabilities catalog on 18 Mar 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 72.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-30066?
CVE-2025-30066 has a CVSS 3.1 base score of 8.6 (high).
Which versions are affected?
TJ Actions Changed-files (≤ 45.0.7; ≥ 1, < 46)
Is there a patch for CVE-2025-30066?
The official record links to vendor advisories or patches; see “What to do” above.
References
- sysdig.com/blog/detecting-and-mitigating-the-tj-actions-changed-files-supply-chain-attack-cve-2025-30066/(Mitigation, Third Party Advisory)
- www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised(Exploit, Mitigation, Third Party Advisory)
- blog.gitguardian.com/compromised-tj-actions/(Exploit, Third Party Advisory)
- github.com/chains-project/maven-lockfile/pull/1111(Issue Tracking)
- github.com/espressif/arduino-esp32/issues/11127(Issue Tracking)
- 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)
- github.com/modal-labs/modal-examples/issues/1100(Issue Tracking)
- github.com/rackerlabs/genestack/pull/903(Issue Tracking)
- github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da42342e52fe054c6c2c3fd73/README.md?plain=1#L20-L28(Product)
- github.com/tj-actions/changed-files/issues/2463(Issue Tracking)
- github.com/tj-actions/changed-files/issues/2464(Issue Tracking)
- github.com/tj-actions/changed-files/issues/2477(Issue Tracking)
- news.ycombinator.com/item?id=43367987(Issue Tracking, Third Party Advisory)
- news.ycombinator.com/item?id=43368870(Issue Tracking, Third Party Advisory)
- semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/(Third Party Advisory)
- web.archive.org/web/20250315060250/https://github.com/tj-actions/changed-files/issues/2463(Issue Tracking)
- www.stream.security/post/github-action-supply-chain-attack-exposes-secrets-what-you-need-to-know-and-how-to-respond(Third Party Advisory)
- www.sweet.security/blog/cve-2025-30066-tj-actions-supply-chain-attack(Third Party Advisory)
- www.wiz.io/blog/github-action-tj-actions-changed-files-supply-chain-attack-cve-2025-30066(Third Party Advisory)
- 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)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.