Multipart part smuggling via unescaped header metadata
Published Jun 8, 2026 · Updated Jun 8, 2026
CRLF injection in Req 0.5.3 through 0.5.18 allows attackers to smuggle multipart fields through attacker-influenced part metadata. Req.Utils.encode_form_part/2 inserts name, filename, and content_type verbatim into Content-Disposition and Content-Type lines without quote escaping or CRLF stripping. Applications must pass untrusted part metadata to form_multipart; crafted values then inject headers or prepend fields and parts to downstream requests.
Summary
What happened
CRLF injection in Req 0.5.3 through 0.5.18 allows attackers to smuggle multipart fields through attacker-influenced part metadata. Req.Utils.encode_form_part/2 inserts name, filename, and content_type verbatim into Content-Disposition and Content-Type lines without quote escaping or CRLF stripping. Applications must pass untrusted part metadata to form_multipart; crafted values then inject headers or prepend fields and parts to downstream requests.
The record
- CVE
- CVE-2026-49756
- Published
- Jun 8, 2026
- Updated
- Jun 8, 2026
- Vendor
- Wojtek Mach
- Product
- Req
- Classifications
- CWE-93, CAPEC-33, CAPEC-105
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 8, 2026CVE publishedPublication date reported by the CVE source.
- Jun 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.5.3 <0.6.0
- Affected versionversion=60253dbe9436cb8e9c738f895032f2e87939b597 <74506ff2c5addf74df85d79dc726e9b2e264a8ba
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream multipart header-injection proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo