Eval Injection Affecting sglang package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Eval Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SGLANG-21692679
  • published24 Oct 2026
  • disclosed16 Oct 2026
  • creditJiapeng Li, Jiajia Liu, Qiang Fu, Jiadai Wang

Introduced: 16 Oct 2026

NewCVE-2026-111391  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

There is no fixed version for sglang.

Overview

sglang is a SGLang is a fast serving framework for large language models and vision language models.

Affected versions of this package are vulnerable to Eval Injection via _evaluate_filter(), which passes attacker-controlled input to eval(). A remote attacker can escape the eval() sandbox by exploiting re.search __globals__ access, enabling arbitrary Python code execution in the scheduler process on the next forward pass. The attack is delivered through the unauthenticated /dumper/configure endpoint by sending a filter expression that traverses the global namespace.

Note: This is only exploitable when DUMPER_SERVER_PORT is set.

CVSS Base Scores

version 4.0
version 3.1