Skip to main content
Vulnerability Database/CVE-2026-63268

CVE-2026-63268: LibreOffice Calc Information Disclosure

CVE-2026-63268 is an information disclosure vulnerability in LibreOffice Calc that allows malicious documents to read local text files through SQL database links. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-63268 Overview

CVE-2026-63268 affects LibreOffice Calc's handling of external data source links stored in spreadsheet documents. Calc allows a cell range to be linked to an external data source, and that link persists in the saved document. An attacker can craft a document with a sql type link that references a folder of local text files as a database. When a victim opens the document, Calc reads the targeted local text file into the sheet, exposing its contents. The flaw is categorized as information exposure [CWE-200].

Critical Impact

A malicious LibreOffice Calc document can read arbitrary local text files from the victim's filesystem into spreadsheet cells upon opening, leading to disclosure of sensitive on-disk data.

Affected Products

  • LibreOffice Calc (versions prior to the fix that restores only csv, html, and xml data providers on document load)
  • The Document Foundation LibreOffice suite
  • Downstream distributions bundling vulnerable LibreOffice builds

Discovery Timeline

  • 2026-10-05 - CVE-2026-63268 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-63268

Vulnerability Analysis

LibreOffice Calc supports linking a cell range to an external data source using one of several data provider types. The link definition is serialized into the ODF document so it can be refreshed on load. The vulnerability stems from Calc restoring a broader set of data providers than is safe when a document is reopened. Specifically, a link declared with the sql provider type can point at a folder of local text files treated as a flat-file database. Opening such a document triggers the data refresh, which reads the referenced local file content directly into the sheet.

The attacker-controlled payload is contained entirely in the document metadata. No macro execution is required, which bypasses macro security prompts users rely on to gate risky actions.

Root Cause

On document load, Calc restored external data source links of types that can reference the local filesystem, including the sql provider. The fixed versions constrain the set of restored providers to only csv, html, and xml. The remaining allow-listed types reflect the data provider mechanisms that are expected and documented for use in saved spreadsheets.

Attack Vector

Exploitation requires an attacker to deliver a crafted .ods file through email, file share, or download, and to convince a user to open it in a vulnerable LibreOffice version. The attack is local in scope but can be initiated remotely through social engineering. The read file content is placed into cells, where it can be exfiltrated by chained document behaviors or simply viewed if the attacker later retrieves the document.

See the LibreOffice Security Advisory CVE-2026-63268 for vendor technical details.

Detection Methods for CVE-2026-63268

Indicators of Compromise

  • LibreOffice Calc documents containing external data source link definitions with a provider type of sql referencing local filesystem paths.
  • Unexpected cell content in received spreadsheets that resembles the contents of local files such as /etc/passwd, SSH keys, or configuration files.
  • Process telemetry showing soffice or scalc reading sensitive local text files shortly after a document open event.

Detection Strategies

  • Inspect .ods archives for content.xml entries declaring table:database-range or external data source elements referencing non-csv, non-html, non-xml providers.
  • Alert on LibreOffice processes opening files outside typical document directories, particularly sensitive paths such as /etc, ~/.ssh, or user profile directories.
  • Correlate document open events with subsequent file read activity on sensitive text files to identify suspicious access patterns.

Monitoring Recommendations

  • Enable file access auditing on sensitive directories and attribute reads to the soffice process tree.
  • Monitor email and file-share gateways for .ods attachments and sample a subset for static inspection of embedded link definitions.
  • Track LibreOffice version inventory across endpoints to confirm patched builds are deployed.

How to Mitigate CVE-2026-63268

Immediate Actions Required

  • Upgrade LibreOffice to a fixed release that restricts restored data providers to csv, html, and xml on document load.
  • Treat .ods attachments from untrusted sources as potentially malicious and inspect them before opening.
  • Communicate the risk to end users and advise against opening unexpected spreadsheet files, even without macros.

Patch Information

The Document Foundation addressed the issue by restricting which data providers are reinstated when a document is loaded. In fixed versions, only the csv, html, and xml data providers are restored, which prevents the sql-type link from reading arbitrary local text files on open. Refer to the LibreOffice Security Advisory CVE-2026-63268 for version details and download links.

Workarounds

  • Open untrusted spreadsheets in a sandboxed environment or dedicated analysis VM until patches are applied.
  • Disable automatic refresh of external data sources on document load through organizational configuration policy.
  • Use file content inspection at the mail gateway to strip or quarantine .ods files containing external data source link definitions referencing local paths.
bash
# Verify installed LibreOffice version on Linux endpoints
libreoffice --version

# Example: inspect an .ods document for external data source links
unzip -p suspicious.ods content.xml | grep -Ei 'database-range|data-provider|sql:'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.