{"id":"CVE-2026-102649","kind":"vulnerability","aliases":["CVE-2026-102649"],"related":[],"title":"Burrito: unsigned webhooks let attackers trigger Terraform plans with stored credentials","description":"Burrito is a Terraform Automation Collaboration Software (TACoS) Kubernetes operator. Prior to 0.13.0, `POST /api/webhook` accepts unsigned GitHub and GitLab events when a `TerraformRepository`'s credentials omit `webhookSecret` or set it to an empty value, including credentials configured for git authentication and polling. `Credential.WebhookSecret` is optional, and `go-playground/webhooks` skips signature or token verification when the secret is empty. Anyone who can reach `burrito-server`'s endpoint and knows a tracked repository's URL can forge events to create or delete `TerraformPullRequest` custom resources with attacker-chosen `Branch`, `Base`, and `ID` fields. For GitHub `pull_request` events, the controller fetches changed files using the real pull request number but does not cross-check the payload's branch against that pull request. Pairing a real, existing pull request number with an unrelated existing branch in the same repository can therefore cause an unauthorized `terraform plan` for affected layers using the operator's stored git and cloud credentials. Code analysis also indicates that the resulting plan can be posted to the real pull request's comment thread, exposing and misattributing another branch's infrastructure changes. Auto-apply is disabled for these temporary layers, so this vulnerability alone cannot force a `terraform apply`; plan-time provider and data-source code execution depends on the selected branch's contents. This issue is fixed in version 0.13.0.","summary":"Burrito, a Kubernetes operator that runs Terraform, accepts unsigned GitHub and GitLab webhook events when a repository's webhookSecret is empty or omitted. An attacker who can reach the webhook endpoint and knows a tracked repository URL can forge events that trigger terraform plan runs using the operator's stored git and cloud credentials, and post the plan output to a real pull request's comments.","severity":"critical","cvss":9.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["burrito","infrastructure","kubernetes","self-hosted","terraform"],"not_affected_if":["endpoint-not-exposed","webhook-secret-set"],"how_to_check":"- Check the Burrito version with `burrito-server --version` or the image tag in the deployment; versions before `0.13.0` are affected.\n- Inspect each `TerraformRepository` credential for a missing or empty `webhookSecret` field.\n- Confirm whether `POST /api/webhook` is reachable from outside the cluster network.","fix":"- Upgrade Burrito to `0.13.0` or later.\n- Set a non-empty `webhookSecret` on every credential used by a `TerraformRepository` until the upgrade is done.\n- Restrict network access to `burrito-server`'s webhook endpoint.","status":"open","published_at":"2026-10-26T18:17:21+00:00","first_seen_at":"2026-10-26T18:31:43+00:00","triaged_at":"2026-10-26T18:33:40+00:00","updated_at":"2026-10-26T18:33:40+00:00","category":"infrastructure","confidence":0.8,"triage":{"at":"2026-10-26T18:33:40Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Burrito to `0.13.0` or later.\n- Set a non-empty `webhookSecret` on every credential used by a `TerraformRepository` until the upgrade is done.\n- Restrict network access to `burrito-server`'s webhook endpoint.","reach":"internet","title":"Burrito: unsigned webhooks let attackers trigger Terraform plans with stored credentials","impact":"high","summary":"Burrito, a Kubernetes operator that runs Terraform, accepts unsigned GitHub and GitLab webhook events when a repository's webhookSecret is empty or omitted. An attacker who can reach the webhook endpoint and knows a tracked repository URL can forge events that trigger terraform plan runs using the operator's stored git and cloud credentials, and post the plan output to a real pull request's comments.","category":"infrastructure","nicknames":[],"who_cares":["kubernetes","terraform","self-hosted","burrito"],"confidence":0.8,"needs_auth":"no","worst_case":"Attacker triggers Terraform plans using stored cloud and git credentials","analyst_note":"Confirm the exact fixed behaviour and whether any advisory or GitHub release notes list additional affected endpoints beyond POST /api/webhook.","how_to_check":"- Check the Burrito version with `burrito-server --version` or the image tag in the deployment; versions before `0.13.0` are affected.\n- Inspect each `TerraformRepository` credential for a missing or empty `webhookSecret` field.\n- Confirm whether `POST /api/webhook` is reachable from outside the cluster network.","needs_analyst":true,"not_affected_if":["webhook-secret-set","endpoint-not-exposed"],"who_is_affected":"Teams running Burrito before 0.13.0 with a webhook endpoint reachable by an attacker, especially where any TerraformRepository credential omits webhookSecret, including credentials used only for git polling. Installations where every credential has a non-empty webhookSecret, or where the endpoint is not reachable from untrusted networks, are much less exposed.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000751,"input_tokens":3715,"output_tokens":758,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-102649':14A,17A '-2026':13A,16A '/api/webhook':105C '/webhooks':141C '0.13.0':103C,320C 'accept':32B,106C 'affect':241C 'alon':291C 'also':254C 'analysi':253C 'anoth':274C 'anyon':152C 'appli':281C,296C 'attack':5A,49B,180C 'attacker-chosen':179C 'authent':131C 'auto':280C 'auto-appli':279C 'autom':95C 'base':183C 'branch':182C,212C,228C,275C,311C 'burrito':1A,18B,25B,91C,157C 'burrito-serv':156C 'cannot':292C 'caus':235C 'chang':195C,278C 'check':208C 'chosen':181C 'cloud':77B,250C 'code':252C,305C 'collabor':96C 'comment':90B,269C 'configur':128C 'content':313C 'control':193C 'creat':172C 'credenti':11A,78B,116C,127C,251C 'credential.webhooksecret':134C 'cross':207C 'cross-check':206C 'custom':176C 'cve':12A,15A 'data':303C 'data-sourc':302C 'delet':174C 'depend':307C 'disabl':283C 'empti':45B,124C,151C 'endpoint':55B,160C 'event':38B,64B,111C,170C,191C 'execut':306C 'exist':220C,227C 'expos':271C 'fetch':194C 'field':186C 'file':196C 'fix':317C 'forc':293C 'forg':63B,169C 'git':75B,130C,248C 'github':34B,108C,188C 'gitlab':36B,110C 'go':139C 'go-playground':138C 'host':23B 'id':185C 'includ':126C 'indic':255C 'infrastructur':19B,277C 'issu':315C 'know':57B,162C 'kubernet':20B,27B,99C 'layer':242C,287C 'let':4A 'misattribut':273C 'number':202C,223C 'omit':47B,117C 'oper':28B,72B,100C,245C 'option':136C 'output':83B 'pair':217C 'payload':210C 'plan':8A,68B,82B,239C,259C,298C 'plan-tim':297C 'playground':140C 'poll':133C 'post':80B,104C,262C 'prior':101C 'provid':300C 'pull':87B,189C,200C,215C,221C,266C 'reach':52B,155C 'real':86B,199C,219C,265C 'repositori':41B,60B,165C,232C 'request':88B,190C,201C,216C,222C,267C 'resourc':177C 'result':258C 'run':30B,69B 'secret':149C 'select':310C 'self':22B 'self-host':21B 'server':158C 'set':120C 'signatur':143C 'skip':142C 'softwar':97C 'sourc':304C 'store':10A,74B,247C 'taco':98C 'temporari':286C 'terraform':7A,24B,31B,67B,94C,238C,295C 'terraformpullrequest':175C 'terraformrepositori':114C 'therefor':234C 'thread':270C 'time':299C 'token':145C 'track':59B,164C 'trigger':6A,66B 'unauthor':237C 'unrel':226C 'unsign':2A,33B,107C 'url':61B,167C 'use':70B,197C,243C 'valu':125C 'verif':146C 'version':319C 'vulner':290C 'webhook':3A,37B,54B 'webhooksecret':43B,118C","nicknames":[],"mitigations":[],"who_affected":"Teams running Burrito before 0.13.0 with a webhook endpoint reachable by an attacker, especially where any TerraformRepository credential omits webhookSecret, including credentials used only for git polling. Installations where every credential has a non-empty webhookSecret, or where the endpoint is not reachable from untrusted networks, are much less exposed.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-26T18:17:21+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-102649","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102649","severity":null,"published_at":"2026-10-26T18:17:21+00:00","modified_at":"2026-10-26T18:17:21+00:00","first_seen_at":"2026-10-26T18:31:43+00:00","fetched_at":"2026-10-26T18:31:43+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"}