Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. uploadfs
  4. ›
  5. CVE-2026-113651

CVE-2026-113651: ApostropheCMS: Path traversal in uploadfs

October 20, 2026

The uploadfs library’s local storage backend does not validate or sanitize user-supplied paths. The prefixPath() helper only strips double slashes (//) and the backend performs direct string concatenation (uploadsPath + path). An attacker can inject ../ sequences to escape the intended uploads directory, resulting in arbitrary file read, write, and delete on the host filesystem.


References

  • github.com/advisories/GHSA-gmfx-5g6x-rr72
  • github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce
  • github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350
  • github.com/apostrophecms/apostrophe/releases/tag/uploadfs@1.28.0
  • github.com/apostrophecms/apostrophe/security/advisories/GHSA-gmfx-5g6x-rr72
  • nvd.nist.gov/vuln/detail/CVE-2026-113651

Code Behaviors & Features

Detect and mitigate CVE-2026-113651 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.28.0

Fixed versions

  • 1.28.0

Solution

Upgrade to version 1.28.0 or above.

Impact 3.3 LOW

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

Learn more about CVSS

Weakness

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

Source file

npm/uploadfs/CVE-2026-113651.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:51 +0000.