Is carrierwave 2.2 vulnerable?

RubyGems · 8 releases from 2.2.0 to 2.2.7 · latest carrierwave is 3.1.4 · checked 18 Nov 2026

No known advisories in the last release

carrierwave 2.2.7, the last 2.2 release, has no known advisories. 3 advisories affect earlier 2.2.x releases, so update to 2.2.7.

Update within 2.2:bundle update --conservative carrierwave # Gemfile: '>= 2.2.7'

Is your project on an affected carrierwave?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 2.2.x, affecting earlier releases

  • MediumCVE-2026-44587GHSA-7g26-2qgj-chfg27 May 2026

    CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters

    Affected
    >=3.0.0.beta <3.1.3 · <2.2.7
    Fixed in
    2.2.7, 3.1.3
  • MediumCVE-2024-29034GHSA-vfmv-jfc5-pjjw25 Mar 2024

    CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained

    Affected
    >=3.0.0 <3.0.7 · <2.2.6
    Fixed in
    2.2.6, 3.0.7
  • MediumCVE-2023-49090GHSA-gxhx-g4fq-49hj29 Nov 2023

    CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS

    Affected
    >=3.0.0 <3.0.5 · <2.2.5
    Fixed in
    2.2.5, 3.0.5

Every carrierwave 2.2.x release

Affected: 2.2.0 to 2.2.6. 2.2.7 is not affected. Latest carrierwave: 3.1.4.

VersionKnown advisories
carrierwave 2.2.7None
carrierwave 2.2.6CVE-2026-44587
carrierwave 2.2.5CVE-2026-44587, CVE-2024-29034
carrierwave 2.2.4CVE-2026-44587, CVE-2024-29034, CVE-2023-49090
carrierwave 2.2.3CVE-2026-44587, CVE-2024-29034, CVE-2023-49090
carrierwave 2.2.2CVE-2026-44587, CVE-2024-29034, CVE-2023-49090
carrierwave 2.2.1CVE-2026-44587, CVE-2024-29034, CVE-2023-49090
carrierwave 2.2.0CVE-2026-44587, CVE-2024-29034, CVE-2023-49090

Which of your client projects are still on carrierwave 2.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact carrierwave version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other carrierwave versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.