Skip to main content
RubyGems (Ruby)

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.

4 Vulnerabilities

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.

4
Total
0
Critical
1
High
3
Medium
0
Low

Security Summary

  • 8 affected version ranges have been identified across these 4 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for carrierwave: 13.2%.
  • 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 / GHSASeverity
CVE-2021-21305
Code Injection vulnerability in CarrierWave::RMagick
Affected
0.1, 0.10.0, 0.11.0, 0.11.1 (+55 more)
Fixed in
1.3.2, 2.1.1
HIGH
CVE-2023-49090
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
Affected
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+70 more)
Fixed in
3.0.5, 2.2.5
MEDIUM
CVE-2024-29034
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
Affected
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+73 more)
Fixed in
3.0.7, 2.2.6
MEDIUM
CVE-2026-44587
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
Affected
3.0.0, 3.0.0.beta, 3.0.0.rc, 3.0.1 (+82 more)
Fixed in
3.1.3, 2.2.7
MEDIUM

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.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed