Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2026-56813

Summary
Assigner-EEF
Assigner Org ID-6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Published At-10 Jul, 2026 | 12:51
Updated At-10 Jul, 2026 | 14:45
Rejected At-
Credits

Cookie attribute injection in Plug.Conn.Cookies.encode/2

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:EEF
Assigner Org ID:6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Published At:10 Jul, 2026 | 12:51
Updated At:10 Jul, 2026 | 14:45
Rejected At:
▼CVE Numbering Authority (CNA)
Cookie attribute injection in Plug.Conn.Cookies.encode/2

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.

Affected Products
Vendor
elixir-plug
Product
plug
Collection URL
https://repo.hex.pm
Package Name
plug
Repo
https://github.com/elixir-plug/plug
CPEs
  • cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*
Modules
  • 'Elixir.Plug.Conn.Cookies'
  • 'Elixir.Plug.Conn'
Program Files
  • lib/plug/conn/cookies.ex
Program Routines
  • 'Elixir.Plug.Conn.Cookies':encode/2
  • 'Elixir.Plug.Conn':put_resp_cookie/4
Default Status
unaffected
Versions
Affected
  • From 0.1.0 before 1.16.6 (semver)
  • From 1.17.0 before 1.17.4 (semver)
  • From 1.18.0 before 1.18.5 (semver)
  • From 1.19.0 before 1.19.5 (semver)
  • From 1.20.0 before 1.20.3 (semver)
Vendor
elixir-plug
Product
plug
Collection URL
https://github.com
Package Name
elixir-plug/plug
Repo
https://github.com/elixir-plug/plug
CPEs
  • cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*
Modules
  • 'Elixir.Plug.Conn.Cookies'
  • 'Elixir.Plug.Conn'
Program Files
  • lib/plug/conn/cookies.ex
Program Routines
  • 'Elixir.Plug.Conn.Cookies':encode/2
  • 'Elixir.Plug.Conn':put_resp_cookie/4
Default Status
unaffected
Versions
Affected
  • From f26876aa67aaeb38e616638aa3efbcc2fe2906a5 before * (git)
    • -> unaffectedfrom3f00dfad4e20ba88472e315c90a25742bf178f8e
    • -> unaffectedfroma6d1248659022749869963fd302687165ecf8c8b
    • -> unaffectedfrom4167981747fe9ce75f374b94a28861ae950ea992
    • -> unaffectedfrom149d9ed68fee0b4f77efd1e835ce5d785856697b
    • -> unaffectedfromeceb8315ce9a31ef784943a95a8624ebd1bc7e06
Problem Types
TypeCWE IDDescription
CWECWE-141CWE-141 Improper Neutralization of Parameter/Argument Delimiters
Type: CWE
CWE ID: CWE-141
Description: CWE-141 Improper Neutralization of Parameter/Argument Delimiters
Metrics
VersionBase scoreBase severityVector
4.02.1LOW
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
Version: 4.0
Base score: 2.1
Base severity: LOW
Vector:
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
Metrics Other Info
Impacts
CAPEC IDDescription
CAPEC-61CAPEC-61 Session Fixation
CAPEC ID: CAPEC-61
Description: CAPEC-61 Session Fixation
Solutions

Configurations

Workarounds

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.

Exploits

Credits

finder
Peter Ullrich
remediation developer
José Valim
analyst
Jonatan Männchen
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm
vendor-advisory
related
https://cna.erlef.org/cves/CVE-2026-56813.html
related
https://osv.dev/vulnerability/EEF-CVE-2026-56813
related
https://github.com/elixir-plug/plug/commit/c6575800b2c4e15af1904df87522ca8a23da020c
patch
Hyperlink: https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm
Resource:
vendor-advisory
related
Hyperlink: https://cna.erlef.org/cves/CVE-2026-56813.html
Resource:
related
Hyperlink: https://osv.dev/vulnerability/EEF-CVE-2026-56813
Resource:
related
Hyperlink: https://github.com/elixir-plug/plug/commit/c6575800b2c4e15af1904df87522ca8a23da020c
Resource:
patch
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Published At:10 Jul, 2026 | 13:16
Updated At:10 Jul, 2026 | 17:56

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary4.02.1LOW
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
N/A
Type: Secondary
Version: 4.0
Base score: 2.1
Base severity: LOW
Vector:
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Type: N/A
Version:
Base score:
Base severity: N/A
Vector:
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-141Secondary6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CWE ID: CWE-141
Type: Secondary
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://cna.erlef.org/cves/CVE-2026-56813.html6b3ad84c-e1a6-4bf7-a703-f496b71e49db
N/A
https://github.com/elixir-plug/plug/commit/c6575800b2c4e15af1904df87522ca8a23da020c6b3ad84c-e1a6-4bf7-a703-f496b71e49db
N/A
https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm6b3ad84c-e1a6-4bf7-a703-f496b71e49db
N/A
https://osv.dev/vulnerability/EEF-CVE-2026-568136b3ad84c-e1a6-4bf7-a703-f496b71e49db
N/A
Hyperlink: https://cna.erlef.org/cves/CVE-2026-56813.html
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Resource: N/A
Hyperlink: https://github.com/elixir-plug/plug/commit/c6575800b2c4e15af1904df87522ca8a23da020c
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Resource: N/A
Hyperlink: https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Resource: N/A
Hyperlink: https://osv.dev/vulnerability/EEF-CVE-2026-56813
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found