File Upload Manipulation Vulnerability in Active Storage for Rails
CVE-2026-126085
5.3MEDIUM
What is CVE-2026-126085?
A vulnerability exists in Active Storage's handling of direct uploads to Google Cloud Storage. Versions prior to 8.1.4.1 and 8.0.5.2 allow an attacker to manipulate the upload URL. Specifically, the method responsible for generating the signed URL does not enforce a declared content length, enabling uploads of oversized files that can bypass application-level file size validations and quotas. This issue exposes applications to risks related to unregulated file storage, making it crucial for users of affected versions to upgrade.
Affected Version(s)
rails >= 8.1, < 8.1.4.1 < 8.1, 8.1.4.1
rails < 8.0.5.2 < 8.0.5.2
