carrierwave Known Vulnerabilities & Fixes
carrierwave has 4 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 3.1.3 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 3.1.3
Upgrading to 3.1.3 or later resolves all 4 known vulnerabilities in carrierwave. Run: gem install carrierwave -v 3.1.3
Is carrierwave in your project?
Check if you're affected and upgrade to 3.1.3 to stay secure.
Security Summary
- 8 affected version ranges have been identified across these 4 advisories.
- 100% of known issues have a published fixed version.
- Remediation: gem update carrierwave
Vulnerabilities
4 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Feb 8, 2021, most recently May 27, 2026 (1933 days apart).
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2021-21305 Code Injection vulnerability in CarrierWave::RMagick | HIGH | 0.1, 0.10.0, 0.11.0, 0.11.1 (+55 more) | 1.3.2, 2.1.1 |
| CVE-2024-29034 CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained | MEDIUM | 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+73 more) | 3.0.7, 2.2.6 |
| CVE-2023-49090 CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS | MEDIUM | 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+70 more) | 3.0.5, 2.2.5 |
| CVE-2026-44587 CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters | MEDIUM | 3.0.0, 3.0.0.beta, 3.0.0.rc, 3.0.1 (+82 more) | 3.1.3, 2.2.7 |
About This Data
Vulnerability data for carrierwave is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related RubyGems (Ruby) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of carrierwave.