• News/
  • darkreading-20261109180830

Attackers Crash Claude's 'Office Party' Flaw to Run Malicious Code on Linux

Dark Reading
·
Elizabeth Montalbano
·
Published Nov 9, 2026
·
Updated

An attacker can use a flaw in Anthropic Claude's document-processing tool to run malicious code on Linux systems just by creating a temporary file that the AI assistant can access. The flaw highlights a growing risk posed by even trusted AI tools to introduce security gaps in enterprise environments. Researchers from AIR Security discovered the flaw, which they've dubbed "Office Party," in Anthropic's official DOCX, PPTX, and XLSX skills, which are tools that enable Claude to create, read, edit, and process Microsoft Word documents, PowerPoint presentations, and Excel spreadsheets, respectively. The vulnerability stems from a helper script, soffice.py, that launches LibreOffice to convert documents, including rendering Word documents as PDFs, they revealed in a report published today. When the script encounters an environment where Unix-domain sockets cannot be opened, it uses a workaround that loads a shared library through the Linux LD_PRELOAD mechanism. Anthropic has opted not to fix the issue. During conversation, the script checks whether a library named lo_socket_shim.so already exists in a shared temporary directory but does not verify its origin or contents. An attacker who can place a malicious library at that location before the next document-processing operation can potentially have their code loaded and executed within LibreOffice, with the privileges of the user running the AI agent. In this way, the flaw can allow attackers to execute malicious code on a user's ...

Read full article

Affected Software

1 affected component
Anthropic Claude Code

Frequently Asked Questions

1

Which Claude components are affected by the Office Party flaw?

The issue affects Anthropic's official DOCX, PPTX, and XLSX skills, which Claude uses to create, read, edit, and process Microsoft Word, PowerPoint, and Excel files. The reported vulnerable helper script is soffice.py, which launches LibreOffice for document conversion.

2

How could an attacker trigger malicious code execution?

An attacker can create a temporary file accessible to the AI assistant. When soffice.py cannot open Unix-domain sockets, it uses an LD_PRELOAD-based workaround and checks for lo_socket_shim.so in a shared temporary directory without verifying the library's origin or contents.

3

What systems are at risk?

The reported impact is malicious code execution on Linux systems. The vulnerable behavior involves the Linux LD_PRELOAD mechanism and a shared temporary directory.

4

Has the issue been fixed?

No. Anthropic has opted not to fix the issue, according to the report.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203