H3-2026-1096¶
FastGPT Default Model API Key Information Disclosure Vulnerability
| Category | CREDENTIALS |
| Base Score | 6.5 |
Description¶
Labring FastGPT's getInitData endpoint returns the raw default model configuration object, including the requestAuth and requestUrl fields, to any authenticated user regardless of privilege level. The requestAuth field stores the upstream large language model provider API key an administrator configured, such as an OpenAI API key, in plaintext. Remote attackers who hold any valid FastGPT account session can call the endpoint to retrieve these upstream credentials directly from the JSON response body. The condition requires only a valid authenticated session on the FastGPT instance and no additional privilege beyond a standard user account.
Impact¶
Exposure of upstream large language model provider API keys lets attackers consume the organization's model usage quota at its expense. Stolen keys can be reused outside FastGPT to query the provider directly, exposing any conversation data processed under that account. The leak persists for every authenticated user until an administrator rotates the affected keys. Organizations operating shared internal LLM gateways face the broadest financial and data exposure.