# GHSA-FP4G-P7J5-V6PW: Anyone with an active OAuth app's client ID can stall the REST API by sending wrong client secrets

- Database: GitHub
- Severity: CVSS 5.9 (Medium)
- Published: 2026-11-16
- Modified: 2026-11-16

## Tracked as

- [CVE-2026-129317](https://cve.now/CVE-2026-129317.md): AutoGPT denial of service in OAuth provider endpoints

## Description

The OAuth provider endpoints checked a calling application's client secret against a Scrypt hash synchronously on the REST API's event loop, holding it for tens of milliseconds per attempt. Anyone who knew the client ID of an active confidential OAuth application could stall the REST API for all users with a stream of requests carrying a wrong secret. Upgrade to v0.11.2 or later.

### Impact

No account or token was needed: while the stream lasted, web app pages, AutoPilot chat and External API calls handled by the affected REST API process waited or timed out. Nothing was read or changed, running workflows continued, and deployments with no OAuth application registered were not affected.

### Fix

**Fixed in [AutoGPT Platform v0.11.2](https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.2).**

Client secrets are now checked in a worker thread, so the REST API keeps serving other requests while a check runs.

Fix: [#16685](https://github.com/Significant-Gravitas/AutoGPT/pull/16685).

Fix evidence: [35ef5704a35e](https://github.com/Significant-Gravitas/AutoGPT/commit/35ef5704a35e8c1b5f56f7768ef4a541c59d05b9).

Upgrade to v0.11.2 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>`.

### Workarounds

Deployments with no OAuth application registered are not exposed. Operators can rate-limit `POST /api/oauth/token`, `/api/oauth/introspect` and `/api/oauth/revoke` per client address at their reverse proxy.

---

### Details

The OAuth provider endpoints `POST /api/oauth/token`, `/api/oauth/introspect` and `/api/oauth/revoke` authenticate the calling application by its client secret.

- `validate_client_credentials` in `autogpt_platform/backend/backend/data/auth/oauth.py` looked the application up by `client_id` and then called `OAuthApplicationInfoWithSecret.verify_secret` directly on the event loop. The `token`, `introspect` and `revoke` handlers in `autogpt_platform/backend/backend/api/features/oauth.py` called it before anything else.
- `verify_secret` called `APIKeySmith.verify_key` (`autogpt_platform/autogpt_libs/autogpt_libs/api_key/keysmith.py`), which derived a Scrypt hash (`n=2**14, r=8, p=1`: 16 MiB and roughly 30-40 ms of CPU) for any candidate that started with `agpt_`, whether or not it turned out to match.
- An unknown or inactive `client_id` was rejected before hashing. Client IDs are random, but public by design: they appear in the authorization URL an integrating application sends its users to.
- The OAuth routes had no rate limit, and each REST API process serves all its requests from one event loop, so about 30 such requests per second kept a process busy. `validate_api_key` in `autogpt_platform/backend/backend/data/auth/api_key.py` already ran the same Scrypt check in a worker thread.

A deployment with several REST API processes needed proportionally more requests, which were small and cheap to send. The gap was introduced in v0.6.41 by [#11617](https://github.com/Significant-Gravitas/AutoGPT/pull/11617) (commit `3dbc03e488`).

### References

- Fix: [#16685](https://github.com/Significant-Gravitas/AutoGPT/pull/16685), commit [35ef5704a35e](https://github.com/Significant-Gravitas/AutoGPT/commit/35ef5704a35e8c1b5f56f7768ef4a541c59d05b9), first released in [v0.11.2](https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.11.2)
- Introduced by [#11617](https://github.com/Significant-Gravitas/AutoGPT/pull/11617)

### Timeline

Reported 2026-11-09 · Triaged 2026-11-09 · Fixed 2026-11-10 · Published pending.

### Credits

This issue was initially discovered by Microsoft's Codename MDASH and validated by Dongkwan Kim and HyungSeok Han of Microsoft Security FORGE Lab.

## References

- https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-fp4g-p7j5-v6pw

Page: https://cve.now/GHSA-FP4G-P7J5-V6PW

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
