Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed sglang server
-
DeliverySend unauthenticated GET /server_info
-
ExploitRead server_args JSON response
-
ExecutionHarvest cleartext api_key/admin_api_key
-
ImpactAuthenticate as privileged client
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
|
| Exploitation Conditions | Exploitation requires that the sglang operator has actually configured at least one secret ServerArgs field (api_key, admin_api_key, or ssl_keyfile_password) - an instance with none set has nothing to leak. The attacker must be able to reach the /server_info HTTP endpoint (or gRPC GetServerInfo) over the network; no authentication, privileges, or user interaction are needed, and default configurations of affected versions (sglang up to 0.5.21) expose the secrets whenever they are set. The primary limiting factor is therefore whether secrets are configured and whether the management endpoint is network-reachable rather than any attack complexity. Note the CWE-319 'cleartext transmission' framing is partially misleading: the evidence shows the secrets are returned in the endpoint's response body regardless of TLS, i.e. an information-exposure-via-introspection issue, not merely plaintext-over-HTTP interception. |
| Impact | This is a credential-disclosure flaw (CWE-319) in sglang's /server_info HTTP endpoint, which spread dataclasses.asdict(server_args) into its JSON response and thereby returned api_key, admin_api_key, and ssl_keyfile_password verbatim. The CVSS 4.0 vector (AV:N/PR:N/UI:N) confirms it is reachable by a remote, unauthenticated attacker, and the source-code evidence (PR #30343 and its regression tests) confirms an anonymous caller could read admin_api_key when only --admin-api-key was set - so the real-world attack is simply an unauthenticated GET, not a complex one. This directly contradicts the input's AC:H / 'highly complex' / 'difficult' rating, which appears to be a VulDB-assigned complexity inflation; the actual exploitation is low-complexity. The severity is also likely understated: the input rates confidentiality VC:L, but the leaked value is the service's master authentication credential, so disclosure effectively yields full access to the inference server (hence my independent assessment uses C:H/VC:H). Exploitation is gated by one real condition - the operator must have actually configured one of the secret fields - so an sglang instance running without an api_key has nothing to leak. No EPSS score and no CISA KEV entry were provided, and the only reporter is VulDB; a public exploit exists but there is no evidence of active exploitation. Net: a genuine, easy-to-exploit secret-exposure bug for any secured sglang deployment, more serious than the 6.3 base score suggests, but not a mass-exploitation emergency absent KEV/EPSS signals. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker who can reach an sglang server sends a GET request to the /server_info endpoint (or the equivalent gRPC GetServerInfo). The JSON response includes the configured api_key, admin_api_key, and ssl_keyfile_password in cleartext, handing the attacker the credentials needed to fully control the inference service. A public exploit/report exists (GitHub issue #30166), making this trivially reproducible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Unauthenticated remote credential disclosure in SGLang (sgl-project/sglang) up to version 0.5.21, where the /server_info HTTP endpoint and the gRPC GetServerInfo path returned the entire ServerArgs dataclass and thereby exposed the configured api_key, admin_api_key, and ssl_keyfile_password values verbatim to any network-reachable caller. No privileges or user interaction are required (CVSS 4.0 vector PR:N/UI:N, with E:P indicating a proof-of-concept), and publicly available exploit code exists; KEV has not flagged this as actively exploited. Impact is confidentiality-only but potentially severe - a leaked admin API key gives full control of the inference service - with the practical gate being whether the operator actually configured a secret and left the management endpoint exposed. A vendor fix exists only as an unmerged pull request (PR #30343), so released patched versions could not be confirmed at analysis time.
RemediationAI
No released patched version was confirmed at time of analysis - the fix exists only as upstream pull request https://github.com/sgl-project/sglang/pull/30343 (upstream fix available as PR/commit; released patched version not independently confirmed), which replaces dataclasses.asdict(server_args) with a redacting redacted_asdict() helper in http_server.py, engine.py, and grpc_bridge.py. Track and adopt the patched release as soon as the PR is merged and tagged. Until then, the highest-value action is to assume compromise of any configured credential and rotate api_key, admin_api_key, and ssl_keyfile_password immediately, then restrict access to the introspection surfaces: block or require authentication in front of the /server_info route and the gRPC GetServerInfo method at a reverse proxy or service mesh (trade-off: health/monitoring tooling and dashboards that poll /server_info for model and configuration metadata will break unless a scoped, authenticated alternative is provided), and bind the SGLang HTTP server to localhost or a trusted management network rather than a public interface (trade-off: remote clients and load balancers lose direct access). Because the disclosure is in the response body and not dependent on transport security, enabling TLS provides no protection against this issue. Defensive detections should look for anonymous requests to /server_info in SGLang access logs, which are the signature of exploitation; see https://vuldb.com/vuln/413451 and https://vuldb.com/vuln/413451/cti for vendor-side telemetry context.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SGLang is a Python LLM serving framework whose runtime configuration lives in the ServerArgs dataclass (python/sglang/srt/server_args.py). The vulnerable code path in python/sglang/srt/entrypoints/http_server.py (the server_info handler) spread dataclasses.asdict(server_args) directly into the JSON response, and the same pattern was used in engine.py's get_server_info and grpc_bridge.py's get_model_info. CWE-319 ('cleartext transmission of sensitive information') is the assigned root-cause class, but the code evidence shows the mechanism is really introspection-driven information exposure: the secrets are returned in the response body regardless of whether the connection is TLS-protected, so a transport-layer reading of the weakness understates it. The proposed fix adds a SENSITIVE_FIELDS tuple ('api_key', 'admin_api_key', 'ssl_keyfile_password') and a redacted_asdict() helper that replaces any set secret with '****' while leaving unset (None) values intact, so consumers can still tell whether a secret is configured; regression tests assert that the literal secrets never appear in the serialized /server_info output and that redaction does not mutate the underlying ServerArgs. The CPE cpe:2.3:a:sgl-project:sglang:*:*:*:*:*:*:*:* covers the unbounded sglang product line, with version 0.5.21 described as the last affected release.
Know when Sglang gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Unauthenticated GET to /server_info returns the service's api_key, so AV:N/AC:L/PR:N and C:H (master credential disclosed); no integrity or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Missing authorization on SGLang's POST /load_lora_adapter_from_tensors HTTP endpoint lets any client that can reach the
Unauthenticated remote attackers can crash the SGLang inference server (versions up to and including 0.5.19) by calling
Remote code execution in SGLang (versions up to and including 0.5.15) allows unauthenticated attackers to run arbitrary
SGLang's multimodal generation module deserializes untrusted data with pickle.loads() over an unauthenticated ZMQ broker
SGLang's encoder parallel disaggregation system is vulnerable to unauthenticated RCE through pickle deserialization in t
Unauthenticated remote code execution in SGLang (the LLM/multimodal generation serving runtime) affecting version 5.10 a
Remote code execution in SGLang 0.5.9's /v1/rerank endpoint allows unauthenticated attackers to execute arbitrary code b
Remote code execution in SGLang (versions up to and including 0.5.15) allows attackers to run arbitrary code on the infe
Remote code execution in SGLang AI inference servers allows unauthenticated attackers to run arbitrary code through the
Remote code execution in SGLang (versions ≤ v0.5.15) allows attackers to achieve arbitrary code execution through the op
Unauthenticated remote code execution affects SGLang, an LLM/multimodal inference-serving framework, at version 5.10, wh
Unauthenticated remote code execution in SGLang versions through v0.5.20 arises from unsafe pickle deserialization in th
EUVD-2026-92264
GHSA-fr3j-h92j-cm4p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB