Exploiting Message Queue Flaws in AI Inference Servers for Widespread RCE
summary
Finds Remote Code Execution from unsafe ZeroMQ/PyZMQ with pickle deserialization used across vLLM, TRT-LLM, SGLang, Monarch and others, with at least five CVEs and proof-of-concept exploits that perform remote pickle RCE creating files and spawning shells in the demo (temp files appear, full code execution and potential model or token theft). Internet-wide scans identify roughly 20,000 exposed ZeroMQ hosts, and fixes use HMAC validation or safer serializers like MessagePack/Protobuf.
AI-written summary · about
chapters (11)
- 0:00Introduction to ShadowMQ
- 1:36AI infrastructure landscape
- 3:29Understanding the security pillar
- 6:30The shadow vulnerability pattern
- 10:15Patient zero: Meta Llama
- 13:43Expanding research findings
- 17:04Copy-paste security debt
- 21:21Further exploitation cases
- 24:02Internet-facing risk assessment
- 25:23Live exploit demonstrations
- 28:57Mitigation and conclusions
