Skip to content- Sources: primary, discussion
- Summary: RunSybil says an out-of-bounds read in CPython's _Py_subs_parameters lets crafted typing substitution hooks hand a template arbitrary objects, and its CPython 3.14+ exploit escaped a Jinja ImmutableSandboxEnvironment to run code in vLLM through a backdoored chat_template.jinja. CPython says sandbox escapes are not Python vulnerabilities and declined to backport the fix to older supported versions, Pallets sent the report back to CPython, Hugging Face did not respond, and vLLM has not decided on a mitigation. AWS mitigated Bedrock, and DigitalOcean's isolation contained the attack.
- Why it matters: Services that load third-party models should treat chat template rendering as untrusted code execution and isolate it, since a fix will not reach older Python versions.