Skip to main content
Menu
Advisories

Public webhook endpoints buffer large unauthenticated bodies before verification

GHSA-R2XF-4RWF-26R7Published Updated GitHub

Description

Several Internet-facing webhook routes on the platform API read the whole request body into memory before verifying its signature or bearer token, and the platform API had no request-body size limit. Anyone with network access to the API could make an API worker buffer an arbitrarily large body without a valid signature or token. Upgrade to v0.11.0 or later, or to the v0.11.1 Docker image.

Impact

Anyone with network access to the API could exhaust the memory of platform API workers, with no account and no valid signature. The chat-bot webhook routes were reachable only where that chat platform was configured.

Fix

Fixed in AutoGPT Platform v0.11.0.

The platform API now refuses a body larger than its route's limit before the route reads it: an over-limit Content-Length is refused up front, and a streamed body is refused as soon as it passes the limit. The default limit is 10 MiB (max_request_body_mb); file uploads and routes with their own limit are excepted.

Fix: #16474.

Fix evidence: d744770e0a60.

Upgrade to v0.11.0 or later. Version numbers in this advisory identify Platform releases, whose Git tags are autogpt-platform-beta-v<VERSION>, rather than the backend Python package version. The significantgravitas/autogpt Docker image is tagged v<VERSION>.

The Docker image is fixed in AutoGPT Platform v0.11.1. <!-- security-release: {"tag": "autogpt-platform-beta-v0.11.0", "package": {"ecosystem": "other", "name": "autogpt-platform-beta"}} --> <!-- security-release: {"tag": "autogpt-platform-beta-v0.11.1", "package": {"ecosystem": "other", "name": "significantgravitas/autogpt"}} -->

Workarounds

Limit the request body size in the reverse proxy or ingress in front of the backend.

---

Details

Each of these routes needs the raw body to verify the request, so reading it first was expected. What was missing was any bound on how much was read:

  • Chat-bot webhooks: read_verified_webhook_body (autogpt_platform/backend/backend/copilot/bot/adapters/base.py) read the body, then checked the platform's signature. The Microsoft Teams adapter (autogpt_platform/backend/backend/copilot/bot/adapters/teams/adapter.py) read the body before it validated the bearer token.
  • Stripe: the webhook route in autogpt_platform/backend/backend/api/features/billing/subscriptions/routes.py read the payload before stripe.Webhook.construct_event checked the signature.
  • MailerLite: autogpt_platform/backend/backend/api/features/mailerlite/routes.py read the body before it checked the signature header.

All of them are mounted on the main platform API; the chat-bot routes exist only when that chat platform is configured.

References

Timeline

Reported 2026-10-31 · Triaged 2026-10-31 · Fixed 2026-11-01 · Published 2026-11-17.

References

GitHub · Significant-Gravitas/AutoGPT