---
id: "CVE-2026-104920"
page: "https://infrastack.ai/live/CVE-2026-104920"
kind: "vulnerability"
aliases: ["CVE-2026-104920"]
title: "LibreOffice Calc: crafted document can load remote Java database driver and run code"
severity: "high"
cvss: 8.5
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "libreoffice", "fixed": ["26.2.7", "26.8.2"], "affected": "< 26.2.7 (26.2 branch); < 26.8.2 (26.8 branch)", "ecosystem": "vendor"}]
ecosystems: []
tags: ["calc", "desktop", "java", "libreoffice", "package"]
not_affected_if: ["patched"]
published_at: "2026-11-16T17:17:27+00:00"
first_seen_at: "2026-11-16T17:37:55+00:00"
updated_at: "2026-11-16T17:40:25+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104920", "first_seen_at": "2026-11-16T17:37:55+00:00"}, {"source": "analyst", "url": "https://www.libreoffice.org/security/", "first_seen_at": "2026-11-16T17:40:25+00:00", "cites": ["https://www.libreoffice.org/security/", "https://access.redhat.com/security/cve/cve-2026-63277"]}]
exploit_sources: []
---

# LibreOffice Calc: crafted document can load remote Java database driver and run code

Link for people: https://infrastack.ai/live/CVE-2026-104920 (this .md is for agents)

LibreOffice Calc can link a cell range to an external data source, and that link is saved in the document. Opening a crafted document can make LibreOffice load a Java database driver from a location outside the local machine and run its code.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:libreoffice affected < 26.2.7 (26.2 branch); < 26.8.2 (26.8 branch) fixed 26.2.7, 26.8.2

## How to check

Open Help > About in LibreOffice: exposed if the version is older than 26.2.7 (26.2 branch) or 26.8.2 (26.8 branch). The advisory does not say whether the Java runtime must be enabled; for the earlier sibling CVE-2026-63277 Red Hat says disabling Java (Tools > Options > LibreOffice > Advanced) removes the vector, so check that setting as a possible stopgap, not confirmed for this CVE.

## Fix

Upgrade LibreOffice to 26.2.7 (26.2 branch) or 26.8.2 (26.8 branch) or later. In fixed versions an entry in a Java class path must be a file URL naming a file on the local machine.

## Timeline

- 2026-11-16T17:37:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-104920
- 2026-11-16T17:40:25+00:00 analyst https://www.libreoffice.org/security/ — LibreOffice advisory (Nov 16, 2026) lists CVE-2026-104920 fixed in 26.2.7/26.8.2; bypass of the CVE-2026-63277 fix; reporter Rick de Jager (V12). Advisory does not say whether Java must be enabled (Red Hat says so for the sibling CVE-2026-63277 only), no PoC or exploitation seen for this CVE. Not checkable from repo files.

## Documents

- [advisory] LibreOffice security advisories: CVE-2026-100101 https://www.libreoffice.org/security/
- [mentions] Red Hat: CVE-2026-63277 (predecessor) https://access.redhat.com/security/cve/cve-2026-63277

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
