CVE-2026-104920: Remote Java code loaded through Calc data links
LibreOffice Calc can link a cell range to an external data source, and the link is saved in the document. A Java database driver for such a link is loaded from a class path. Opening a crafted document could still load a Java database driver from a location outside the local machine and run its code, by a route that the fix for CVE-2026-63277 did not cover. In fixed versions an entry in a Java class path has to be a file URL that names a file on the local machine.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users who open Calc documents containing externally linked cell ranges backed by Java database drivers are exposed. The crafted document can cause a driver to be loaded from a location outside the local machine.
What must an attacker provide to exploit it?
An attacker needs to provide a crafted Calc document with an external data link whose Java class path points to a non-local location. Exploitation occurs when the document is opened and the driver code is loaded.
Does the fix restrict all Java class-path entries?
In fixed versions, a Java class-path entry must be a file URL that names a file on the local machine. This prevents loading a Java database driver from an external location through the affected route.