LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

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

RBRecent Breaches Vulnerability Intelligence·Mar 18, 2025
CVSS 8.6 · High⚠ Actively exploited (CISA KEV)
8.6
CVSS score
High
Severity
Active
CISA KEV
No
Ransomware use
Apr 8, 2025
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2025-30066 to its Known Exploited Vulnerabilities catalog on Mar 18, 2025, with a federal patch deadline of Apr 8, 2025 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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

CVE-2025-30066 is an embedded malicious code vulnerability in the tj-actions/changed-files GitHub Action. The flaw allows a remote attacker to discover secrets by reading GitHub Actions workflow logs. Those secrets can include AWS access keys, GitHub personal access tokens, npm tokens, and private RSA keys. For any organization that uses this Action in CI/CD pipelines, the risk is unauthorized access to cloud accounts, source repositories, package registries, and cryptographic material that may be present in the environment.

Because the Action is commonly referenced by version tag or commit SHA in workflow YAML files, the malicious code can execute during normal pipeline runs and write sensitive values into logs that are later readable by an attacker. Confirm exact impact and affected references against the vendor advisory and CISA guidance.

How it works

The weakness is classified as CWE-506 (Embedded Malicious Code). In this case the tj-actions/changed-files GitHub Action itself contains code that was not intended by legitimate users of the Action. When a workflow that includes the Action runs, the embedded code can cause secrets that are available to the runner—environment variables, tokens, keys, or other credentials—to be written into the GitHub Actions workflow logs.

An attacker who can later read those logs (for example through repository access, a compromised account, or public log visibility) obtains the secrets without needing to compromise the runner host directly. The CISA summary states that the secrets may include valid AWS access keys, GitHub personal access tokens (PATs), npm tokens, and private RSA keys. No further exploit mechanics or payload details are provided here; treat any public proof-of-concept claims with caution and verify against the official advisory.

Am I affected? How to find it in your systems

The component runs inside GitHub Actions workflows, typically on GitHub-hosted or self-hosted runners that execute CI/CD jobs. It is referenced in workflow YAML files under the name tj-actions/changed-files (often pinned by a tag such as @v* or by a commit SHA).

If the Action is present in any workflow that has access to secrets, treat the repository and any downstream systems that consume those secrets as potentially exposed until verified otherwise.

How to remediate

Apply the vendor update or remediation steps named in the official advisory for tj-actions/changed-files as the first priority. CISA directs organizations to apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

After remediation, re-run critical pipelines and confirm that logs no longer contain unexpected secret material.

If you can't patch immediately

Until the vendor update can be applied or the Action removed, reduce exposure with compensating controls:

These measures lower the chance of secret exfiltration but do not eliminate the underlying malicious code; treat them as temporary only.

If your data may have been exposed

Actively exploited vulnerabilities of this class can lead to credential theft and subsequent account or data breaches. Immediately rotate every secret that may have appeared in workflow logs, review cloud and GitHub audit trails for unauthorized use of those credentials, and treat any systems that accepted the stolen tokens as potentially compromised. You can run a free exposure scan of your email address to check whether it appears in known breach data sets and take further containment steps as needed.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

Affectedtj-actions · changed-files GitHub Action
WeaknessCWE-506
CVSS base score8.6 (High)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
PublishedMar 15, 2025
Added to CISA KEVMar 18, 2025
Federal patch deadlineApr 8, 2025
Known ransomware useNot documented
Check if your data is exposed →

References

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities