Command injection through file names when emailing a document in LibreOffice
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
LibreOffice from 26.2 before 26.2.7 and from 26.8 before 26.8.2 is affected on Linux and other Unix-like systems. When a user sends a document by email, the bundled mail script lets the shell interpret the file name, which is an OS command injection flaw (CWE-78). A local attacker with no privileges needs a user to email a document with a crafted file name, and that name runs commands.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Document Foundation | LibreOffice | 26.2 to before < 26.2.7; 26.8 to before < 26.8.2 | < 26.2.7, < 26.8.2 | Patch available | CNA |
- LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.7; 26.8 to before < 26.8.2 Fixed in < 26.2.7, < 26.8.2 Patch available CNA
Remediation
Upgrade LibreOffice 26.2 to version 26.2.7 and LibreOffice 26.8 to version 26.8.2. The sources list no advisory identifiers for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA LibreOffice (The Document Foundation) Fixed in < 26.2.7, < 26.8.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
The Document Foundation LibreOffice < 26.2.7, < 26.8.2
19 records Highest priority Priority MEDIUM 10 MEDIUM, 9 LOW
Other records, highest priority first
- TI-2026-92219 LibreOffice Writer runs HTML event macros without security checkPriority MEDIUM 52
- TI-2026-92206 Base document events run macros without the macro security checkPriority MEDIUM 52
- TI-2026-92224 Local file disclosure through embedded media in LibreOfficePriority MEDIUM 45
Timeline
- 2026-11-16 Threatist record created from CVE-2026-100101
- 2026-11-16 CISA SSVC decision points changed
- 2026-11-16 Alias added: GHSA-2wr6-w3f2-hh4x
- 2026-11-17 CISA SSVC decision points changed
More The Document Foundation vulnerabilities
- TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
- TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
- TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
- TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
- TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
- TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-100101 · CVE Program
- CVE-2026-100101 · NVD
- GHSA-2wr6-w3f2-hh4x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences