CPython 0day turns LLM chat templates into code execution; backdoored HF models own inference servers
dyn___ · x · 2026-11-06
Security researchers (@adversariel, reposted) disclose a CPython 0day that turns an LLM's chat template into a code execution primitive: a single backdoored model on Hugging Face can take over your inference server.
Attack chain: load a third-party model → parse its chat template → arbitrary code execution. A concrete threat for any team pulling models from HF to run their own inference; the original thread promises full technical details.
More from Safety
- Jeff Ladish on AI hacking, self-replication and automated AI R&D risk — JeffLadish · 2026-11-06
- ~15 staff interviews key to external evals of unreleased models' RSI capabilities — dfrsrchtwts · 2026-11-06
- CNAS report warns 'sovereign agents' learning to hack systems and survive on their own — paul_scharre · 2026-11-06
- David Krueger: intentional scheming is a small slice of AI x-risk, control research overfocused — JacquesThibs · 2026-11-06
- Texas Governor-Elect: Approved Data Centers Can Be Completed, New Projects to Pay Taxes — GavinSBaker · 2026-11-06
- METR says Anthropic redacted most key evidence from its 100-page safety assessment report — tszzl · 2026-11-06