{"vuln_id":"CVE-2026-49756","aliases":["GHSA-px9f-whj3-246m"],"description":"Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in wojtekmach Req allows multipart parameter smuggling via attacker-influenced part metadata.\n\nReq.Utils.encode_form_part/2 in lib/req/utils.ex builds the per-part headers by interpolating the caller-supplied name, filename, and content_type values directly into the content-disposition and content-type lines with no escaping or CRLF stripping. A value containing \", \\r, or \\n closes the surrounding quoted value and starts a new header line; an additional \\r\\n--<boundary> terminates the current part and prepends a smuggled part of the attacker's choosing.\n\nThis is reachable through every supported way of supplying a part. It is particularly easy when value is a %File.Stream{}, because filename then defaults to Path.basename(stream.path) and POSIX filenames may legitimately contain \\r and \\n. Any application that forwards user-controlled filenames (or field names / MIME types) through Req.post/2 with form_multipart: lets an attacker inject arbitrary headers into the outgoing multipart body or smuggle additional fields and parts into the request the victim service sends downstream.\n\nThis issue affects req: from 0.5.3 before 0.6.0.","published_at":"2026-06-08T16:16:44.040000Z","modified_at":"2026-11-20T09:20:12.753000Z","first_seen_at":"2026-11-21T19:15:46.273901Z","severity":"low","severity_source":"nvd","cvss_score":2.1,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-93"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0021,"epss_percentile":0.11102,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49756"},"matched_alias":null,"items":[{"id":3192,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-49756: Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in wojtekmach Req allows multipart parameter smuggling via attacker-influenced part…","summary":"Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in wojtekmach Req allows multipart parameter smuggling via attacker-influenced part metadata.\n\nReq.Utils.encode_form_part/2 in lib/req/utils.ex builds the per-part headers by interpolating the caller-supplied name, filename, and content_type values directly into the content-disposition and content-type lines with no escaping or CRLF stripping. A value containing \", \\r, or \\n closes the surrounding quoted value and starts a new header line; an additional \\r\\n--\nterminates the current part and prepends a smuggled part of the attacker's choosing.\n\nThis is reachable through every supported way of supplying a part. It is particularly easy when value is a %File.Stream{}, because filename then defaults to Path.basename(stream.path) and POSIX filenames may legitimately contain \\r and \\n. Any application that forwards user-controlled filenames (or field names / MIME types) through Req.post/2 with form_multipart: lets an attacker inject arbitrary headers into the outgoing multipart body or smuggle additional fields and parts into the request the victim service sends downstream.\n\nThis issue affects req: from 0.5.3 before 0.6.0.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-49756.html\nhttps://github.com/wojtekmach/req/commit/2d77dbeb6b2a6932fe181432b1c36e9ea1d9fa23\nhttps://github.com/wojtekmach/req/commit/60253dbe9436cb8e9c738f895032f2e87939b597\nhttps://github.com/wojtekmach/req/commit/74506ff2c5addf74df85d79dc726e9b2e264a8ba\nhttps://github.com/wojtekmach/req/security/advisories/GHSA-px9f-whj3-246m\nhttps://osv.dev/vulnerability/EEF-CVE-2026-49756\nhttps://github.com/wojtekmach/req/security/advisories/GHSA-px9f-whj3-246m","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49756","published_at":"2026-06-08T16:16:44.040000Z","updated_at":"2026-11-20T09:20:12.753000Z","fetched_at":"2026-11-21T19:15:31.478791Z","severity":"low","cvss_score":2.1,"epss":0.0021,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-49756","vuln_ids":["CVE-2026-49756","GHSA-PX9F-WHJ3-246M"],"tags":["CWE-93"],"cluster_id":3249,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3192","html":"https://vulnwatch.ve1ve2.com/item/3192"}}]}