Home

Description

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.

PUBLISHED Reserved 2026-05-04 | Published 2026-05-11 | Updated 2026-05-12 | Assigner GitHub_M




HIGH: 8.7CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 1.7.0
affected

References

github.com/...utline/security/advisories/GHSA-hw32-2v7j-mgqc exploit

github.com/...utline/security/advisories/GHSA-hw32-2v7j-mgqc

cve.org (CVE-2026-43888)

nvd.nist.gov (CVE-2026-43888)

Download JSON