CVE-2026-44587
A public proof of concept exists; no exploitation attested.
- Published2026-06-17
- Fixed in3.1.3 · 2.2.7
- WeaknessCWE-184 · CWE-625 · CWE-79
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
CarrierWave is a framework to upload files from Ruby applications. In versions prior to 2.2.7 and 3.1.3, the content_type_denylist check fails to escape regex metacharacters in string entries, causing the denylist to silently not match the content types it is intended to block. In lib/carrierwave/uploader/content_type_denylist.rb:57, denylist entries are interpolated directly into a regex without Regexp.quote or anchoring, so an entry such as image/svg+xml becomes the pattern /image\/svg+xml/, in which + is treated as a quantifier rather than a literal character and therefore never matches the real MIME type image/svg+xml. This is inconsistent with the allowlist implementation, which correctly applies both Regexp.quote and a \A anchor. Other content types containing regex metacharacters, such as application/xhtml+xml, are affected as well. As a result, any application that relies on content_type_denylist to block image/svg+xml, most commonly to prevent stored XSS, is silently unprotected. An attacker can upload an SVG file containing arbitrary JavaScript; if the application serves that SVG inline from its own origin, the script executes in the victim's browser, resulting in stored XSS. This issue has been fixed in versions 2.2.7 and 3.1.3.
Timeline
dates in UTC- 2026-06-1713:20CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.x | ≥ 3.0.0, < 3.1.3 | 3.1.3 | NVD |
| 3.x | ≥ 3.0.0.beta, < 3.1.3 | 3.1.3 | OSV |
| 2.2 | < 2.2.7 | 2.2.7 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- carrierwaveuploader carrierwaveAffected
- = < 2.2.7no fix stated
- = >= 3.0.0.rc, < 3.1.3no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-06-16
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gitlab-rails-ce-18.1Chainguardall versions · no fixed version listedand 41 other packages
- ruby-carrierwaveUbuntu:Pro:24.04:LTSall versions · no fixed version listed
- ruby-carrierwaveUbuntu:Pro:22.04:LTSall versions · no fixed version listed
- ruby-carrierwaveUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- ruby-carrierwaveUbuntu:Pro:18.04:LTSall versions · no fixed version listed
- ruby-carrierwaveUbuntu:16.04:LTSall versions · no fixed version listed
- ruby-carrierwaveDebian:12all versions · no fixed version listed
Fix
- Update Carrierwave project carrierwave to 3.1.3 · 2.2.7
Advisories and patches
- github.comPatch
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-06-17
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-06-17
- CNACVSS 3.14.7known since 2026-10-26
- NVDCVSS 3.16.1read 2026-10-26
- CNAweakness (CWE)CWE-184, CWE-625, CWE-79known since 2026-10-26
- FIRST EPSSEPSS score0.2 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2026-05-27
Identifiers
- CGA-2529-v3g2-7332same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2frv-8j74-cpgpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qpf-7h44-hjh6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qvx-ch5g-ghmfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3433-p3pg-85wfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-345p-ff8r-p93vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m6r-447c-4v37same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3wg4-wh77-3g26same flawChainguard · CC-BY-NC-ND-4.0
- CGA-42wm-4mp3-6rjwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4jjh-89x9-wh76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-579v-rg9p-g3ghsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-669r-cr8q-xj3xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-67x2-44cv-6xvrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6hcm-wjvv-qrcqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6v27-wvx9-38p7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7993-r55p-8qmwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7xmf-8hgh-5m83same flawChainguard · CC-BY-NC-ND-4.0
- CGA-83c9-3v9h-6q2gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-84c3-xx6p-67pwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-88g3-j28m-39pmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-89h6-jpm5-7fv9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-89jj-8qmq-2w63same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8fw4-934j-7cxxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8jw8-77px-f7jgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8qx2-gpcm-h7pcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8vgq-vjvv-366fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8x36-2m6v-7633same flawChainguard · CC-BY-NC-ND-4.0
- CGA-93wh-pqmv-v43wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-95mc-m3vj-fhrfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9679-vghr-8f6csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9933-77vc-hfcvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9mg5-h9m4-x397same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9w3m-cm34-9vq2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9w47-5qqx-q5whsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c468-6vg7-x3pxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c6fr-8pm9-4624same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cff4-675q-grmrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cq2f-857q-xf3vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cvcm-jjf8-2xj7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f3c3-xvwf-9vvcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f9w3-ph33-fq4wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fg7q-83fm-mc4fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fgx6-xpx6-739jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fp2f-75cm-w9r7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fxvh-pvgc-rrqrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g65g-fcc4-2pggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ghhw-mp7q-3ppqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hjw2-4hph-cr54same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j9j5-2vh5-8jfmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jcvg-c6p4-5rh5same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Published
- 2026-06-17
- Last modified
- 2026-10-25
- NVD status
- Analyzed
- GitHub advisory
- GHSA-7g26-2qgj-chfg
Frequently asked questions
What is CVE-2026-44587?
Is CVE-2026-44587 actively exploited?
What is the CVSS score for CVE-2026-44587?
Running carrierwave? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-7g26-2qgj-chfg
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0