CVE-2026-49756(wojtekmach / req)

LOWCVSS 3.7 · LOW

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in wojtekmach Req allows multipart parameter smuggling via attacker-influenced part metadata. Req.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. This 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. This issue affects req: from 0.5.3 before 0.6.0.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-93

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • req

Threat summary

  • 1 mentions across 1 observed day

What's happening

  • 1 total mentions across 1 day

Affected systems

Vendors
Products
req

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-10-11: 110-11
Full discourse1 post
  • Evadne W.@evadne

    Packmatic 2.1.0 published on Hex. Now we will dogfood it in our own production deployment. • Require Req 0.7.4, including fixes for CVE-2026-49755 and CVE-2026-49756. • Update locked HTTP dependencies, including Finch, Mint, HPAX, Cowboy, Cowlib, Plug and Plug.Cowboy. • Add regression coverage for Zip64 local-header offsets, including offsets beyond 4 GiB. • Update development and test dependencies to their latest compatible stable releases. • Remove Hackney and its supporting dependencies from the lockfile following the Tzdata update. • Encoded streaming Data Descriptor sizes as 64-bit values when required, preserving constituent files larger than 4 GiB in Zip64 archives.

    00010144
    2.1K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appwojtekmachreq---

Explore more