Arbitrary file write during DOCX export
- CVE-2026-87932
- GHSA-vqhv-r6f6-3xx6
- EUVD-2026-126521
Description
LibreOffice Writer can save documents in DOCX format. A document can contain content controls whose values are bound to custom XML data, and that data is updated with the current values when the document is exported, including in a conversion run from the command line. Values taken from the document were not escaped where they were used, so a crafted document could write a file of its choosing anywhere the user can write when it was exported to DOCX. In fixed versions these values are written into the document directly, and the XSLT transformations LibreOffice runs can no longer write files or use the network.
Text from the CVE.org record.
Affected
The Document Foundation LibreOffice
- from 26.2 to before < 26.2.7
- from 26.8 to before < 26.8.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.