CVE-2026-126085
Last modified
CVE-2026-126085 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, ActiveStorage::Service::GCSService#url_for_direct_upload does not bind the declared content length into the signed direct-upload URL, and #headers_for_direct_upload returns no length constraint, so the URL authorizes an upload body of any size. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
Description
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, ActiveStorage::Service::GCSService#url_for_direct_upload does not bind the declared content length into the signed direct-upload URL, and #headers_for_direct_upload returns no length constraint, so the URL authorizes an upload body of any size. A direct-upload client could store a file larger than the byte_size it declared, and the resulting blob keeps the declared size, possibly bypassing application file size validations and quotas. This is the weakness that CVE-2020-8162 fixed in the S3 service. Applications that store files in Google Cloud Storage and accept direct uploads are affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rails | rails | >= 8.1, < 8.1.4.1; < 8.0.5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-126085?
How severe is CVE-2026-126085?
How do I fix CVE-2026-126085?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126079Action View is a framework for handling view template lookup…6.1
- CVE-2026-126080Active Support is a collection of utility classes and standa…7.5
- CVE-2026-126081Action Pack is a framework for handling and responding to we…7.5
- CVE-2026-126082Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2026-126083Action Pack is a framework for handling and responding to we…7.4
- CVE-2026-126084Active Storage makes it simple to upload and reference files…4.7
- CVE-2026-126087Untrusted search path in the cross-user process launcher in …8.8
- CVE-2026-12609In Eclipse Theia versions 1.66.0 and up until including 1.73…7.5
- CVE-2026-1261The MetForm Pro plugin for WordPress is vulnerable to Stored…7.2
- CVE-2026-12610A flaw was found in sssd. When authenticating with a YubiKey…6.4
- CVE-2026-12611A client may issue HTTP/2 requests to a Jetty server that re…8.7
- CVE-2026-126123BeeS Software Solutions ERP before 04 September 2026 allows …6.5
Are you affected by CVE-2026-126085?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
