Attackers exploit Claude's Office Party vulnerability to execute malicious code on Linux
Attackers Crash Claude's 'Office Party' Flaw to Run Malicious Code on Linux
Researchers at AIR Security disclosed that Anthropic Claude's official DOCX, PPTX and XLSX skills contain a vulnerability named Office Party: an attacker only needs to place a file in a shared temporary directory to execute malicious code on Linux with the permissions of the user running the AI agent. The problem lies in the helper script soffice.py responsible for launching LibreOffice to convert documents; at the step where it cannot open a Unix domain socket, it switches to the Linux LD_PRELOAD mechanism to load a shared library, reading lo_socket_shim.so from the shared temporary directory without validating its origin or contents. The research team demonstrated two exploitation methods: one is to manually place a malicious library in that directory and then have Claude Code generate a document; the other is to use another seemingly normal AI skill to unpack supporting files into the same directory, which are then automatically loaded by the document processing skill. The researchers recommend that enterprises inventory, review and patch the AI skills they use as they would software dependencies.
The two exploitation paths demonstrated by AIR Security show that a file placed in a shared temporary directory can be used to execute code via Claude's official document skills, and can serve as a reference for reviewing agent skill permissions.