2.1

CVE-2026-56813: Cookie attribute injection in Plug.Conn.Cookies.encode/2

Deferred
Published 10-07-2026Last modified 24-11-2026

Vulnerability summary

CVE-2026-56813 is a low (CVSS 2.1) vulnerability in elixir-plug plug. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.1/10
010
Low · v4.0 (CVE.org)
EPSS score
0.20%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 10-07-2026
    PublishedVulnerability first disclosed.
  2. 24-11-2026
    Last modifiedVulnerability information updated.

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

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 0.22% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Elixir-plug1 product
  • plug≥ 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 | ≥ f26876aa67aaeb38e616638aa3efbcc2fe2906a5 (No fix recorded)

1 vendor · 1 product

References

9 links