carrierwave vulnerabilities

Upload files in your Ruby applications, map them to a range of ORMs, store them on different backends.

Registry
RubyGems
Latest
3.1.4
License
MIT

5 known advisories

The latest version, 3.1.4, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative carrierwave # Gemfile: '>= 3.1.4'

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

Security advisories for carrierwave

  • 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
  • HighCVE-2021-21305GHSA-cf3w-g86h-35x48 Feb 2021

    Code Injection vulnerability in CarrierWave::RMagick

    Affected
    <1.3.2 · >=2.0.0 <2.1.1
    Fixed in
    1.3.2, 2.1.1
  • MediumCVE-2021-21288GHSA-fwcm-636p-68r58 Feb 2021

    Server-side request forgery in CarrierWave

    Affected
    <1.3.2 · >=2.0.0 <2.1.1
    Fixed in
    1.3.2, 2.1.1

Is your carrierwave version vulnerable?

Which of your client projects still run an old carrierwave?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.