# CVE-2026-126074: Active Storage: Possible DoS vulnerability in Active Storage filename handling

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, 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-13
- Aliases: GHSA-p2pm-g2h6-7j5j, CGA-7qqp-hc36-xc3w, CGA-c85w-8g8v-8rc5, CGA-hmcx-hh6w-2449, CGA-p5hx-6689-6q65, CGA-qqw6-f4mg-jm5m, DEBIAN-CVE-2026-126074, CGA-3c5w-pqv3-v77m, CGA-4g44-7683-p8c2, CGA-77x5-xjj4-8rfv, CGA-8795-7c89-hhjg, CGA-88xq-cxvr-rcmh, CGA-89jw-hfxp-5hq8, CGA-89wc-m36c-2p33, CGA-8r3w-3jx7-gx2v, CGA-cppj-hgrf-7q7f, CGA-f96v-vq88-qxxr, CGA-hgc6-f78c-3jv4, CGA-hqm9-m8wm-64jm, CGA-mqqw-4rfw-2r84, CGA-pm8q-8f34-4cv8, CGA-vxw6-j9r2-jfh7, CGA-wv72-f3jr-332c, CGA-xp9q-q9xg-7j9q, CGA-2676-hp6f-m3px, CGA-2j5c-942q-5ccx, CGA-2qgc-25c4-8xx4, CGA-35w8-48j4-4fr3, CGA-3fff-qxj7-46mg, CGA-49qm-pgrq-ppfq, CGA-5cp5-p998-v55h, CGA-5p8r-r64m-cwcr, CGA-5xgc-pcgj-63q6, CGA-7vpw-f986-9cpc, CGA-9xq6-2jp2-hg54, CGA-cgpm-xq76-f8h5, CGA-f82c-39q5-xgjv, CGA-gxv2-cq68-px5m, CGA-hf75-2f2h-rhgg, CGA-hjcj-r2cw-qqwv, CGA-hq3x-wj39-mjw2, CGA-jqm2-mmm3-j8g5, CGA-jrp7-677m-xqr9, CGA-jxm6-jfcw-vf2g, CGA-cx3p-fc2f-g85m, CGA-h593-hc7p-fj8q, CGA-hgh5-g8rx-vp65, CGA-q3vx-362h-pv77, CGA-rvv5-gpr8-wf3j, UBUNTU-CVE-2026-126074, CGA-83q9-q5gf-chp5, CGA-c68x-5m5q-px22, CGA-w77v-9wqp-52h9
- Record: https://cvemate.com/vulnerability/CVE-2026-126074 · JSON: https://cvemate.com/vulnerability/CVE-2026-126074/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, ActiveStorage::Filename#base and #extension_with_delimiter, and therefore #extension, pass the stored filename unmodified to File.basename and File.extname, which raise ArgumentError when the name contains a NUL byte. Active Storage stores the client-supplied filename verbatim, so a user who is permitted to upload an attachment could persist such a filename on databases that accept NUL bytes in string columns, such as SQLite and MySQL/MariaDB. Each subsequent request that builds a variant or preview of the blob, opens it, or renders it as an Action Text attachment then raises, possibly resulting in a persistent DoS vulnerability for the pages that display the blob until it is purged or its filename is corrected. Applications that use PostgreSQL are not affected, because PostgreSQL rejects the row. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.611%, percentile 50.746%, 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.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.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)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/rails/rails/security/advisories/GHSA-p2pm-g2h6-7j5j>
- <https://github.com/rails/rails/commit/60f22af88b71eae251f112d8c0237a08a8832692>
- <https://github.com/rails/rails/commit/9b0d4bef2211a2c08cab2e0ea17fa1d0efd5d47a>
- <https://github.com/rails/rails/releases/tag/v8.0.5.2>
- <https://github.com/rails/rails/releases/tag/v8.1.4.1>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-p2pm-g2h6-7j5j.yml>
- <https://security-tracker.debian.org/tracker/CVE-2026-126074>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126074.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126074>
- <https://ubuntu.com/security/CVE-2026-126074>
- <https://www.cve.org/CVERecord?id=CVE-2026-126074>

---

Data as of 2026-12-05T04:41:40.946Z. 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
