# CVE-2026-104007: Code execution through the JDBC driver path of a database document

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-19
- Aliases: DEBIAN-CVE-2026-104007, UBUNTU-CVE-2026-104007
- Record: https://cvemate.com/vulnerability/CVE-2026-104007 · JSON: https://cvemate.com/vulnerability/CVE-2026-104007/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.206%, percentile 11.195%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libreoffice (Debian): All versions (No fix recorded) \| \< 4:25.2.3-2+deb13u12 \| \< 4:26.8.2.2-2
- ubuntu libreoffice (Ubuntu): All versions (No fix recorded)
- the document foundation libreoffice: ≥ 26.2, \< \< 26.2.7 \| ≥ 26.8, \< \< 26.8.2

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-104007>
- <https://security-tracker.debian.org/tracker/CVE-2026-104007>
- <https://ubuntu.com/security/CVE-2026-104007>
- <https://www.cve.org/CVERecord?id=CVE-2026-104007>
- <https://www.libreoffice.org/security/#cve-2026-104007>

---

Data as of 2026-12-05T05:00:26.634Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
