CVE Explorer
CVE-2026-44587
CarrierWave is a framework to upload files from Ruby applications. In versions prior to 2.2.7 and 3.1.3, the content_type_denylist check fails to escape regex metacharacters in string entries, causing the denylist to silently not match the content types it is intended to block. In lib/carrierwave/uploader/content_type_denylist.rb:57, denylist entries are interpolated directly into a regex without Regexp.quote or anchoring, so an entry such as image/svg+xml becomes the pattern /image\/svg+xml/, i
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-625","description":"CWE-625: Permissive Regular Expression","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-184","description":"CWE-184: Incomplete List of Disallowed Inputs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/problemTypes/2/descriptions/0
Affected products and versions
1 source assertion{"product":"carrierwave","vendor":"carrierwaveuploader","versions":[{"status":"affected","version":"< 2.2.7"},{"status":"affected","version":">= 3.0.0.rc, < 3.1.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-625","description":"CWE-625: Permissive Regular Expression","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-184","description":"CWE-184: Incomplete List of Disallowed Inputs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/problemTypes/2/descriptions/0
Source references
4 source assertions{"name":"https://github.com/carrierwaveuploader/carrierwave/commit/21221cc6e260633f7da78c6133a88666a5529d27","tags":["x_refsource_MISC"],"url":"https://github.com/carrierwaveuploader/carrierwave/commit/21221cc6e260633f7da78c6133a88666a5529d27"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/references/1
{"name":"https://github.com/carrierwaveuploader/carrierwave/commit/4c4a005775a436c5165df014dc9b1874c227d86c","tags":["x_refsource_MISC"],"url":"https://github.com/carrierwaveuploader/carrierwave/commit/4c4a005775a436c5165df014dc9b1874c227d86c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/references/2
{"name":"https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-7g26-2qgj-chfg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-7g26-2qgj-chfg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-7g26-2qgj-chfg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b5f096b329106bd9731aeba2560cd45773ebf789b5723d17cdb9d2dc0e71407 · sha256:68849aa4e2132029… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.