Vulnerabilities/

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

Severity:
High

Description

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.

Recommendation

Update the @studiocms/s3-storage package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@studiocms/s3-storage
Anything's wrong? Let us know Last updated on March 12, 2026