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

CVE-2026-108582: GenOffice Information Disclosure Vulnerability

CVE-2026-108582 is an information disclosure flaw in GenOffice that allows local unprivileged users to read uploaded and generated documents. This post explains its impact, affected versions, and mitigation steps.

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-108582 Overview

CVE-2026-108582 is an insecure permissions vulnerability in GenOffice through version 0.11.505. The flaw resides in the HTTP Model Context Protocol (MCP) server file store, which creates a world-readable genoffice-mcp-http directory under the system temporary directory. Local unprivileged users can list this directory and read uploaded client documents and converted output files. The weakness is classified under CWE-732: Incorrect Permission Assignment for Critical Resource. Attackers bypass the HTTP bearer token entirely because file system permissions, not application-layer authentication, govern access to the stored artifacts.

Critical Impact

Any local user on a host running GenOffice can read sensitive uploaded and generated documents without credentials, bypassing MCP bearer token authentication.

Affected Products

  • GenOffice through 0.11.505
  • GenOffice CLI package (packages/cli) HTTP MCP server component
  • Deployments exposing the HTTP MCP file store on multi-user systems

Discovery Timeline

  • 2026-10-10 - CVE-2026-108582 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-108582

Vulnerability Analysis

GenOffice exposes an HTTP MCP server that accepts document uploads and returns converted outputs. The server persists these files in a dedicated subdirectory named genoffice-mcp-http within the operating system temporary directory, such as /tmp on Linux. The implementation creates this directory and its contents with permissions that permit any local user to list and read the files.

The HTTP interface itself is protected by a bearer token, but that control only governs the network path. Direct file system access from a local shell completely sidesteps the token check. A local attacker only needs to enumerate the predictable directory name to harvest documents in real time as they are processed. See the Vulncheck advisory and the HackMD analysis for additional context.

Root Cause

The file handling logic in packages/cli/src/mcp/files.ts creates the staging directory without restricting its mode to the owning user. Default temporary directory permissions and the absence of an explicit chmod or mkdtemp with restrictive mode leave the artifacts world-readable. The referenced source range shows the directory creation and file writes that produce the exposure.

Attack Vector

Exploitation requires local, low-privileged access to the host running the MCP server. The attacker enumerates the system temporary directory, locates genoffice-mcp-http, and reads uploaded or generated documents directly from disk. No interaction with the HTTP endpoint, no bearer token, and no user interaction are required. The vulnerability has not been reported as exploited in the wild and is not listed in the CISA Known Exploited Vulnerabilities catalog.

No verified public exploit code is available. See the external references for technical write-ups describing the file disclosure mechanism.

Detection Methods for CVE-2026-108582

Indicators of Compromise

  • Presence of a world-readable genoffice-mcp-http directory under /tmp or the platform temporary directory
  • Access to files inside genoffice-mcp-http by user accounts other than the GenOffice service account
  • Unexpected processes performing readdir or open calls against the GenOffice staging path

Detection Strategies

  • Audit file system permissions on the MCP staging directory and alert when mode bits allow group or world read access
  • Enable Linux audit rules (auditd) on the temporary directory path to log read access by non-owner UIDs
  • Correlate GenOffice MCP upload events with host-level file access telemetry to identify out-of-band readers

Monitoring Recommendations

  • Monitor process execution for enumeration commands such as ls, find, or cat targeting genoffice-mcp-http
  • Track creation of temporary files by the GenOffice process and verify ownership and mode immediately after creation
  • Forward endpoint and application logs to a centralized data lake for retention and cross-source correlation

How to Mitigate CVE-2026-108582

Immediate Actions Required

  • Restrict GenOffice MCP deployments to single-user hosts or dedicated containers until a fixed release is available
  • Change the staging directory ownership and set permissions to 0700 so only the service account can read contents
  • Rotate any sensitive documents that may have been processed on multi-user systems since deployment

Patch Information

At the time of publication, the GenOffice v0.11.505 release remains the latest tagged version containing the vulnerable code path. Monitor the GenOffice repository for a fixed release and upgrade once published. The remediation should enforce owner-only permissions on the MCP file store using fs.mkdtemp with mode 0o700 or an explicit fs.chmod after creation.

Workarounds

  • Override the temporary directory with TMPDIR pointing to a path with mode 0700 owned by the GenOffice user
  • Run the GenOffice HTTP MCP server inside an isolated container or namespace with no additional local users
  • Apply a post-start script that re-permissions genoffice-mcp-http to 0700 immediately after the service initializes
bash
# Configuration example: restrict the MCP staging directory
export TMPDIR=/var/lib/genoffice/tmp
install -d -m 0700 -o genoffice -g genoffice "$TMPDIR"
# After starting the service, enforce permissions on the staging path
chmod 0700 "$TMPDIR/genoffice-mcp-http"
chown genoffice:genoffice "$TMPDIR/genoffice-mcp-http"

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.