# CVE-2026-48861: CRLF injection in HTTP/1 request line via unvalidated method in Mint

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.1
- **CVSS:** 2.1 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-28)
- **CWE:** CWE-93
- **Published:** 2026-06-02T14:15:09.015Z
- **Modified:** 2026-11-20T09:20:11.780Z

## Who should check

- Anyone running elixir-mint mint \>= 0.1.0, \< 1.9.0
- Anyone running elixir-mint mint \>= 8db1acff30b6a9433762c18b1e1f891b8c1f74f7, \< fad091454cbb7449b19edb8e1fee12ca7cf28c3a

## Description

Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in elixir-mint Mint allows HTTP Request Splitting and HTTP Request Smuggling.

In lib/mint/http1/request.ex, the encode\_request\_line/2 function splices the caller-supplied method and target arguments directly into the HTTP/1 request line without any character validation: \[method, ?\\s, target, " HTTP/1.1\\r\\n"\]. An application that forwards attacker-controlled input as the HTTP method or target to Mint.HTTP.request/5 is therefore exposed to request-line CRLF injection: the attacker can terminate the request line early, inject arbitrary headers, and smuggle an entirely separate pipelined HTTP request onto the same TCP connection.

Mint 1.7.0 introduced validate\_request\_target/2, which rejects CRLF and other control characters in the target by default and closes the path/query vector unless the caller opts out via skip\_target\_validation: true. The method field remains unvalidated, so the method-based injection is exploitable under the default Mint configuration on all versions.

This issue affects mint: from 0.1.0 before 1.9.0.

## Affected and fixed versions

- elixir-mint mint: \>= 0.1.0, \< 1.9.0 (cvelist)
- elixir-mint mint: \>= 8db1acff30b6a9433762c18b1e1f891b8c1f74f7, \< fad091454cbb7449b19edb8e1fee12ca7cf28c3a (cvelist)

## Mitigation

- Upgrade mint to 1.9.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-48861. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-48861.md
Affected: elixir-mint mint >= 0.1.0, < 1.9.0; elixir-mint mint >= 8db1acff30b6a9433762c18b1e1f891b8c1f74f7, < fad091454cbb7449b19edb8e1fee12ca7cf28c3a
Fixed in: elixir-mint mint 1.9.0

Steps:
1. Search this machine and project for elixir-mint mint: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-48861 being exploited?

There is no confirmed exploitation: CVE-2026-48861 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-48861?

Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-48861?

elixir-mint mint \>= 0.1.0, \< 1.9.0; elixir-mint mint \>= 8db1acff30b6a9433762c18b1e1f891b8c1f74f7, \< fad091454cbb7449b19edb8e1fee12ca7cf28c3a.

### Is there a fix for CVE-2026-48861?

Yes. Fixed in elixir-mint mint 1.9.0. Upgrade mint to 1.9.0 or later.

### How do I check if I'm affected by CVE-2026-48861?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/elixir-mint/mint/security/advisories/GHSA-2pg6-44cx-c49v>
- patch: <https://github.com/elixir-mint/mint/commit/8db1acff30b6a9433762c18b1e1f891b8c1f74f7>
- patch: <https://github.com/elixir-mint/mint/commit/fad091454cbb7449b19edb8e1fee12ca7cf28c3a>
- other: <https://cna.erlef.org/cves/CVE-2026-48861.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-48861>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-48861>

HTML: <https://flawdb.com/CVE-2026-48861> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-48861>
