CVE-2026-100101: Command injection through the file name when emailing a document
On Linux and other Unix-like systems, LibreOffice can send the current document as an email attachment with File > Send > Email Document, which starts the mail client through a script bundled with LibreOffice. The script let the shell interpret the name of the document's file, so a file with a crafted name could run commands when it was sent by email. In fixed versions the script passes the file name and the other details to the mail client as plain arguments.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
LibreOffice users on Linux and other Unix-like systems are exposed when they use File > Send > Email Document to send a document whose filename is crafted to trigger shell interpretation. The issue is in the LibreOffice-bundled script used to start the mail client.
What must happen for exploitation to occur?
A user must send the affected document through LibreOffice's Email Document feature. The crafted filename is interpreted by the shell when the bundled script starts the mail client, allowing commands to run.
Are users affected simply by opening a crafted document?
The provided information identifies exploitation during use of File > Send > Email Document. It does not state that merely opening a document with a crafted filename triggers the issue.
What changes in fixed versions?
Fixed versions pass the document filename and other details to the mail client as plain arguments rather than allowing the shell to interpret them.