All vulnerabilities
HIGHSupply chainexploited in the wild

CVE-2025-30066

CI/CD · tj-actions/changed-files

Summary

Between March 14 and March 15, 2025 the widely used GitHub Action tj-actions/changed-files was compromised. Attackers rewrote existing version tags up to v45.0.7 to point to a single malicious commit, injecting a Node.js function with base64-encoded instructions that downloaded a Python script scanning the GitHub runner's memory. The payload dumped CI secrets (access keys, GitHub PATs, npm tokens, private RSA keys) into publicly readable workflow logs. More than 23,000 repositories used the action; it was patched in v46.0.1.

How to avoid it in your code

  • Pin every third-party GitHub Action to a full commit SHA, never a mutable tag or branch.
  • Set GITHUB_TOKEN to least-privilege, read-only permissions by default in each workflow.
  • Run a runner-hardening/egress-monitoring tool (e.g. StepSecurity Harden-Runner) to detect anomalous outbound connections.
  • Avoid printing secrets to logs; treat workflow memory as exfiltratable once an action is compromised.
  • Rotate any secrets exposed to affected workflow runs immediately and re-pin to a clean version.

References

Related vulnerabilities

All Supply chain →