Unauthenticated webhooks trigger Terraform plans in Burrito
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-306.
Summary
Burrito before 0.13.0 accepts unsigned GitHub and GitLab webhook events when a TerraformRepository's credentials omit webhookSecret or leave it empty. An unauthenticated remote attacker who knows a tracked repository's URL can forge events and pair a real pull request number with an unrelated branch, triggering a Terraform plan with the operator's stored credentials (CWE-306).
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| padok-team | burrito | before 0.13.0 | 0.13.0 | Patch available | CNA |
- burrito Vendorpadok-team Affected before 0.13.0 Fixed in 0.13.0 Patch available CNA
Remediation
Upgrade padok-team Burrito to version 0.13.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
- Fix · CNA burrito (padok-team) Fixed in 0.13.0
Timeline
- 2026-10-26 Threatist record created from CVE-2026-102649
- 2026-10-31 CISA SSVC decision points changed
- 2026-10-31 Priority changed: MEDIUM → HIGH
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences