CVE-2026-104692 — The Document Foundation LibreOffice
One of 24 The Document Foundation LibreOffice vulnerabilities published together by NVD: our article covers all of them.
JavaDatabasesVulnerabilitiesResearch article
LibreOffice Allows Remote Code Execution via HSQLDB
| CVE | CVE-2026-104692 |
|---|---|
| Vendor and product | The Document Foundation LibreOffice |
| Published | November 24, 2026 10:40 UTC |
| Research cut-off | November 24, 2026 09:50 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-17); CISA KEV catalog; FIRST EPSS (2026-11-23) |
Executive summary
CVE-2026-104692 affects LibreOffice, allowing remote code execution through the HSQLDB database engine. The CVSS 4.0 score is 8.5 HIGH, scored by security@documentfoundation.org [1]. The vulnerability impacts versions ≥ 26.2 and < 26.2.7, and ≥ 26.8 and < 26.8.2 [1]. The reviewed sources do not report exploitation [2].
Key points
- CVE-2026-104692 enables remote code execution via HSQLDB in LibreOffice [1].
- The CVSS 4.0 score is 8.5 HIGH, scored by security@documentfoundation.org [1].
- The vulnerability affects LibreOffice versions ≥ 26.2 and < 26.2.7, and ≥ 26.8 and < 26.8.2 [1].
- The reviewed sources do not report exploitation [2].
- The EPSS score estimates a 0.31% probability of exploitation within the next 30 days [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-104692 | The Document Foundation | LibreOffice | CWE-470, CWE-1188 | 8.5 HIGH | 2026-11-16T17:17:27 | 2026-11-17T05:18:28 | Deferred |
Vulnerability description
LibreOffice integrates the HSQLDB database engine, which can be accessed using JDBC or embedded methods. Normally, SQL commands are limited to predefined Java classes. However, when accessed through JDBC, this limitation is removed, enabling malicious SQL in documents to trigger arbitrary Java methods and execute code [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability requires local access, no privileges, and passive user interaction [1]. An attacker needs to create a malicious document that exploits the flaw [1].
Impact analysis
The CVSS vector highlights high impact on confidentiality, integrity, and availability. This flaw could allow remote code execution [1].
Affected products and versions
| Affected Product | Affected Version | Fixed Version |
|---|---|---|
| LibreOffice | ≥ 26.2, < 26.2.7 | < 26.2.7 |
| LibreOffice | ≥ 26.8, < 26.8.2 | < 26.8.2 |
Exploitation and threat intelligence status
CVE-2026-104692 is not included in the CISA KEV catalog as of 2026-11-24 [2]. The EPSS score suggests a 0.31% chance of exploitation within the next 30 days [3].
Detection and exposure assessment
To assess exposure, verify if LibreOffice is running a version in the vulnerable range: ≥ 26.2 and < 26.2.7, or ≥ 26.8 and < 26.8.2 [1].
Remediation
The vendor has released secure versions: LibreOffice < 26.2.7 and < 26.8.2 [1].
Remediation checklist
- Upgrade LibreOffice to 26.2.7 if on the 26.2 line, or to 26.8.2 if on the 26.8 line [1].
- Ensure all systems are updated to avoid running vulnerable versions.
- Monitor for signs of exploitation, particularly from known malicious sources.
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention any alternative solutions or mitigations.
- The sources do not provide a complete version range for all affected products.
- The sources do not detail the attack process or specific scenarios.
- The sources do not include indicators of compromise.
References
- CVE-2026-104692 record. NIST National Vulnerability Database (NVD), 2026-11-17. https://nvd.nist.gov/vuln/detail/CVE-2026-104692. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-104692. FIRST, 2026-11-23. https://api.first.org/data/v1/epss?cve=CVE-2026-104692. Accessed 2026-11-24.
Summary
LibreOffice bundles the HSQLDB database engine, which can be used through the generic JDBC database driver as well as through the support for embedded databases. HSQLDB lets SQL statements call Java methods, limited to the classes that are permitted. When HSQLDB was used through the generic JDBC driver this limit did not apply, so SQL in a crafted document could call any Java method and run code. In fixed versions SQL can call only the built-in functions of HSQLDB, whichever way the database is reached.
Severity breakdown
High · 8.5
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
- CWE-1188: Initialization of a Resource with an Insecure Default
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice | ≥ 26.2, < < 26.2.7 | < 26.2.7 |
| ≥ 26.8, < < 26.8.2 | < 26.8.2 |
References by type
Other references
Affected
- The Document Foundation LibreOffice
Frequently asked questions
What is CVE-2026-104692?
CVE-2026-104692 affects LibreOffice, allowing remote code execution through the HSQLDB database engine. The CVSS 4.0 score is 8.5 HIGH, scored by security@documentfoundation.org. The vulnerability impacts versions ≥ 26.2 and < 26.2.7, and ≥ 26.8 and < 26.8.2. The reviewed sources do not report exploitation. Weakness type: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470).
How severe is CVE-2026-104692?
CVE-2026-104692 has a CVSS 4.0 base score of 8.5 (high), from the CNA (documentfoundation.org). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-104692 being exploited?
Not as far as is known: CVE-2026-104692 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-104692?
The Document Foundation LibreOffice ≥ 26.2, < < 26.2.7 (fixed in < 26.2.7); The Document Foundation LibreOffice ≥ 26.8, < < 26.8.2 (fixed in < 26.8.2).
How do I fix CVE-2026-104692?
Upgrade LibreOffice to 26.2.7 if on the 26.2 line, or to 26.8.2 if on the 26.8 line. Ensure all systems are updated to avoid running vulnerable versions. Monitor for signs of exploitation, particularly from known malicious sources.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-77230 — Camunda 8
- CVE-2026-129932 — MongoDB Java Driver
- AWS Advanced JDBC Wrapper Deserialization Vulnerability (CVE-2026-14265)
- LibreOffice Calc Vulnerability Enables Remote Code Execution Through External Data Links
- LibreOffice Vulnerability Allows Execution of Java Code via Malicious Pivot Table