## ApostropheCMS uploadfs Azure backend leaks account-level SAS token into every public attachment URL (sas: true)

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs, azure
- CVE: CVE-2026-113652
- 公開日時: 2026-10-20T18:20:35.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-hhph-8536-gfq5)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-hhph-8536-gfq5

影響: npm:uploadfs >= 1.25.0, < 1.28.0 → 1.28.0
Summary When uploadfs is configured with the Azure backend and sas: true (a supported configuration introduced in uploadfs 1.25.0), createContainer() builds the BlobServiceClient from a URL that embeds the full SAS query string, and Azure SDK v12 derived clients inherit that query string. As a result, getUrl() returns a base URL carrying the complete account/container SAS signature (?sv=...&sig=...), and Apostrophe's attachment.url() prepends it to every public attachment link — broadcasting a…