CVE-2026-44587 — Vulnerability in carrierwave — CVE Details
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
Summary
Advisory Timeline
- First published May 27, 2026 (138 days ago).
- Last revised July 8, 2026 — 43 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install carrierwave -v 3.1.3
gem install carrierwave -v 2.2.7
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| carrierwave | rubygems | 3.0.0, 3.0.0.beta, 3.0.0.rc, 3.0.1 (+11 more) | 3.1.3 |
| carrierwave | rubygems | 0.1, 0.10.0, 0.11.0, 0.11.1 (+67 more) | 2.2.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 4.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
References
- https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-7g26-2qgj-chfgWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44587ADVISORY
- https://github.com/carrierwaveuploader/carrierwave/commit/21221cc6e260633f7da78c6133a88666a5529d27WEB
- https://github.com/carrierwaveuploader/carrierwave/commit/4c4a005775a436c5165df014dc9b1874c227d86cWEB
- https://github.com/carrierwaveuploader/carrierwavePACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/carrierwave/CVE-2026-44587.ymlWEB
- https://www.cve.org/CVERecord?id=CVE-2026-44587WEB
Frequently Asked Questions
- What is CVE-2026-44587?
- CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 4.7/10).
- How do I check if my project is affected by CVE-2026-44587?
- CVE-2026-44587 affects carrierwave. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44587 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2021-21305HIGH
Code Injection vulnerability in CarrierWave::RMagick
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
- CVE-2023-49090MEDIUM
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
- CVE-2024-29034MEDIUM
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies