draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2025-30066: tj-actions/changed-files GitHub Action Embedded Malicious Code Vulnerability

Exploited in attacks

Yes. CVE-2025-30066 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 18 March 2025. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 74.4%.

Exploited in real attacks
Yes. On CISA's exploited list since 18 March 2025
Used in ransomware
Not known
Public exploit code
None found in Exploit-DB, Metasploit or Nuclei
Chance of exploitation (EPSS)
74.4% in the next 30 days, higher than 99.5% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
8.6 High (version 3.1)
Affects
tj-actions changed-files GitHub Action
Type of flaw
Embedded Malicious Code (CWE-506)
Published
15 March 2025
US federal patch deadline
8 April 2025

What it is

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.

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.)

Description from the CVE record.

Is CVE-2025-30066 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2025-30066 on 18 March 2025. That was 3 days after the CVE was published.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's 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.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place tj-actions changed-files GitHub Action runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in changed-files GitHub Action. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Sources

Machine-readable: /api/cve/CVE-2025-30066.json