Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Medium · 5.6 Node.js & npm CVE-2026-113651 GHSA-gmfx-5g6x-rr72 CVE-2026-113652 GHSA-hhph-8536-gfq5

Two uploadfs Vulnerabilities Fixed: Path Traversal and Azure SAS Token Leak

uploadfs, the file storage library used by ApostropheCMS, had two separate issues prior to version 1.28.0: a path traversal flaw affecting the local storage backend, and a flaw that leaked account-level SAS tokens into public attachment URLs on the Azure backend. Both are fixed in 1.28.0.

By PatchBriefing · ·

Produced automatically from official sources with the help of AI. How we work →

AI summary

Two vulnerabilities have been disclosed in uploadfs, the file storage library used by the open-source Node.js content management system ApostropheCMS. The first allows path traversal in the local storage backend under certain configurations. The second, affecting the Azure storage backend, causes account-level SAS tokens to leak into public attachment URLs. Both issues are addressed in uploadfs 1.28.0.

What Happened

Two separate CVEs were published for uploadfs, the file storage library used by ApostropheCMS. CVE-2026-113651 describes a path traversal weakness in the local storage backend. CVE-2026-113652 describes an information exposure issue in the Azure storage backend, where account-level SAS (Shared Access Signature) tokens are leaked into public attachment URLs.

Technical Cause

For CVE-2026-113651: attacker-controlled paths that reach the local storage backend can contain parent-directory segments (such as '../') that escape the configured upload directory, affecting file reads, writes, and deletion on the host filesystem. Exploitability depends on an application exposing the relevant uploadfs operations to untrusted path input. This is classified as CWE-22, Improper Limitation of a Pathname to a Restricted Directory. For CVE-2026-113652: when uploadfs is configured with the Azure backend and the 'sas: true' option, the createContainer() function builds the BlobServiceClient from a URL that embeds the full SAS query string. Azure SDK v12 derived clients inherit that query string, causing the account-level SAS token to be embedded in every public attachment URL generated by the library. This is classified as CWE-200, Exposure of Sensitive Information to an Unauthorized Actor.

Why It Matters

A leaked account-level SAS token in public URLs could allow anyone who obtains such a URL to access other data within the same Azure storage account, depending on the permissions granted to that token. The path traversal issue could allow unauthorized file reads, writes, or deletion outside the intended upload directory, but only in applications that expose the affected uploadfs operations to untrusted path input.

Who Is Affected

Applications using uploadfs are affected. The path traversal issue (CVE-2026-113651) affects uploadfs versions prior to 1.28.0 using the local storage backend, where it is reachable through attacker-controlled paths. The SAS token leak (CVE-2026-113652) affects uploadfs versions from 1.25.0 up to but not including 1.28.0, specifically when configured with the Azure backend and the 'sas: true' option.

Affected Versions

CVE-2026-113651: uploadfs versions from 0 up to but not including 1.28.0. CVE-2026-113652: uploadfs versions from 1.25.0 up to but not including 1.28.0. Both issues are fixed in uploadfs 1.28.0.

Fixes and Mitigation

Both vulnerabilities are resolved in uploadfs version 1.28.0. No alternative mitigations beyond upgrading are described in the available facts.

Recommended Action

Site owners and developers using uploadfs, directly or as part of ApostropheCMS, should upgrade to version 1.28.0 as soon as practical. Those using the Azure backend with 'sas: true' should treat this as a priority, since the SAS token exposure has a higher severity score and does not require user interaction or authentication to be triggered.

PatchBriefing score

5.6 / 10 · Medium

Official CVSS: 5.6

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

EPSS 0.0034 (20 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

uploadfs < 1.28.0
vulnerable
uploadfs ≥ 0 < 1.28.0
vulnerable
≥ 1.28.0
patched
uploadfs >= 1.25.0, < 1.28.0
vulnerable
uploadfs ≥ 1.25.0 < 1.28.0
vulnerable
≥ 1.28.0
patched

Reported fixes

Both vulnerabilities are resolved in uploadfs version 1.28.0. No alternative mitigations beyond upgrading are described in the available facts.

How this was built

6 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • NVD (NIST) database
  • GitHub Advisory Database database
  • GitHub Advisory Database database
  • OSV.dev database
  • OSV.dev database
Unified report
Two uploadfs Vulnerabilities Fixed: Path Traversal and Azure SAS Token Leak
1 article · 6 sources cited
Revision history
  1. Published
  2. Generated
  3. Published
  4. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email