Post

CVE-2026-104692 / CVE-2026-104007 - LibreOffice RCE via ODF Form Datasource JDBC Code Execution

LibreOffice RCE via two chained CVEs in ODF form datasources: CVE-2026-104692 disables HSQLDB’s method whitelist by initializing accessibleJavaMethodNames to null instead of an empty set, allowing arbitrary Java method invocation through SQL CALL statements. CVE-2026-104007 bypasses the setPropertyInfo() filter that strips JavaDriverClassPath by exploiting external ODB datasource references via form elements, allowing attacker-controlled classpath to reach URLClassLoader. Combined, an attacker can inject malicious Java classes and invoke arbitrary methods, achieving RCE on macOS, Windows, and Linux when a victim opens a crafted spreadsheet, with no user interaction or macro warnings required. Affects LibreOffice ≤ 26.2.6.x and ≤ 26.8.1 on systems with Java enabled.

Read original article

This post is licensed under CC BY 4.0 by the author.