CVE Catalog

CVE-2026-43888

High
Published: Translated: NVD NIST

Summary

The Outline service, allowing collaborative documentation, had a vulnerability in the ZipHelper.extract function prior to version 1.7.0, which incorrectly computed the extraction path for zip entries. For long paths, this function dropped all directory components, leading to files being opened in the wrong location.

Risk Assessment

The organization may be exposed to unauthorized file access, as files could be saved in inappropriate locations, creating a risk of data leakage.

Recommendation

It is recommended to upgrade to version 1.7.0 or later to eliminate this vulnerability and secure the file extraction process.

Related vulnerabilities

Original NVD description (English source)

Outline is a service that allows for collaborative documentation. Prior to 1.7.0, ZipHelper.extract computes the extraction path for each entry by passing a full filesystem path through trimFileAndExt, a filename helper that calls path.basename on its input when truncating. When a zip entry's nested path is long enough to push the joined filesystem path over MAX_PATH_LENGTH (4096 bytes), trimFileAndExt silently drops all directory components and returns a bare filename. fs.createWriteStream then opens the file relative to the process working directory instead of inside the extraction sandbox, and the escaped file persists after import cleanup because cleanupExtractedData only removes the temporary extraction directory. This vulnerability is fixed in 1.7.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS