Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-56813: CWE-141 Improper Neutralization of Parameter/Argument Delimiters in elixir-plug plug

0
Low
VulnerabilityCVE-2026-56813cvecve-2026-56813cwe-141
Published: 07/10/2026 (07/10/2026, 12:51:08 UTC)
Source: CVE Database V5
Vendor/Project: elixir-plug
Product: plug

Description

Improper Neutralization of Parameter/Argument Delimiters vulnerability in elixir-plug plug allows an attacker to inject or override HTTP cookie attributes. The Plug.Conn.Cookies.encode/2 function in lib/plug/conn/cookies.ex builds the Set-Cookie response header by interpolating the cookie value and its path, domain, same_site, and extra attributes directly into the header without neutralizing the ';' delimiter that separates cookie attributes. An application that places attacker-controlled data into a cookie value or attribute (for example via Plug.Conn.put_resp_cookie/4 when reflecting a username or preference) lets an attacker inject a ';' to append or override cookie attributes (such as Domain and Path scope, or dropping the Secure and HttpOnly flags), enabling cookie tossing and session fixation. Carriage return, line feed, and null bytes are rejected by Plug.Conn header validation, so HTTP response splitting is not possible, but attribute injection through ';' is not prevented. This issue affects plug: from 0.1.0 before 1.16.6, from 1.17.0 before 1.17.4, from 1.18.0 before 1.18.5, from 1.19.0 before 1.19.5, from 1.20.0 before 1.20.3.

CVSS v4.0

Score 2.1low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

plug
pkg:hex/plug
Affected versions
>=0.1.0 <1.16.6>=1.17.0 <1.17.4>=1.18.0 <1.18.5>=1.19.0 <1.19.5>=1.20.0 <1.20.3
GitHub Actionsmore threats →cve
elixir-plug/plug
pkg:github/elixir-plug/plug
CPE configurations
cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 13:17:37 UTC

Technical Analysis

The vulnerability arises from improper neutralization of parameter delimiters (CWE-141) in the plug library for Elixir. Specifically, the Plug.Conn.Cookies.encode/2 function builds the Set-Cookie HTTP response header by directly inserting cookie values and attributes without sanitizing the ';' delimiter. This allows an attacker who can control cookie values or attributes (e.g., via Plug.Conn.put_resp_cookie/4) to inject additional cookie attributes or override existing ones, such as Domain, Path, Secure, or HttpOnly flags. Although carriage return, line feed, and null bytes are rejected, preventing HTTP response splitting, the injection of ';' is not prevented, enabling attribute injection attacks like cookie tossing and session fixation. Affected versions include all from 0.1.0 up to but not including 1.16.6, and from 1.17.0 up to but not including 1.17.4, 1.18.5, 1.19.5, and 1.20.3 respectively.

Potential Impact

An attacker able to inject or override HTTP cookie attributes can manipulate cookie scope and security settings, potentially enabling cookie tossing and session fixation attacks. This can undermine session integrity and security controls relying on cookie attributes. However, the vulnerability does not allow HTTP response splitting due to header validation rejecting CR, LF, and null bytes. The overall impact is limited by the requirement for attacker-controlled input in cookie values or attributes and the low CVSS score reflects this.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid placing untrusted or attacker-controlled data directly into cookie values or attributes. Validate and sanitize any input used in cookies to prevent injection of the ';' delimiter. Monitor vendor communications for patches or updates addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-06-23T12:29:02.507Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a50ed8f68715ace439660a8

Added to database: 07/10/2026, 13:03:11 UTC

Last enriched: 07/10/2026, 13:17:37 UTC

Last updated: 08/24/2026, 10:52:10 UTC

Views: 90

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses