{"id":"CVE-2025-30066","kind":"vulnerability","aliases":["CVE-2025-30066"],"related":[],"title":"tj-actions changed-files before 46 allows remote attackers to discover secrets by reading actions logs","description":"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.\n\nCISA 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.","summary":"The tj-actions/changed-files GitHub Action contained embedded malicious code that printed secrets into GitHub Actions workflow logs. An attacker who can read those logs can collect AWS keys, GitHub personal access tokens, npm tokens and private RSA keys.","severity":"high","cvss":8.6,"epss":null,"exploited":true,"exploited_at":"2025-03-18T00:00:00+00:00","products":[{"name":"tj-actions changed-files GitHub Action","fixed":[],"affected":"","ecosystem":"vendor"},{"name":"tj-actions changed-files","fixed":[],"affected":"<= 45.0.7","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["aws","ci-cd","exploited","github-actions","npm","package"],"not_affected_if":["does-not-use-tj-actions-changed-files"],"how_to_check":"Search workflow run logs for uses: tj-actions/changed-files in your workflow files and check which version is pinned.","fix":"Pin the action to a version that is not affected, or remove it; rotate any AWS keys, GitHub PATs, npm tokens and SSH/RSA keys that ran through workflows using it.","status":"open","published_at":"2025-03-15T06:15:12+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:48:58+00:00","updated_at":"2026-10-23T22:29:05+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-23T20:48:58Z","model":"claude-haiku-5-5","output":{"fix":"Pin the action to a version that is not affected, or remove it; rotate any AWS keys, GitHub PATs, npm tokens and SSH/RSA keys that ran through workflows using it.\nunknown","reach":"internet","summary":"The tj-actions/changed-files GitHub Action contained embedded malicious code that printed secrets into GitHub Actions workflow logs. An attacker who can read those logs can collect AWS keys, GitHub personal access tokens, npm tokens and private RSA keys.","category":"package","who_cares":["github-actions","ci-cd","aws","npm"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker reads workflow logs and obtains cloud keys, GitHub tokens and npm tokens.","analyst_note":"Find the affected and fixed version range and the exact malicious-code behaviour from the CISA KEV entry and the GitHub advisory for CVE-2025-30066.","how_to_check":"Search workflow run logs for uses: tj-actions/changed-files in your workflow files and check which version is pinned.\nunknown","needs_analyst":true,"not_affected_if":["does-not-use-tj-actions-changed-files"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.00049,"input_tokens":2638,"output_tokens":452,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-01':162C '-2025':20A,23A '-30066':21A,24A '/changed-files':53B,92C '22':161C '46':8A 'access':81B,126C,130C 'action':3A,17A,32A,46B,52B,55B,65B,91C,94C,112C,141C 'actions':27A,35A 'allow':9A,102C 'appli':142C,153C 'applic':159C 'attack':11A,69B,105C 'aw':39B,77B,125C 'bod':160C 'cd':42B 'chang':5A 'changed':29A,37A 'changed-fil':4A 'changed-files':28A,36A 'ci':41B 'ci-cd':40B 'cisa':139C,149C 'cloud':165C 'code':59B,99C 'collect':76B 'contain':56B,95C 'cve':19A,22A 'discontinu':168C 'discov':13A,107C 'embed':57B,97C 'exploit':43B 'file':6A 'files':30A,38A 'follow':158C 'forth':146C 'github':31A,45B,54B,64B,79B,93C,111C,128C 'github-act':44B 'guidanc':163C 'includ':118C 'instruct':150C,157C 'key':78B,88B,127C,138C 'limit':122C 'link':151C 'log':18A,67B,74B,114C 'malici':58B,98C 'may':117C 'mitig':143C,154C,174C 'npm':47B,83B,133C 'packag':48B 'pat':132C 'per':155C 'person':80B,129C 'print':61B 'privat':86B,136C 'product':172C 'read':16A,72B,110C 'remot':10A,104C 'requir':140C 'rsa':87B,137C 'secret':14A,62B,108C,116C 'servic':166C 'set':145C 'tj':2A,26A,34A,51B,90C 'tj-action':1A,50B,89C 'tj-actions':25A,33A 'token':82B,84B,131C,134C 'unavail':176C 'use':169C 'valid':124C 'vendor':156C 'vulner':100C 'workflow':66B,113C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2025-03-15T06:15:12+00:00","kev":{"dateAdded":"2025-03-18","dueDate":"2025-04-08","requiredAction":"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.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","cvss_by":"cve@mitre.org","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2025-30066","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-30066","severity":null,"published_at":"2025-03-18T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T17:39:55+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-30066","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30066","severity":null,"published_at":"2025-03-15T06:15:12+00:00","modified_at":"2026-09-24T13:10:00+00:00","first_seen_at":"2026-10-23T22:29:05+00:00","fetched_at":"2026-10-23T22:29:05+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}