Critical · 9.9 Critical vulnerabilities CVE-2026-102649
Burrito: Unauthenticated Webhooks Can Trigger Unauthorized Terraform Plans (CVE-2026-102649)
A critical vulnerability in Burrito, a Terraform Automation Collaboration Software (TACoS) Kubernetes operator, allows unauthenticated attackers to forge GitHub or GitLab webhook events and trigger unauthorized Terraform plans when a repository's webhook secret is not configured. Fixed in version 0.13.0.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical security issue has been disclosed in Burrito, a Kubernetes operator used for Terraform Automation Collaboration Software (TACoS). The vulnerability affects how the `burrito-server` webhook endpoint validates incoming GitHub and GitLab events, and it can be exploited without authentication when a repository's webhook secret is not configured. The issue is tracked as CVE-2026-102649 and has been assigned a CVSS score of 9.9.
What Happened
Burrito's `POST /api/webhook` endpoint accepts unsigned GitHub and GitLab events whenever a `TerraformRepository`'s credentials omit the `webhookSecret` field or leave it set to an empty value. This includes credentials that are otherwise configured for git authentication and polling. The underlying webhook library (`go-playground/webhooks`) skips signature or token verification entirely when the secret is empty, meaning anyone who can reach the `burrito-server` endpoint and knows a tracked repository's URL can forge events.
Technical Cause
The root cause is classified as CWE-306 (Missing Authentication for Critical Function). The `Credential.WebhookSecret` field is optional, and when left empty, no cryptographic verification of incoming webhook payloads occurs. An attacker can use this gap to create or delete `TerraformPullRequest` custom resources with attacker-chosen `Branch`, `Base`, and `ID` fields. For GitHub `pull_request` events specifically, the controller fetches changed files using the real pull request number but does not cross-check the payload's branch against that pull request. By pairing a real, existing pull request number with an unrelated existing branch in the same repository, an attacker can cause an unauthorized `terraform plan` for affected layers, executed using the operator's stored git and cloud credentials. Analysis also indicates the resulting plan output can be posted to the real pull request's comment thread, exposing and misattributing another branch's infrastructure changes.
Why It Matters
This vulnerability allows an unauthenticated attacker to force Terraform plan operations using credentials the operator already holds for cloud and git access, potentially leaking infrastructure configuration details for unrelated branches into a real pull request's comments. Because plan-time Terraform providers and data sources can execute code depending on the contents of the selected branch, the practical impact depends on what that branch contains. Auto-apply is disabled for these forged, temporary layers, so this issue alone cannot force a full `terraform apply`.
Who Is Affected
Organizations running Burrito deployments where a `TerraformRepository`'s credentials do not have a `webhookSecret` configured (or have it set to an empty value) are affected. Anyone who can reach the `burrito-server` webhook endpoint over the network and knows a tracked repository's URL can attempt to exploit this issue without authentication.
Affected Versions
Versions of Burrito prior to 0.13.0 are affected. The issue is fixed in version 0.13.0.
Fixes and Mitigation
This issue is fixed in Burrito version 0.13.0. The fact package does not specify the exact mechanism used in the fix (for example, whether `webhookSecret` is now mandatory or additional branch/PR cross-checks were added), so administrators should consult the vendor update directly for configuration guidance.
Recommended Action
Administrators running Burrito should upgrade to version 0.13.0 as soon as possible. Until the upgrade is applied, ensure every `TerraformRepository`'s credentials have a non-empty `webhookSecret` configured, and restrict network access to the `burrito-server` webhook endpoint to trusted sources where feasible.
PatchBriefing score
9.9 / 10 · Critical
Official CVSS: 9.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H
EPSS 0.0066 (47 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
This issue is fixed in Burrito version 0.13.0. The fact package does not specify the exact mechanism used in the fix (for example, whether `webhookSecret` is now mandatory or additional branch/PR cross-checks were added), so administrators should consult the vendor update directly for configuration guidance.
How this was built
1 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
Revision history
- Published
- Generated
- Published
- Generated