vllm - 💡(How to fix) Fix [Installation]: PyPI release blocks installation on enterprise systems: xgrammar==0.1.29 blocked by security scanners (CVE-2026-25048) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#37342Fetched 2026-04-08 00:53:27
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Error Message

Error: pip install vllm tries to install xgrammar==0.1.29, which is affected by CVE-2026-25048. The vLLM package requirement was limited to only accept version 0.1.29.

Code Example

pip install vllm
RAW_BUFFERClick to expand / collapse

Your current environment

Problem

Installing vLLM from PyPI fails in enterprise environments where security scanners or Artifactory policies block vulnerable packages.

Error: pip install vllm tries to install xgrammar==0.1.29, which is affected by CVE-2026-25048. The vLLM package requirement was limited to only accept version 0.1.29.

Request

Please release a new vLLM version to PyPI that includes the xgrammar upgrade from [PR #36168] (xgrammar>=0.1.32) so that users can install vLLM without pulling in the vulnerable xgrammar version.

This fix is already in main; a new PyPI release is needed.

How you are installing vllm

pip install vllm

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

Fix Plan

To resolve the issue, a new version of vLLM needs to be released to PyPI with the updated xgrammar dependency.

Steps to Release a New Version of vLLM

  1. Update the setup.py file: Modify the setup.py file to include the updated xgrammar version.
# setup.py
from setuptools import setup

setup(
    # ... other dependencies ...
    install_requires=[
        # ... other dependencies ...
        'xgrammar>=0.1.32',
        # ... other dependencies ...
    ],
)
  1. Create a new release: Create a new release of vLLM with the updated setup.py file.
  2. Upload to PyPI: Upload the new release to PyPI using the following command:
pip install twine
python -m twine upload dist/*

Temporary Workaround

Until the new version is released, users can install vLLM with the updated xgrammar version using the following command:

pip install --upgrade xgrammar>=0.1.32
pip install vllm

Verification

To verify that the fix worked, install vLLM using the following command:

pip install vllm

Check the installed version of xgrammar using:

pip show xgrammar

The version should be 0.1.32 or higher.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING