Live threats

All CVEs / rails

CVE-2026-126085rails

Medium 5.3 No auth needed

Priority
48
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Nov 10, 2026
Updated
Nov 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-602
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activestorage ≥ 8.1.0.beta1 < 8.1.4.1 8.1.4.1 gem "activestorage", ">= 8.1.4.1"
RubyGems activestorage < 8.0.5.2 8.0.5.2 gem "activestorage", ">= 8.0.5.2"

Per OSV / GitHub Advisories (GHSA-hfr4-8rjc-97m2). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.