Java Code Execution Vulnerability in LibreOffice Database Connection
CVE-2026-104007
8.5HIGH
What is CVE-2026-104007?
A flaw exists in LibreOffice's handling of JDBC drivers, where a crafted database document can instruct the application to load and execute arbitrary Java code. This occurs when a spreadsheet references a database for its pivot table without proper validation of the driver's source. As such, the potential for executing malicious Java code upon document opening is a concern, particularly if users inadvertently allow link updates. Users should ensure they are using fixed versions that restrict driver locations to user configurations to prevent exploitation.
Affected Version(s)
LibreOffice 26.2
LibreOffice 26.8
References
CVSS V4
Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Thomas Rinsma and Edoardo Geraci from Codean Labs
sudi from Hacktron AI Research Team
Rhythm Bansal (@rskbansal), a security researcher from India
Nguyễn Trần Thanh Lâm
Minseong Kim of NSHC Red Alert Labs
Caolán McNamara of Collabora Productivity
