# CVE-2026-126084: Active Storage: Unsigned Content-Type in Active Storage GCS direct uploads with cache\_control

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-10 · Modified: 2026-11-12
- Aliases: DEBIAN-CVE-2026-126084, UBUNTU-CVE-2026-126084, GHSA-3w93-6hmw-whh4, CGA-4m2p-69f2-23f9, CGA-54w8-88w4-gvvv, CGA-5gj8-hvcf-246m, CGA-5wq7-j52r-qgvg, CGA-6q3w-c3mv-4jpc, CGA-7f9p-pjw9-h2f6, CGA-7g97-94mc-pvv4, CGA-8hhm-xm7p-gr9r, CGA-jf9j-ggg4-q8fm, CGA-jpvr-4v77-8536, CGA-p7f9-g9p9-xpp9, CGA-q7wm-3whh-3g4h, CGA-vcr3-ph8j-832q, CGA-w7x7-989p-fjgg, CGA-23h4-2qrg-4fmj, CGA-2r5r-4p42-549w, CGA-2rvv-8cxj-3g6x, CGA-2wj4-4m3c-2q79, CGA-322f-5wqp-mxph, CGA-3749-p44m-hpch, CGA-3x9g-6p9f-j54g, CGA-57mw-vqg3-mmvh, CGA-5ghw-9jgh-vwgm, CGA-64mq-q5x2-6376, CGA-72p2-5cpg-gw7x, CGA-83hq-x46m-j6pp, CGA-8757-phhj-6hw8, CGA-87gf-5vcr-rjpf, CGA-953q-9wpp-8h2p, CGA-95qc-29cx-wmwj, CGA-987x-pm4j-v5vc, CGA-9c5j-m526-qrqw, CGA-9jjf-4hw9-vh65, CGA-9v85-592g-ghq6, CGA-c282-gcrf-v776, CGA-crrc-c9hp-gxc7, CGA-g78x-v95x-f2m5, CGA-gfv6-3fff-pffp, CGA-h5c3-mc7v-92vx, CGA-j6xq-g5hv-qpxq, CGA-jqxg-92pj-rp9c, CGA-m5xr-mxp9-9f7g, CGA-m835-fx5r-xcx6, CGA-mmgr-qgxh-cpg7, CGA-mv9p-cqr9-7rcc, CGA-mvf5-8jj9-q355, CGA-p7hm-gcvw-hc3w, CGA-p99g-mj27-2795, CGA-phg4-h96w-qr4v, CGA-qpwg-f3g3-84rp, CGA-qxfr-8hvg-h232, CGA-r7qf-hf6w-5qp5, CGA-rh76-g9qg-prch, CGA-rpx9-wj9j-8w3q, CGA-vg73-px8f-r922, CGA-vvf2-c43h-283m, CGA-wggp-692w-2jwm, CGA-wr7h-pw8j-jp99, CGA-ww68-v6v3-q5qf, CGA-wxhj-8973-852m, CGA-x5xr-557q-fr5c, CGA-xwfq-xr7v-86j8, CGA-28g2-qg27-v2mg, CGA-fp59-6333-7fq2, CGA-w3vj-cv9h-43wj
- Record: https://cvemate.com/vulnerability/CVE-2026-126084 · JSON: https://cvemate.com/vulnerability/CVE-2026-126084/json

## Description

```text
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, when a GCS service is configured with the cache_control option, ActiveStorage::Service::GCSService#url_for_direct_upload signs direct-upload URLs with V4, and the V4 signature covers only the Cache-Control and Host headers. A direct-upload client can therefore send a Content-Type of its choosing, and can omit the declared Content-MD5, without invalidating the URL. GCS stores the supplied content type as object metadata, which takes precedence over the response-content-type that Active Storage sets on download URLs, so an uploaded object could be served as inline HTML under the application's bucket path on storage.googleapis.com. Script in such an object runs on the storage origin rather than the application's, but could register a Service Worker scoped to the bucket path and read or replace a victim's later responses for signed URLs in that bucket. Applications that use the GCS service with cache_control configured and accept direct uploads are affected. GCS services without cache_control sign with V2 and are not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
```

## Signals

- CVSS: 4.7 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.155%, percentile 4.821%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 37)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.5 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/rails/rails/security/advisories/GHSA-3w93-6hmw-whh4>
- <https://github.com/rails/rails/commit/8d93f6a872e9550a91bf0e4fce50083a235ef3b1>
- <https://github.com/rails/rails/commit/ddc08ba61a8001e7402864c62e466cf732fc7614>
- <https://github.com/rails/rails/releases/tag/v8.0.5.2>
- <https://github.com/rails/rails/releases/tag/v8.1.4.1>
- <https://security-tracker.debian.org/tracker/CVE-2026-126084>
- <https://ubuntu.com/security/CVE-2026-126084>
- <https://www.cve.org/CVERecord?id=CVE-2026-126084>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126084>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-3w93-6hmw-whh4.yml>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126084.json>

---

Data as of 2026-12-05T04:13:12.830Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
