CVE-2026-126085: rails · Client-Side Enforcement of Server-Side Security
Affects railsSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.3 Medium : upgrade to 8.1.4.1 or 8.0.5.2 when convenient.
Data as of 10 Nov 2026, 21:35 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 8.1.4.1, 8.0.5.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade rails to 8.1.4.1 or 8.0.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsrails | Affected
| Fixed in
|
| railsrails | Affected
| Fixed in
|
AI-suggested
This vulnerability is fixed in Ruby on Rails versions 8.1.4.1 and 8.0.5.2. Applications using Active Storage with Google Cloud Storage for direct uploads should upgrade to these versions or later to remediate the issue. Since this is a cloud service, the vendor manages remediation for the cloud-hosted service, but application upgrades are required to apply the fix. No additional mitigations are specified.
Description
A vulnerability in Ruby on Rails Active Storage prior to versions 8.1.4.1 and 8.0.5.2 allows clients uploading files directly to Google Cloud Storage to bypass file size validations. The direct-upload URL does not enforce the declared content length, enabling uploads larger than the declared size while the application records the smaller size. This can lead to quota and validation bypasses for applications using direct uploads to Google Cloud Storage.
References
- github.com/rails/rails/security/advisories/GHSA-hfr4-8rjc-97m2 (opens in a new tab)
- github.com/rails/rails/commit/7fe85a72a789eae5ee070ce3ee1dad10a8a5f70c (opens in a new tab)
- github.com/rails/rails/commit/e19916cea31cbfb0030b165ae853b741f8dd57a7 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.5.2 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.4.1 (opens in a new tab)