CVE-2026-108169: Code execution through web query files given on the command line
LibreOffice can open a web query file (.iqy), which names a web page to import into a spreadsheet, when the file is given on its command line, for example when a file manager or another program opens the file with LibreOffice. The address in such a file was used without the checks that apply to an address given on the command line directly, so a crafted file could make LibreOffice do something other than open a web page, up to running code. In fixed versions only an http or https address is taken from a web query file.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users who open .iqy web query files with LibreOffice through a file manager, another application, or a LibreOffice command-line invocation are exposed. The crafted file controls the address LibreOffice processes.
What does an attacker need to exploit it?
An attacker needs to get a crafted .iqy file opened by LibreOffice. The issue occurs when LibreOffice reads the address specified inside that web query file.
What behavior changes in fixed versions?
Fixed versions accept only http or https addresses from .iqy web query files. Other address types are no longer taken from the file.
What can be done before updating?
Avoid opening untrusted .iqy files with LibreOffice, including files opened indirectly through a file manager or another program. Treat unsolicited web query files as potentially malicious.