sglang vulnerability

A vulnerability has been found in sgl-project sglang up to 0.5.21. This issue affects the function server_info of the file python/sglang/srt/entrypoints/http_server.py of the component HTTP Endpoint. Such manipulation of the argument api_key leads to cleartext transmission of sensitive information. It is possible to launch the attack remotely. Attacks of this nature are highly complex. The exploitability is assessed as difficult. The exploit has been disclosed to the public and may be used. The pull request to fix this issue awaits acceptance.

Published 5 Oct 2026Updated 5 Oct 20267 sources
CVSS 2.9

What happened

A vulnerability has been found in sgl-project sglang up to 0.5.21. This issue affects the function server_info of the file python/sglang/srt/entrypoints/http_server.py of the component HTTP Endpoint. Such manipulation of the argument api_key leads to cleartext transmission of sensitive information. It is possible to launch the attack remotely. Attacks of this nature are highly complex. The exploitability is assessed as difficult. The exploit has been disclosed to the public and may be used. The pull request to fix this issue awaits acceptance.

Affected versions

sglang: 0.5.0; 0.5.1; 0.5.2; 0.5.3; 0.5.4; 0.5.5; 0.5.6; 0.5.7; 0.5.8; 0.5.9; 0.5.10; 0.5.11; 0.5.12; 0.5.13; 0.5.14; 0.5.15; 0.5.16; 0.5.17; 0.5.18; 0.5.19; 0.5.20; 0.5.21 Fixed: See vendor advisory.

Why it matters

Review the vendor advisory and exposure of the affected product to determine operational impact.

Detection & mitigation

  • Apply vendor-provided updates or mitigations.
  • Review affected product exposure and access logs.

Public PoC references

No public PoC reference has passed the current publication threshold.