# CVE-2026-102649: Burrito: Unauthenticated webhooks trigger unauthorized Terraform plans when webhookSecret is unset


- **Severity:** Critical 9.9 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 26 Oct 2026
- **Updated:** 26 Oct 2026
- **Also known as:** GHSA-7m68-72r6-3jx8

## What is CVE-2026-102649?

CVE-2026-102649 is a critical vulnerability in padok-team burrito, published on 26 Oct 2026. 

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

Weakness: CWE-863 (Incorrect Authorization), CWE-306 (Missing Authentication for Critical Functionality)

## Which versions are affected by CVE-2026-102649?


## How do I fix CVE-2026-102649?

No fix has been published for CVE-2026-102649 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-102649 being exploited?

There is no known exploitation of CVE-2026-102649 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-102649 and fix it if it is affected.

What it is: CVE-2026-102649 is a critical vulnerability in padok-team burrito, published on 26 Oct 2026. 
Exploitation: There is no known exploitation of CVE-2026-102649 in the wild and no public exploit code.

Affected product: padok-team burrito. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-102649/ (Markdown: https://insights.sbomify.com/CVE-2026-102649/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-102649
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-102649
- OSV: https://osv.dev/vulnerability/CVE-2026-102649

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-102649/
Summaries are generated and may contain mistakes; the official description above is the record.
