{"id":"CVE-2026-114069","kind":"vulnerability","aliases":["CVE-2026-114069"],"related":[],"title":"Trigger.dev: read-only key can leak root secret key and env vars","description":"Trigger.dev before 4.6.0 contains an improper authorization vulnerability in the GET /api/v1/projects/:projectRef/envvars endpoint, which returns the environment's root API key as TRIGGER_SECRET_KEY for staging, production, and preview environments. Attackers holding a restricted read:envvars key can obtain the root secret and plaintext secrets, then trigger tasks and mint admin public JWTs.","summary":"Trigger.dev before 4.6.0: GET /api/v1/projects/:projectRef/envvars authenticates with read:envvars but returns the environment's root key as TRIGGER_SECRET_KEY (staging, production, preview) plus plaintext secrets. A leaked restricted key (e.g. the Cloud 'Variables only' preset) becomes full environment access: trigger tasks, deploy, mint admin JWTs. Dev environments are not affected.","severity":"high","cvss":8.6,"epss":0.00258,"exploited":false,"exploited_at":null,"products":[{"name":"trigger.dev","fixed":["4.6.0"],"affected":">= 0, < 4.6.0","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["api-keys","ci","package","secrets","self-hosted","trigger.dev"],"not_affected_if":["development-environment-only","full-access-keys-only","managed-hosting","no-restricted-api-keys","no-restricted-read-envvars-keys"],"how_to_check":"Self-hosted: check the webapp image/version (docker image tag; must be >= 4.6.0). List additional API keys with scopes that include read:envvars bound to staging/prod/preview environments; any such key could have fetched the root key. Cloud: in the dashboard API keys page, look for keys using the 'Variables only' preset or custom policies with read:envvars.","fix":"Upgrade Trigger.dev (self-hosted webapp) to 4.6.0 or later (4.7.7 is the latest seen). Then rotate the environment root secret keys (TRIGGER_SECRET_KEY) and any env vars/secrets that restricted read:envvars keys could read, and revoke or rotate those restricted keys.","status":"open","published_at":"2026-10-21T01:17:30+00:00","first_seen_at":"2026-10-23T21:57:27+00:00","triaged_at":"2026-10-23T22:39:25+00:00","updated_at":"2026-10-24T13:15:55+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-23T22:39:25Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade Trigger.dev to 4.6.0 or later. Rotate TRIGGER_SECRET_KEY and any env vars that were readable by restricted read:envvars keys.","reach":"network","title":"Trigger.dev: read-only key can leak root secret key and env vars","impact":"high","summary":"Trigger.dev before 4.6.0 returns the environment's root API key and plaintext secrets from its env-vars endpoint to holders of a restricted read-only key. An attacker can then trigger tasks and mint admin JWTs.","category":"package","who_cares":["trigger.dev","self-hosted","ci"],"confidence":0.7,"needs_auth":"yes","worst_case":"attacker gets root secret key and plaintext secrets, can run tasks","analyst_note":"Confirm the affected package and version range from the NVD entry and the Trigger.dev release notes; check whether managed cloud was affected.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["managed-hosting","no-restricted-read-envvars-keys"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000499,"input_tokens":2950,"output_tokens":409,"severity_before":"high"},"analyst_status":"done","analyst_note":"Confirm the affected package and version range from the NVD entry and the Trigger.dev release notes; check whether managed cloud was affected.","search":"'-114069':16A,19A '-2026':15A,18A '/api/v1/projects':35B,94C '4.6.0':33B,85C 'access':71B 'admin':76B,135C 'affect':82B 'api':22B,103C 'api-key':21B 'attack':115C 'authent':37B 'author':89C 'becom':68B 'ci':24B 'cloud':64B 'contain':86C 'cve':14A,17A 'deploy':74B 'dev':78B 'e.g':62B 'endpoint':96C 'env':12A 'environ':44B,70B,79B,100C,114C 'envvar':40B,120C 'full':69B 'get':34B,93C 'hold':116C 'host':29B 'improp':88C 'jwts':77B,137C 'key':5A,10A,23B,47B,51B,61B,104C,108C,121C 'leak':7A,59B 'mint':75B,134C 'obtain':123C 'packag':25B 'plaintext':56B,128C 'plus':55B 'preset':67B 'preview':54B,113C 'product':53B,111C 'projectref/envvars':36B,95C 'public':136C 'read':3A,39B,119C 'read-on':2A 'restrict':60B,118C 'return':42B,98C 'root':8A,46B,102C,125C 'secret':9A,26B,50B,57B,107C,126C,129C 'self':28B 'self-host':27B 'stage':52B,110C 'task':73B,132C 'trigger':49B,72B,106C,131C 'trigger.dev':1A,20A,30B,31B,83C 'var':13A 'variabl':65B 'vulner':90C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-21T01:17:30+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-114069","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114069","severity":null,"published_at":"2026-10-21T01:17:30+00:00","modified_at":"2026-10-21T01:17:30+00:00","first_seen_at":"2026-10-23T21:57:27+00:00","fetched_at":"2026-10-23T22:29:01+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-114069:529","url":null,"severity":null,"published_at":"2026-10-23T23:50:57+00:00","modified_at":"2026-10-23T23:50:57+00:00","first_seen_at":"2026-10-23T23:50:57+00:00","fetched_at":"2026-10-23T23:50:57+00:00","note":"Read GHSA-4gjx-f5hj-678x (vendor, published Sep 14) and VulnCheck/CVE record. Fixed in 4.6.0 (GHSA text says '<= 4.6.0' affected, but CVE and patched '>= 4.6.0' say before 4.6.0; used the CVE). Restricted presets exist only in Trigger.dev Cloud; OSS self-host can only issue FULL_ACCESS keys, so self-host exposure needs a custom key with read:envvars. Whether Cloud is already patched is not stated; unknown. No X conversation, no exploitation reported; advisory has a source-probe PoC in the researcher's repo, not linked publicly."},{"source":"epss","external_id":"CVE-2026-114069","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-114069","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T13:15:55+00:00","fetched_at":"2026-10-24T13:15:55+00:00","note":null}],"documents":[{"id":2192,"url":"https://github.com/triggerdotdev/trigger.dev/security/advisories/GHSA-4gjx-f5hj-678x","title":"GHSA-4gjx-f5hj-678x: Restricted additional API keys can read the environment root secret via the env-var dump","kind":"advisory","source":"analyst","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":null},{"id":2193,"url":"https://www.vulncheck.com/advisories/trigger-dev-before-4.6.0-root-secret-disclosure-via-envvars-api-endpoint","title":"VulnCheck: Trigger.dev before 4.6.0 Root Secret Disclosure via envvars API Endpoint","kind":"advisory","source":"analyst","text":null,"published_at":null,"relation":"describes","confidence":null,"note":null}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}