carrierwave
Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks
Activity
- Latest release
- 6d ago
- Total releases
- 90
- Cadence
- ~2 months
- Last 12 months
- 4
Reach
- Downloads
- 141.5M
- Stars
- 8.8k
Details
- License
- MIT
- First release
- Mar 11, 2009
| Version | Released | |
|---|---|---|
4.0.0.beta
pre
|
4.0.0.beta
pre
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
3.1.4
patch
|
3.1.4
patch
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
2.2.7
patch
|
2.2.7
patch
Dependencies (25)
+ 17 more
Changelog
Compare changes
|
|
3.1.3
patch
|
3.1.3
patch
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
3.1.2
patch
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.1.2
patch
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
3.1.1
patch
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.1.1
patch
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
3.1.0
minor
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.1.0
minor
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
3.1.0.rc
pre
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.1.0.rc
pre
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
3.1.0.beta
pre
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.1.0.beta
pre
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
2.2.6
patch
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
2.2.6
patch
Dependencies (23)
+ 15 more
Changelog
Compare changes
|
|
3.0.7
patch
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.0.7
patch
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
3.0.6
patch
2 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev |
3.0.6
patch
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
3.0.5
patch
2 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev |
3.0.5
patch
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
2.2.5
patch
2 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev |
2.2.5
patch
Dependencies (23)
+ 15 more
Changelog
Compare changes
|
|
3.0.4
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
3.0.4
patch
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
1.3.4
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
1.3.4
patch
Dependencies (18)
+ 10 more
Changelog
Compare changes
|
|
3.0.3
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
3.0.3
patch
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
3.0.2
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
3.0.2
patch
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
3.0.1
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
3.0.1
patch
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
3.0.0
major
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
3.0.0
major
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
3.0.0.rc
pre
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.0.0.rc
pre
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
2.2.4
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
2.2.4
patch
Dependencies (23)
+ 15 more
Changelog
Compare changes
|
|
1.3.3
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
1.3.3
patch
Dependencies (18)
+ 10 more
Changelog
Compare changes
|
|
2.2.3
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
2.2.3
patch
Dependencies (23)
+ 15 more
Changelog
Compare changes
|
|
3.0.0.beta
pre
1 CVE
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev |
3.0.0.beta
pre
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
2.2.2
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
2.2.2
patch
Dependencies (23)
+ 15 more
Changelog
Compare changes
|
|
2.2.1
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
2.2.1
patch
Dependencies (23)
+ 15 more
Changelog
Compare changes
|
|
2.2.0
minor
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
2.2.0
minor
Dependencies (22)
+ 14 more
Changelog
Compare changes
|
|
2.1.1
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
2.1.1
patch
Dependencies (21)
+ 13 more
Changelog
Compare changes
|
|
1.3.2
patch
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
1.3.2
patch
Dependencies (18)
+ 10 more
Changelog
Compare changes
|
|
2.1.0
minor
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
2.1.0
minor
Dependencies (20)
+ 12 more
Changelog
Compare changes
|
|
2.0.2
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
2.0.2
patch
Dependencies (20)
+ 12 more
Changelog
Compare changes
|
|
2.0.1
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
2.0.1
patch
Dependencies (20)
+ 12 more
Changelog
Compare changes
|
|
2.0.0
major
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
2.0.0
major
Dependencies (20)
+ 12 more
Changelog
Compare changes
|
|
2.0.0.rc
pre
3 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev |
2.0.0.rc
pre
Dependencies (20)
+ 12 more
Changelog
Compare changes
|
|
1.3.1
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.3.1
patch
Dependencies (17)
+ 9 more
Changelog
Compare changes
|
|
1.3.0
minor
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.3.0
minor
Dependencies (17)
+ 9 more
Changelog
Compare changes
|
|
1.2.3
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.2.3
patch
Dependencies (17)
+ 9 more
Changelog
Compare changes
|
|
1.2.2
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.2.2
patch
Dependencies (14)
+ 6 more
Changelog
Compare changes
|
|
1.2.1
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.2.1
patch
Dependencies (14)
+ 6 more
Changelog
Compare changes
|
|
1.2.0
minor
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.2.0
minor
Dependencies (14)
+ 6 more
Changelog
Compare changes
|
|
1.1.0
minor
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.1.0
minor
Dependencies (15)
+ 7 more
Changelog
Compare changes
|
|
1.0.0
major
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.0.0
major
Dependencies (15)
+ 7 more
Changelog
Compare changes
|
|
1.0.0.rc
pre
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.0.0.rc
pre
Dependencies (15)
+ 7 more
Changelog
Compare changes
|
|
1.0.0.beta
pre
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
1.0.0.beta
pre
Dependencies (15)
+ 7 more
Changelog
Compare changes
|
|
0.11.2
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.11.2
patch
Dependencies (18)
+ 10 more
Changelog
Compare changes
|
|
0.11.1
patch
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.11.1
patch
Dependencies (18)
+ 10 more
Changelog
Compare changes
|
|
0.11.0
minor
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.11.0
minor
Dependencies (17)
+ 9 more
Changelog
Compare changes
|
|
0.10.0
minor
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.10.0
minor
Dependencies (15)
+ 7 more
Changelog
Compare changes
|
|
0.9.0
minor
5 CVEs
CVE-2026-44587
GHSA-7g26-2qgj-chfg
May 27, 2026
CarrierWave has a denylisted_content_type bypass via Unescaped Regex Metacharacters
4.7
/ 10
Medium
Network
Low
None
Required
Changed
Low
None
None
SummaryCarrierWave's 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. Note: CarrierWave is aware DetailsIn
Other affected MIME types include Fix: Apply Regexp.quote for string entries and anchor with \A, matching the existing allowlist implementation:
PoC
Expected response (denylist working):
Actual response:
ImpactAny application that uses content_type_denylist to block image/svg+xml — the most common use case, specifically to prevent stored XSS — is silently unprotected. An attacker can upload an SVG file containing arbitrary Affected versions
3.0.0
3.0.0.beta
3.0.0.rc
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.1.0.beta
+ 74 more Show less
3.1.0.rc
3.1.1
3.1.2
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
Fixed in
2.2.7
3.1.3
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2024-29034
GHSA-vfmv-jfc5-pjjw
Mar 25, 2024
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactThe vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by This bypassed value can be used to cause XSS. PatchesWorkaroundsUse the following monkey patch to let CarrierWave parse the Content-type by using
ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
0.1
0.10.0
0.11.0
0.11.1
0.11.2
+ 65 more Show less
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Fixed in
2.2.6
3.0.7
References
Updated Mar 27, 2024 · Source: OSV.dev
CVE-2023-49090
GHSA-gxhx-g4fq-49hj
Nov 29, 2023
CarrierWave Content-Type allowlist bypass vulnerability, possibly leading to XSS
6.8
/ 10
Medium
Network
Low
Low
Required
Changed
High
None
None
ImpactCarrierWave::Uploader::ContentTypeAllowlist has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in In addition, by setting the Content-Type configured by the attacker at the time of file delivery, it is possible to cause XSS on the user's browser when the uploaded file is opened. PatchesWorkaroundsWhen validating with ReferencesAffected versions
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
+ 62 more Show less
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
2.0.0
2.0.0.rc
2.0.1
2.0.2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
Fixed in
2.2.5
3.0.5
References
Updated Nov 29, 2023 · Source: OSV.dev
CVE-2021-21305
GHSA-cf3w-g86h-35x4
Feb 08, 2021
Code Injection vulnerability in CarrierWave::RMagick
7.4
/ 10
High
Network
Low
Low
None
Changed
Low
Low
Low
ImpactCarrierWave::RMagick has a Code Injection vulnerability. Its (But supplying untrusted input to the option itself is dangerous even in absence of this vulnerability, since is prone to DoS vulnerability - attackers can try to consume massive amounts of memory by resizing to a very large dimension) Proof of Concept
PatchesWorkaroundsStop supplying untrusted input to ReferencesCode Injection Software Attack For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev
CVE-2021-21288
GHSA-fwcm-636p-68r5
Feb 08, 2021
Server-side request forgery in CarrierWave
4.3
/ 10
Medium
Network
Low
Low
None
Unchanged
Low
None
None
ImpactCarrierWave download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. PatchesWorkaroundsUsing proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access. ReferencesServer-Side Request Forgery Prevention Cheat Sheet For more informationIf you have any questions or comments about this advisory:
Affected versions
0.1
0.10.0
0.11.0
0.11.1
0.11.2
0.2.0
0.2.1
0.2.3
0.2.4
0.3.0
0.3.1
0.3.2
+ 47 more Show less
0.3.3
0.3.4
0.3.5
0.3.5.1
0.3.5.2
0.4.0
0.4.1
0.4.10
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.0.beta2
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.9.0
1.0.0
1.0.0.beta
1.0.0.rc
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
2.0.0
2.0.1
2.0.2
2.1.0
Fixed in
1.3.2
2.1.1
References
Updated Sep 10, 2026 · Source: OSV.dev |