Incorrect Regular Expression in CarrierWave - CVE-2026-44587
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to bypass configured content type restrictions and upload files that an application intends to block.
The vulnerability exists due to unescaped regular expression metacharacters in CarrierWave's content_type_denylist string entries when applications configure MIME types such as image/svg+xml. An unauthenticated remote attacker can submit an SVG containing a script that passes the denylist check and is stored despite the explicit restriction.