Advisory

PYSEC-2026-3063

Also known as: CVE-2026-3989, GHSA-hvwj-8w5g-28rg

Summary

SGLangs replay_request_dump.py contains an insecure pickle.load() without validation and proper deserialization

Details

SGLangs replay_request_dump.py contains an insecure pickle.load() without validation and proper deserialization. An attacker can take advantage of this by providing a malicious .pkl file, which will execute the attackers code on the device running the script.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

sglang

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.10 (ecosystem)

Fixed versions

0.5.10

Fix

  • Fixed version 0.5.10
    pip install --upgrade sglang==0.5.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences