Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108754 Overview
CVE-2026-108754 is a cleartext logging vulnerability [CWE-532] in GPT-Load through version 1.4.11. The Gin Logger middleware records the raw HTTP query string before the extractAuthKey function strips the key parameter. As a result, client proxy keys sent in Gemini-style requests are written to console output and the ./data/logs/app.log file in plaintext. Any user with read access to those logs can recover valid proxy keys and reuse them against the associated group, impersonating legitimate clients.
Critical Impact
Attackers with local log access can extract client proxy keys and send authenticated requests to the backing LLM groups.
Affected Products
- GPT-Load through version 1.4.11
- Deployments exposing ./data/logs/app.log to additional operators or containers
- Gemini-style proxy endpoints that pass credentials via the key query parameter
Discovery Timeline
- 2026-10-11 - CVE-2026-108754 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108754
Vulnerability Analysis
GPT-Load is a Go-based proxy that routes requests to upstream LLM providers. The HTTP server uses Gin's standard Logger middleware, which emits an access log line containing the full request URI, including the query string. For Gemini-style upstreams, clients authenticate by passing their proxy key as a key=<secret> query parameter.
The application defines a helper, extractAuthKey, that reads the key parameter and removes it from the request before downstream handling. The flaw is one of ordering: the Logger middleware runs and serializes the raw URL before extractAuthKey executes. The sanitized URL is therefore never what gets logged. Every proxy request writes the secret in cleartext to stdout and to ./data/logs/app.log.
Root Cause
The root cause is improper handling of sensitive information in log output [CWE-532]. Middleware ordering in internal/middleware/middleware.go places request logging ahead of credential stripping. The design assumes query strings are non-sensitive, but Gemini-compatible clients place long-lived API keys in that location.
Attack Vector
Exploitation requires local read access to the log sink, such as a shared container volume, a log forwarder destination, a SIEM index, or a developer workstation holding ./data/logs/app.log. An attacker greps the log for key= occurrences, extracts the proxy key, and replays it against the GPT-Load endpoint for the matching group. No network interaction with the vulnerable host is required for the extraction step. See the HackMD Access Log Disclosure Analysis and the VulnCheck Advisory for GPT-Load for technical details.
Detection Methods for CVE-2026-108754
Indicators of Compromise
- Log entries in ./data/logs/app.log or stdout containing key= followed by a secret value in the request URI
- Access log lines for Gemini-style endpoints such as /v1beta/models/* with query strings preserved
- Unexpected requests to GPT-Load from IP addresses that match analyst or operator workstations
Detection Strategies
- Scan historical GPT-Load logs for the regex key=[A-Za-z0-9_\-]{16,} to enumerate exposed proxy keys
- Correlate upstream LLM provider usage with GPT-Load client identifiers to spot replayed keys
- Audit access to the ./data/logs/ directory and any downstream log aggregation indexes
Monitoring Recommendations
- Alert when log files containing the key= pattern are read by accounts outside the service identity
- Monitor file integrity and ACL changes on ./data/logs/app.log
- Track proxy key rotation events and flag keys that remain active after log exposure
How to Mitigate CVE-2026-108754
Immediate Actions Required
- Rotate every proxy key that has ever been used against a vulnerable GPT-Load instance
- Restrict read permissions on ./data/logs/app.log to the GPT-Load service account only
- Purge historical log archives and SIEM indexes that captured the key= query parameter
Patch Information
No fixed version was listed in the NVD record at publication. Monitor the GPT-Load GitHub repository for releases beyond 1.4.11 that reorder middleware or sanitize the logged URI. Review the vulnerable middleware in the middleware.go source when validating a fix.
Workarounds
- Replace the default Gin Logger with a custom logger that redacts the key query parameter before writing
- Terminate client authentication at a reverse proxy that strips the key parameter before forwarding to GPT-Load
- Disable access logging entirely in environments where redaction cannot be guaranteed
# Example nginx reverse proxy stripping the key query parameter before GPT-Load
location /v1beta/ {
if ($arg_key) {
set $clean_args "";
}
proxy_set_header Authorization "Bearer $arg_key";
proxy_pass http://gpt-load-upstream$uri?$clean_args;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

