CVE-2026-113651
Deferred Deferred - Pending Action

Path Traversal in ApostropheCMS uploadfs Library

Vulnerability report for CVE-2026-113651, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-20

Assigner: GitHub, Inc.

Description

ApostropheCMS is an open-source Node.js content management system, and uploadfs is its file storage library. Prior to uploadfs 1.28.0, attacker-controlled paths that reach the local backend can contain parent-directory segments that escape the configured upload directory and affect file reads, writes, and deletion on the host filesystem. Exploitability depends on an application exposing the relevant uploadfs operations to untrusted path. This issue is fixed in uploadfs 1.28.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-20
Generated
2026-11-10
AI Q&A
2026-10-20
EPSS Evaluated
2026-11-08
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
apostrophecms apostrophe < 4.33.0
apostrophecms uploadfs < 1.28.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-113651 is a path traversal vulnerability in ApostropheCMS's uploadfs library affecting versions before 1.28.0. The issue occurs because the library fails to properly validate user-supplied file paths in its local storage backend. Attackers can exploit this by injecting parent-directory segments (../) into paths, allowing them to escape the intended upload directory and perform unauthorized file operations on the host filesystem.

Detection Guidance

To detect this vulnerability, check if your system uses uploadfs versions prior to 1.28.0. Run: npm list uploadfs. If the version is below 1.28.0, the system is vulnerable. Inspect file paths in uploadfs.js and local.js for improper path concatenation without normalization. Look for user-supplied paths containing ../ sequences that could escape the upload directory.

  • Check uploadfs version: npm list uploadfs
  • Review uploadfs.js and local.js for path concatenation without sanitization
  • Monitor filesystem operations for unauthorized access outside the intended upload directory
Impact Analysis

This vulnerability could allow attackers to read, write, or delete arbitrary files on the server's filesystem. Potential impacts include data exfiltration, unauthorized file modifications, remote code execution, or denial of service. Exploitation requires the application to expose uploadfs operations to untrusted input and depends on the attacker's ability to manipulate file paths.

Compliance Impact

The vulnerability allows arbitrary file read, write, and delete operations outside the intended uploads directory. This could expose sensitive data like configuration files, user credentials, or databases, potentially violating GDPR's data protection requirements or HIPAA's safeguards for protected health information. Unauthorized file access may lead to data breaches, unauthorized modifications, or system compromise, directly impacting compliance with these standards.

Mitigation Strategies

Immediately update uploadfs to version 1.28.0 or later. Add path containment validation before any filesystem operation to ensure resolved paths stay within the intended directory. Restrict untrusted path exposure in application code and review file operations for potential escape attempts.

  • Update uploadfs: npm update uploadfs@1.28.0
  • Implement path containment checks before filesystem operations
  • Restrict untrusted path exposure in application logic

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-113651. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...