From 946effae97e9cc28884f92f59893ab46beab1110 Mon Sep 17 00:00:00 2001 From: "stackweaver-release-bot[bot]" <287320289+stackweaver-release-bot@users.noreply.github.com> Date: Fri, 4 Dec 2026 06:28:15 +0000 Subject: [PATCH] fix(api): limit the request size of the GitHub App webhook and provisioning callbacks --- docs/.capability-evidence.json | 2 +- scripts/changelog/data/changes.json | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/.capability-evidence.json b/docs/.capability-evidence.json index 19d736a..0e84ca6 100644 --- a/docs/.capability-evidence.json +++ b/docs/.capability-evidence.json @@ -381,7 +381,7 @@ "evidence": [ { "path": "backend/internal/api/v2/routes/routes.go", - "sha256": "3ad495c0a95b064a8670f019ec9505786fed47d0548dd344f6eccc8021682d10" + "sha256": "03dd1f9e55e022d8015e2c5cbda93ec4f41e14fcb6b54217697ae80c94d0c7ab" }, { "path": "frontend/src/pages/Docs/ApiReferenceExplorer.tsx", diff --git a/scripts/changelog/data/changes.json b/scripts/changelog/data/changes.json index 56bd5ca..bd4f069 100644 --- a/scripts/changelog/data/changes.json +++ b/scripts/changelog/data/changes.json @@ -1,4 +1,27 @@ [ + { + "id": "unauthenticated-request-body-limits", + "title": "The GitHub App webhook and Ansible provisioning callbacks limit request size", + "area": "API and integrations", + "kind": "Fixed", + "reviewed": true, + "audience": "Operators who receive GitHub App webhooks or use Ansible provisioning callbacks.", + "before": "The GitHub App webhook and the Ansible provisioning callback read a request body of any size.", + "after": "The GitHub App webhook refuses a body over 25 MiB and the provisioning callback refuses one over 64 KiB, each with 413 before the body is read. GitHub sends no webhook delivery over 25 MB, and a callback body carries only its key.", + "action": "No action is required.", + "details": [], + "guides": [ + { + "title": "Using the API", + "path": "/docs/architecture/using-the-api" + } + ], + "sourceCommits": [], + "requiredComponents": [ + "api" + ], + "availability": [] + }, { "id": "registry-provider-list-page-size", "title": "Provider registry lists page through the providers the caller can see",