{"incident":{"slug":"trigger-dev-nov-2026-root-api-keys","caseId":"BI-2026-011","organization":"Trigger.dev","title":"Trigger.dev: root API keys exposed environment variables for 0.66% of tenants","shortSummary":"Root API keys for 0.66% of cloud tenants exposed environment variables and run metadata.","lede":"On Nov 1, 2026 Trigger.dev’s infrastructure monitoring detected anomalous API activity using customer root API keys across 0.66% of cloud tenants. The attacker accessed environment variables and enumerated runs, deployments and schedules, while core production databases and customer dashboards stayed untouched. The exact vector used to obtain the root keys remains withheld during investigation.","incidentDate":"Nov 1, 2026","incidentDateIso":"2026-11-01","disclosedDate":"Nov 1, 2026","sourceUrl":"https://trigger.dev/blog/security-incident-report-nov-2026","sourceAuthor":"Trigger.dev Engineering","vectorFilter":"Vector withheld","timeToDetect":"Same day (Nov 1)","detectedBy":"Infra anomaly alerts","initialAccess":{"label":"Root API keys","detail":"Customer root API keys (vector withheld by vendor)","evidence":"withheld"},"blastRadius":"0.66% of cloud tenants","whatItReachedShort":"Environment variables, run, deployment and schedule metadata","whatHeldShort":"Core databases and customer dashboards","revisions":[{"id":"Rev B","date":"Nov 6, 2026","note":"Added exact list of accessed run, deployment and schedule metadata fields from the Nov 6 incident report."},{"id":"Rev A","date":"Nov 1, 2026","note":"First published from the Nov 1 security disclosure."}],"bodyMarkdown":"## How they got in\n\nTrigger.dev confirmed the attacker obtained customer root API keys for approximately 0.66% of cloud-hosted environments. The team blocked the actor, mitigated the underlying vector and engaged incident responders and law enforcement, while temporarily withholding the exact acquisition mechanism until it is safe to disclose.\n\n## What it reached\n\nBecause a root API key carries full authority over an environment’s configuration, the attacker was able to read stored environment variables, which often hold third-party database URLs, AI provider keys and SaaS tokens, and list recent runs, deployments and schedules (including run IDs, task names, idempotency keys, tags, deployment errors and schedule external IDs).\n\n## What held\n\nForensic checks confirmed zero unauthorised access to Trigger.dev’s production databases, separate backend services or customer login dashboards, and 99.34% of cloud customers were unaffected.\n\n> **Why broad root keys amplify any single-tenant leak**\n>\n> When one API key can both trigger jobs and read plaintext environment variables, any key leak cascades immediately into every downstream third-party credential stored in that environment.\n>\n> Making environment secrets write-only over management APIs removes that entire escalation path.","narrative":{"howTheyGotIn":["Trigger.dev confirmed the attacker obtained customer root API keys for approximately 0.66% of cloud-hosted environments. The team blocked the actor, mitigated the underlying vector and engaged incident responders and law enforcement, while temporarily withholding the exact acquisition mechanism until it is safe to disclose."],"whatItReached":["Because a root API key carries full authority over an environment’s configuration, the attacker was able to read stored environment variables, which often hold third-party database URLs, AI provider keys and SaaS tokens, and list recent runs, deployments and schedules (including run IDs, task names, idempotency keys, tags, deployment errors and schedule external IDs)."],"whatHeld":["Forensic checks confirmed zero unauthorised access to Trigger.dev’s production databases, separate backend services or customer login dashboards, and 99.34% of cloud customers were unaffected."],"sideNoteTitle":"Why broad root keys amplify any single-tenant leak","sideNoteParagraphs":["When one API key can both trigger jobs and read plaintext environment variables, any key leak cascades immediately into every downstream third-party credential stored in that environment.","Making environment secrets write-only over management APIs removes that entire escalation path."]},"claims":[{"group":"How they got in","claim":"Attacker obtained customer root API keys for roughly 0.66% of cloud environments","evidence":"confirmed","source":"Trigger.dev disclosure, Nov 1 and Nov 6"},{"group":"How they got in","claim":"Specific technical mechanism used to acquire the root API keys","evidence":"withheld","source":"Withheld by vendor during active investigation"},{"group":"What it reached","claim":"Environment variables and run, deployment and schedule metadata were accessed through the API","evidence":"confirmed","source":"Trigger.dev incident report, Nov 6"},{"group":"What held","claim":"Core production databases, separate backend services and customer dashboards were not accessed","evidence":"confirmed","source":"Trigger.dev forensic investigation"}],"diagram":{"label":"Trigger.dev attack path","zones":[{"id":"net","label":"Internet","kind":"boundary","lane":0},{"id":"ten","label":"Customer tenants","kind":"boundary","lane":1},{"id":"cloud","label":"Trigger.dev cloud","kind":"boundary","lane":2},{"id":"core","label":"Core systems","kind":"isolated","lane":2}],"nodes":[{"id":"atk","zone":"net","name":"Attacker","detail":"Origin withheld","kind":"attacker","ev":"withheld","at":0,"story":"Specific attack vector temporarily withheld by Trigger.dev during active investigation and law enforcement coordination.","when":"Nov 1, 2026","steps":[1]},{"id":"keys","zone":"ten","name":"Root API keys","detail":"0.66% of tenants","kind":"compromised","ev":"confirmed","at":1,"story":"Full-scope customer environment root keys compromised across 0.66% of cloud tenants and proactively revoked.","when":"Nov 1, 2026","steps":[1,2],"ctl":["tr-k1"]},{"id":"api","zone":"cloud","name":"Public API","detail":"Key accepted","kind":"neutral","ev":"confirmed","at":0,"story":"Management API accepted valid tenant root keys until infrastructure anomaly alerts flagged rapid enumeration.","when":"Nov 1, 2026","steps":[2],"ctl":["tr-d1"]},{"id":"env","zone":"cloud","name":"Env variables","detail":"Accessed","kind":"compromised","ev":"confirmed","at":3,"story":"Environment variables holding downstream third-party API and database secrets were readable through the root key.","when":"Nov 1, 2026","steps":[3],"ctl":["tr-k1"]},{"id":"meta","zone":"cloud","name":"Run metadata","detail":"Deploys, schedules","kind":"compromised","ev":"confirmed","at":3,"story":"Run IDs, task names, idempotency keys, tags, deployment errors and schedule external IDs enumerated.","when":"Nov 1, 2026","steps":[3],"ctl":["tr-d1"]},{"id":"db","zone":"core","name":"Core databases","detail":"Not reached","kind":"isolated","ev":"confirmed","at":0,"story":"Production platform databases and separate backend services remained uncompromised.","when":"Not reached"},{"id":"dash","zone":"core","name":"Dashboards","detail":"Not reached","kind":"isolated","ev":"confirmed","at":0,"story":"Customer dashboard login accounts were never breached or accessed.","when":"Not reached"}],"edges":[{"id":"t1","from":"atk","to":"keys","kind":"inferred","step":1},{"id":"t2","from":"keys","to":"api","kind":"attack","step":2},{"id":"t3a","from":"api","to":"env","kind":"attack","step":3},{"id":"t3b","from":"api","to":"meta","kind":"attack","step":3}],"steps":[{"n":1,"time":"Nov 1, 2026","short":"n.d.","text":"Root API keys obtained (0.66% of tenants)","say":"Attacker obtains customer root API keys across 0.66% of cloud tenants; vector temporarily withheld."},{"n":2,"time":"Nov 1, 2026","short":"Nov 1","text":"Keys presented to public tenant API","say":"Root keys authenticate against the cloud API until infrastructure alerts detect the anomaly."},{"n":3,"time":"Nov 1, 2026","short":"Nov 1","text":"Env variables and run metadata read","say":"Attacker retrieves stored environment variables and enumerates recent runs, deployments and schedules."}],"controls":[{"id":"tr-k1","step":3,"kind":"control","name":"Write-only secrets API","tag":"Stops step 3","long":"Environment variables are write-only through management APIs and injected solely inside isolated task runtimes.","nodeId":"env"},{"id":"tr-d1","step":2,"kind":"fired","name":"Infra alert Nov 1","tag":null,"long":"Trigger.dev’s infrastructure monitoring detected the anomalous multi-tenant API activity same day and cut off the actor.","nodeId":"api"}],"detectedAt":{"time":"Nov 1, 2026","short":"Detected Nov 1","text":"Trigger.dev infrastructure alerts detected anomalous activity same day and revoked affected keys."}},"plate":{"W":760,"H":586,"label":"Trigger.dev attack path","zones":[{"id":"net","label":"Internet","kind":"boundary","x":8,"y":16,"w":192,"h":110},{"id":"ten","label":"Customer tenants","kind":"boundary","x":238,"y":16,"w":192,"h":110},{"id":"cloud","label":"Trigger.dev cloud","kind":"boundary","x":468,"y":16,"w":192,"h":314},{"id":"core","label":"Core systems","kind":"isolated","x":468,"y":350,"w":192,"h":212}],"nodes":[{"id":"atk","name":"Attacker","detail":"Origin withheld","kind":"attacker","ev":"withheld","x":20,"y":52,"w":168,"at":0,"story":"Specific attack vector temporarily withheld by Trigger.dev during active investigation and law enforcement coordination.","when":"Nov 1, 2026","steps":[1]},{"id":"keys","name":"Root API keys","detail":"0.66% of tenants","kind":"compromised","ev":"confirmed","x":250,"y":52,"w":168,"at":1,"story":"Full-scope customer environment root keys compromised across 0.66% of cloud tenants and proactively revoked.","when":"Nov 1, 2026","steps":[1,2],"ctl":["tr-k1"]},{"id":"api","name":"Public API","detail":"Key accepted","kind":"neutral","ev":"confirmed","x":480,"y":52,"w":168,"at":0,"story":"Management API accepted valid tenant root keys until infrastructure anomaly alerts flagged rapid enumeration.","when":"Nov 1, 2026","steps":[2],"ctl":["tr-d1"]},{"id":"env","name":"Env variables","detail":"Accessed","kind":"compromised","ev":"confirmed","x":480,"y":154,"w":168,"at":3,"story":"Environment variables holding downstream third-party API and database secrets were readable through the root key.","when":"Nov 1, 2026","steps":[3],"ctl":["tr-k1"]},{"id":"meta","name":"Run metadata","detail":"Deploys, schedules","kind":"compromised","ev":"confirmed","x":480,"y":256,"w":168,"at":3,"story":"Run IDs, task names, idempotency keys, tags, deployment errors and schedule external IDs enumerated.","when":"Nov 1, 2026","steps":[3],"ctl":["tr-d1"]},{"id":"db","name":"Core databases","detail":"Not reached","kind":"isolated","ev":"confirmed","x":480,"y":386,"w":168,"at":0,"story":"Production platform databases and separate backend services remained uncompromised.","when":"Not reached"},{"id":"dash","name":"Dashboards","detail":"Not reached","kind":"isolated","ev":"confirmed","x":480,"y":488,"w":168,"at":0,"story":"Customer dashboard login accounts were never breached or accessed.","when":"Not reached"}],"edges":[{"id":"t1","kind":"inferred","step":1,"pts":[[188,81],[250,81]]},{"id":"t2","kind":"attack","step":2,"pts":[[418,81],[480,81]]},{"id":"t3a","kind":"attack","step":3,"pts":[[564,110],[564,154]]},{"id":"t3b","kind":"attack","step":3,"pts":[[564,110],[564,256]]}],"balloons":{"1":[219,81],"2":[449,81],"3":[564,132]},"noroute":[{"x1":430,"x2":468,"y":380,"label":"No route"}],"bps":[{"id":"tr-k1","step":3,"kind":"control","at":[564,132],"name":"Write-only secrets API","tag":"Stops step 3","lead":[[564,121],[564,104],[552,104]],"lx":546,"ly":108,"anchor":"end","long":"Environment variables are write-only through management APIs and injected solely inside isolated task runtimes.","nodeId":"env"},{"id":"tr-d1","step":2,"kind":"fired","at":[449,109],"name":"Infra alert Nov 1","tag":null,"lead":[[449,120],[449,131],[461,131]],"lx":467,"ly":135,"anchor":"start","long":"Trigger.dev’s infrastructure monitoring detected the anomalous multi-tenant API activity same day and cut off the actor.","nodeId":"api"}],"steps":[{"n":1,"time":"Nov 1, 2026","short":"n.d.","text":"Root API keys obtained (0.66% of tenants)","say":"Attacker obtains customer root API keys across 0.66% of cloud tenants; vector temporarily withheld."},{"n":2,"time":"Nov 1, 2026","short":"Nov 1","text":"Keys presented to public tenant API","say":"Root keys authenticate against the cloud API until infrastructure alerts detect the anomaly."},{"n":3,"time":"Nov 1, 2026","short":"Nov 1","text":"Env variables and run metadata read","say":"Attacker retrieves stored environment variables and enumerates recent runs, deployments and schedules."}],"stripRows":[{"id":"sr-atk","nodeId":"atk","lineStyle":"inferred"},{"id":"sr-step-1","nodeId":"keys","step":1,"lineStyle":"solid"},{"id":"sr-step-3","nodeId":"env","step":3,"lineStyle":"none","companionNodeIds":["meta"],"bpIds":["tr-k1"]}],"detectedAt":{"time":"Nov 1, 2026","short":"Detected Nov 1","text":"Trigger.dev infrastructure alerts detected anomalous activity same day and revoked affected keys."}},"codeArtifacts":[{"id":"tr-writeonly","filename":"write-only-env-policy.json","language":"json","description":"Scoped API token policy separating task-trigger privileges from secret administration, and disabling plaintext secret readback. Breaks step 3.","code":"{\n  \"tokenScope\": \"runtime-trigger-only\",\n  \"permissions\": {\n    \"runs:trigger\": true,\n    \"runs:read\": \"own-project-only\",\n    \"env:write\": false,\n    \"env:readPlaintext\": false\n  },\n  \"secretDelivery\": \"ephemeral-oidc-broker\"\n}"},{"id":"tr-rotate","filename":"rotate-exposed-env-secrets.sh","language":"sh","description":"Customer triage checklist after an environment-variable exposure: prioritise cloud IAM and database credentials before downstream webhooks.","code":"# 1. Rotate Trigger.dev API keys (revoked automatically for impacted envs)\n# 2. Rotate high-blast-radius third-party credentials stored in env vars:\n#    - Cloud IAM / service account keys -> replace with OIDC\n#    - Production Postgres / Redis connection strings\n#    - Payment (Stripe) and LLM provider API keys\n# 3. Audit provider access logs starting Nov 1, 2026 00:00 UTC"}],"reproductionLab":{"title":"Reproduction lab","summary":"Verifies that management API keys in your own multi-tenant platform return only secret names and SHA-256 digests, never decrypted secret values.","bundleMeta":"Markdown playbook, MIT license","safetyNote":"Safe read-only API contract test for your own staging services.","commands":"# verify management API never echoes plaintext secret values\ncurl -sS -H \"Authorization: Bearer $STAGING_API_KEY\" https://staging.example.internal/v1/env | jq '.[] | {key, digest, value}'"},"iocs":[{"type":"url","value":"https://trigger.dev/blog/security-incident-report-sunday-november-1st","context":"Official Nov 6 follow-up report listing all affected metadata fields."}],"publishedAt":"2026-11-06T14:00:00Z","origin":"editorial"}}