6.1

CVE-2026-44587: carrierwave_project carrierwave Cross-site Scripting

CVSS: 6.1v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2026-44587DEBIAN-CVE-2026-44587CGA-2529-v3g2-7332
Published 16-06-2026Last modified 17-06-2026

Vulnerability summary

CVE-2026-44587 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in carrierwave_project carrierwave. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 25.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.34%
0%100%
Low · +0.11 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 16-06-2026
    PublishedVulnerability first disclosed.
  2. 17-06-2026
    Last modifiedVulnerability information updated.

Description

CarrierWave is a framework to upload files from Ruby applications. In versions prior to 2.2.7 and 3.1.3, the content_type_denylist check fails to escape regex metacharacters in string entries, causing the denylist to silently not match the content types it is intended to block. In lib/carrierwave/uploader/content_type_denylist.rb:57, denylist entries are interpolated directly into a regex without Regexp.quote or anchoring, so an entry such as image/svg+xml becomes the pattern /image\/svg+xml/, in which + is treated as a quantifier rather than a literal character and therefore never matches the real MIME type image/svg+xml. This is inconsistent with the allowlist implementation, which correctly applies both Regexp.quote and a \A anchor. Other content types containing regex metacharacters, such as application/xhtml+xml, are affected as well. As a result, any application that relies on content_type_denylist to block image/svg+xml, most commonly to prevent stored XSS, is silently unprotected. An attacker can upload an SVG file containing arbitrary JavaScript; if the application serves that SVG inline from its own origin, the script executes in the victim's browser, resulting in stored XSS. This issue has been fixed in versions 2.2.7 and 3.1.3.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.34%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

+0.11 pp

From 0.22% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.34%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Carrierwave

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard40 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.3All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.4All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.5All versions (No fix recorded)
Carrierwave_project1 product
Carrierwaveuploader1 product
Debian1 product
  • ruby-carrierwaveAll versions (No fix recorded)
RubyGems1 product
  • carrierwave≥ 3.0.0.beta, < 3.1.3 | < 2.2.7
Ubuntu1 product
  • ruby-carrierwaveAll versions (No fix recorded)

6 vendors · 45 products

References

10 links