CVE-2026-113651: ApostropheCMS uploadfs Path Traversal Vulnerability

uploadfs Updated 21 Oct 2026

Summary

20/10/2026
Yes i
Low
3.3

CVE-2026-113651: ApostropheCMS: Path traversal in uploadfs. Affects uploadfs versions < 1.28.0. Fixed in 1.28.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

ApostropheCMS is an open-source content management system (CMS) designed for building websites and applications. It utilizes the uploadfs library for file uploads, which allows users to store files on the server. However, the library's local storage backend has a critical vulnerability that can be exploited to manipulate file paths, leading to unauthorized access to the filesystem.

Vulnerability Detail

The vulnerability arises from the uploadfs library's failure to properly validate or sanitize user-supplied paths. Specifically, the prefixPath() function only removes double slashes, while the local storage backend directly concatenates user input into filesystem calls. This allows attackers to use '..' sequences to traverse directories, potentially leading to arbitrary file read, write, and delete operations on the host filesystem. The implications of this vulnerability are severe, as it can lead to remote code execution, data exfiltration, and denial of service.

How To Fix

Latest published version: 1.28.1 as of 22 Oct 2026

npm install uploadfs@1.28.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.28.0

This is the first release that contains the fix.

npm install uploadfs@1.28.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the uploadfs library for file uploads until the package is updated. If you must use it, ensure that user input is strictly validated and sanitized before being passed to any filesystem operations.

Conclusion

The CVE-2026-113651 vulnerability in the ApostropheCMS uploadfs library poses significant risks due to its path traversal nature. It is crucial to update to the latest version of the package and implement additional security measures to safeguard your application from potential exploits.

See every vulnerability recorded for uploadfs →

Share this vulnerability

FAQ

The vulnerability is a path traversal issue in the uploadfs library, allowing attackers to manipulate file paths and access unauthorized files on the server.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include arbitrary file read, write, and delete operations, which can lead to remote code execution, data breaches, and denial of service.

Yes, the patch is available in version 1.28.0 of the uploadfs package. Update your package to this version to mitigate the vulnerability.

If an immediate update is not possible, implement strict input validation and sanitization to prevent path traversal attacks as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for uploadfs.

How To Fix

Latest published version: 1.28.1 as of 22 Oct 2026

npm install uploadfs@1.28.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.28.0

This is the first release that contains the fix.

npm install uploadfs@1.28.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback