sadrobot

← Back to the monthly list

CVE-2026-102649 padok-team · burrito

9.9 Critical

AI summary

burrito before 0.13.0 accepts unsigned GitHub/GitLab events on POST /api/webhook when webhookSecret is missing or empty, letting an unauthenticated attacker who reaches the endpoint create or delete TerraformPullRequest resources and trigger unauthorized terraform plan runs with the operator's stored credentials. Critical (CVSS 9.9); fixed in 0.13.0.

Official 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.

Published
2026-10-26 18:17 UTC
Modified
2026-10-31 02:17 UTC
CVSS
9.9 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H
EPSS
0.66% (percentile 47)
ENISA EUVD
EUVD-2026-110033
CISA SSVC
Exploitation: poc · Automatable: yes · Technical impact: partial
CWE
CWE-306

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
changed
Confidentiality
low
Integrity
low
Availability
high

References