Skip to content
OpenAdvisories
High · 7.6 CVE-2026-32101 EUVD-2026-11367GHSA-mm78-fgq8-6pgr

StudioCMS S3 Storage Manager Authorization Bypass via Missing `await` on Async Auth Check

Published Mar 11, 2026 · Updated Mar 12, 2026 · Assigned by GitHub_M

Description

StudioCMS is a server-side-rendered, Astro native, headless content management system. Prior to 0.3.1, the S3 storage manager's isAuthorized() function is declared async (returns Promise<boolean>) but is called without await in both the POST and PUT handlers. Since a Promise object is always truthy in JavaScript, !isAuthorized(type) always evaluates to false, completely bypassing the authorization check. Any authenticated user with the lowest visitor role can upload, delete, rename, and list all files in the S3 bucket. This vulnerability is fixed in 0.3.1.

Affected products

VendorProductAffectedFixed
@studiocms s3-storage < 0.3.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @studiocms/s3-storage < 0.3.1 0.3.1 GHSA-mm78-fgq8-6pgr

References