CVE-2026-126746 in S3 File System CORS Upload Module
Summary
by MITRE • 11/26/2026
Incorrect Authorization vulnerability in Drupal S3 File System CORS Upload allows Forceful Browsing. This issue affects S3 File System CORS Upload versions: from 0.0.0 to 1.4.0.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The Drupal module known as S3 File System CORS Upload, specifically within the version range of 0.0.0 through 1.4.0, contains a critical access control flaw that permits unauthorized actors to bypass intended security restrictions. This vulnerability is classified under CWE-285, which denotes Improper Authorization, and aligns with MITRE ATT&CK technique T1078, Valid Accounts or Default Accounts if default credentials are leveraged for initial access, though the core issue here is a logic error in permission checks rather than credential compromise. The module facilitates file uploads to Amazon S3 buckets using Cross-Origin Resource Sharing policies, aiming to allow direct browser-based uploads without routing data through the Drupal server backend. However, the implementation fails to adequately verify that the requesting user possesses the necessary permissions to perform specific actions on the target resources or bucket configurations before allowing the operation to proceed.
The technical root cause lies in the module's handling of CORS preflight requests and subsequent upload operations. When a client initiates an upload via JavaScript from a web page, it typically sends an OPTIONS request to determine if the cross-origin request is permitted by the server's CORS policy. In this vulnerable implementation, the authorization checks are either missing or incorrectly applied during these validation phases. Consequently, an attacker who can interact with the module’s interface or API endpoints may forceful browse through available resources or manipulate upload parameters in ways that were not intended by the system administrators. This lack of strict enforcement allows users to access files or bucket configurations they should not be able to view or modify, effectively bypassing Drupal's native role-based access control mechanisms for this specific feature set.
The operational impact of this vulnerability is significant for any organization relying on this module for cloud storage integration. Attackers can exploit the forceful browsing capability to discover sensitive file paths, metadata, or bucket structures that are not publicly intended. If the S3 bucket has loose permissions combined with this application-level flaw, it could lead to data exfiltration where confidential documents stored in the cloud environment become accessible to unauthorized parties. Furthermore, if the module allows for any form of configuration modification through these endpoints, an attacker might alter CORS policies or upload settings to facilitate further attacks such as cross-site scripting via uploaded files or denial of service by filling up storage quotas with malicious content. The severity is compounded by the fact that this affects a wide range of versions from inception up to 1.4.0, indicating a long-standing oversight in the module's security design.
Mitigation strategies must prioritize immediate remediation through software updates and configuration hardening. Administrators should upgrade the S3 File System CORS Upload module to version 1.5.0 or later, where this authorization logic has been corrected to properly validate user permissions before processing requests. In cases where upgrading is not immediately feasible due to compatibility constraints with other modules or Drupal core versions, temporary mitigations include restricting access to the affected endpoints via web application firewall rules that block suspicious CORS preflight patterns from untrusted origins. Additionally, reviewing and tightening the IAM policies associated with the S3 bucket used by this module can reduce risk; ensuring that the bucket does not allow public read/write access and enforcing strict server-side encryption helps limit the blast radius if an attacker successfully exploits the forceful browsing capability. Regular security audits of third-party Drupal modules are essential to identify similar authorization flaws in other integrations before they can be leveraged by malicious actors.