Command injection through the file name when emailing a document
- State
- Published
- Severity
- 8.4 High
- Published
- Nov 16, 2026
- Updated
- Nov 17, 2026
- Reserved
- Sep 25, 2026
Description
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.
| Product | Versions |
|---|---|
| LibreOffice The Document Foundation | 26.2 to before < 26.2.7 Affected26.8 to before < 26.8.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.4 High | Document Fdn. |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.