Exploit database

GH-3e4507aa2dfab678631e56a68e29c690

gouldnicholas/cve-2026-7669-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-7669

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files9

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

sglang_source/python/sglang/srt/constrained/utils.py

Python · 418 bytes
from typing import Dict


def is_legacy_structural_tag(obj: Dict) -> bool:
    # test whether an object is a legacy structural tag
    # see `StructuralTagResponseFormat` at `sglang.srt.entrypoints.openai.protocol`
    if obj.get("structures", None) is not None:
        assert obj.get("triggers", None) is not None
        return True
    else:
        assert obj.get("format", None) is not None
        return False