LibreOffice database document can run code through JDBC driver
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-829.
Summary
LibreOffice from 26.2 before 26.2.7 and from 26.8 before 26.8.2 takes the location of a JDBC driver from the database document itself. A crafted database document can make LibreOffice load and run Java code that the document supplies when a user opens it (CWE-829). An attacker needs no privileges, but a user must open the crafted document.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
LibreOffice can connect to databases through JDBC drivers written in Java. A spreadsheet can use a database as the source of a pivot table, and the database document that describes the connection names the driver to use. The location the driver was loaded from was taken from the database document itself, so a crafted document could make LibreOffice load and run Java code that the document supplied when it was opened. This is a different route to the problem fixed for CVE-2026-63277. In fixed versions the driver location is taken only from the driver configuration of the user, and a pivot table whose source is a database document named by a URL connects only once the user allows links to be updated.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Document Foundation | LibreOffice | 26.2 to before < 26.2.7; 26.8 to before < 26.8.2 | < 26.2.7, < 26.8.2 | Patch available | CNA |
- LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.7; 26.8 to before < 26.8.2 Fixed in < 26.2.7, < 26.8.2 Patch available CNA
Remediation
Upgrade LibreOffice 26.2 to version 26.2.7 and LibreOffice 26.8 to version 26.8.2. The fixed versions take the driver location only from the user's driver configuration, and a pivot table whose source is a database document named by a URL connects only once the user allows links to be updated.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA LibreOffice (The Document Foundation) Fixed in < 26.2.7, < 26.8.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
The Document Foundation LibreOffice < 26.2.7, < 26.8.2
19 records Highest priority Priority MEDIUM 10 MEDIUM, 9 LOW
Other records, highest priority first
- TI-2026-92219 LibreOffice Writer runs HTML event macros without security checkPriority MEDIUM 52
- TI-2026-92206 Base document events run macros without the macro security checkPriority MEDIUM 52
- TI-2026-92224 Local file disclosure through embedded media in LibreOfficePriority MEDIUM 45
Timeline
- 2026-11-16 Threatist record created from CVE-2026-104007
- 2026-11-16 CISA SSVC decision points changed
- 2026-11-16 Alias added: GHSA-xxf5-562m-g3f8
- 2026-11-17 CISA SSVC decision points changed
More The Document Foundation vulnerabilities
- TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
- TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
- TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
- TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
- TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
- TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-104007 · CVE Program
- CVE-2026-104007 · NVD
- GHSA-xxf5-562m-g3f8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences