patchminder
No public exploit found CVE-2026-56813

Vulnerabilityin elixir-plug plug.

Published 10 Jul 2026 · Updated 24 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Low 2.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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, and from 1.20.0 before 1.20.3.

What to do now
  • Upgrade plug to 1.16.6, 1.17.4, 1.18.5, 1.19.5, 1.20.3 or later, whichever matches your release line.
  • Can't upgrade today? Validate or reject the ; delimiter in any untrusted data before passing it as a cookie value or attribute to Plug.Conn.put_resp_cookie/4 or Plug.Conn.Cookies.encode/2. Carriage return, line feed, and null bytes are already rejected by Plug.Conn header validation.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
plug
0.1.0 to before 1.16.6
1.16.6
CVE record
plug
1.17.0 to before 1.17.4
1.17.4
CVE record
plug
1.18.0 to before 1.18.5
1.18.5
CVE record
plug
1.19.0 to before 1.19.5
1.19.5
CVE record
plug
1.20.0 to before 1.20.3
1.20.3
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 23 Jun 2026
    CVE ID reserved by EEF.
  2. 10 Jul 2026
    Published in the CVE List.
  3. 24 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other plug vulnerabilities

Same weakness:

All CWE-141 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-56813: Vulnerability in elixir-plug plug. https://patchminder.com/cve/cve-2026-56813/ (accessed 5 December 2026).