{"affected":[{"defaultStatus":"unaffected","ecosystem":"hex","packageName":"plug","product":"plug","source":"CNA: EEF","vendor":"elixir-plug","versions":[{"lessThan":"1.16.6","status":"affected","version":"0.1.0","versionType":"semver"},{"lessThan":"1.17.4","status":"affected","version":"1.17.0","versionType":"semver"},{"lessThan":"1.18.5","status":"affected","version":"1.18.0","versionType":"semver"},{"lessThan":"1.19.5","status":"affected","version":"1.19.0","versionType":"semver"},{"lessThan":"1.20.3","status":"affected","version":"1.20.0","versionType":"semver"}]},{"defaultStatus":"unaffected","ecosystem":"github","packageName":"elixir-plug/plug","product":"plug","source":"CNA: EEF","vendor":"elixir-plug","versions":[{"changes":[{"at":"149d9ed68fee0b4f77efd1e835ce5d785856697b","status":"unaffected"},{"at":"3f00dfad4e20ba88472e315c90a25742bf178f8e","status":"unaffected"},{"at":"4167981747fe9ce75f374b94a28861ae950ea992","status":"unaffected"},{"at":"a6d1248659022749869963fd302687165ecf8c8b","status":"unaffected"},{"at":"eceb8315ce9a31ef784943a95a8624ebd1bc7e06","status":"unaffected"}],"lessThan":"*","status":"affected","version":"f26876aa67aaeb38e616638aa3efbcc2fe2906a5","versionType":"git"}]},{"ecosystem":"erlang","packageName":"plug","product":"plug","source":"GitHub GHSA-wpmj-jh88-rpgm","vendor":"","versions":[{"status":"affected","version":">= 0.1.0 and < 1.16.6","versionType":"GitHub advisory range"}]},{"ecosystem":"erlang","packageName":"plug","product":"plug","source":"GitHub GHSA-wpmj-jh88-rpgm","vendor":"","versions":[{"status":"affected","version":">= 1.17.0 and < 1.17.4","versionType":"GitHub advisory range"}]},{"ecosystem":"erlang","packageName":"plug","product":"plug","source":"GitHub GHSA-wpmj-jh88-rpgm","vendor":"","versions":[{"status":"affected","version":">= 1.18.0 and < 1.18.5","versionType":"GitHub advisory range"}]},{"ecosystem":"erlang","packageName":"plug","product":"plug","source":"GitHub GHSA-wpmj-jh88-rpgm","vendor":"","versions":[{"status":"affected","version":">= 1.19.0 and < 1.19.5","versionType":"GitHub advisory range"}]},{"ecosystem":"erlang","packageName":"plug","product":"plug","source":"GitHub GHSA-wpmj-jh88-rpgm","vendor":"","versions":[{"status":"affected","version":">= 1.20.0 and < 1.20.3","versionType":"GitHub advisory range"}]}],"cveId":"CVE-2026-56813","cwes":["CWE-141"],"description":"Improper Neutralization of Parameter/Argument Delimiters vulnerability in elixir-plug plug allows an attacker to inject or override HTTP cookie attributes.\n\nThe 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.\n\nAn 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.\n\nThis 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.","epss":{"date":"2026-11-23","percentile":0.11968,"score":0.00216},"exploits":[],"kev":null,"metrics":[{"score":2.1,"severity":"low","source":"CNA: EEF","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","version":"4.0"},{"score":2.1,"severity":"low","source":"NVD: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db","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","version":"4.0"}],"modifiedAt":1795495225892,"publishedAt":1783687868758,"references":[{"source":"CNA: EEF","tags":["vendor-advisory","related"],"url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"},{"source":"CNA: EEF","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-56813.html"},{"source":"CNA: EEF","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-56813"},{"source":"CNA: EEF","tags":["related"],"url":"https://github.com/elixir-plug/plug/commit/f26876aa67aaeb38e616638aa3efbcc2fe2906a5"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/elixir-plug/plug/commit/149d9ed68fee0b4f77efd1e835ce5d785856697b"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/elixir-plug/plug/commit/3f00dfad4e20ba88472e315c90a25742bf178f8e"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/elixir-plug/plug/commit/4167981747fe9ce75f374b94a28861ae950ea992"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/elixir-plug/plug/commit/a6d1248659022749869963fd302687165ecf8c8b"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/elixir-plug/plug/commit/eceb8315ce9a31ef784943a95a8624ebd1bc7e06"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://cna.erlef.org/cves/CVE-2026-56813.html"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/elixir-plug/plug/commit/149d9ed68fee0b4f77efd1e835ce5d785856697b"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/elixir-plug/plug/commit/3f00dfad4e20ba88472e315c90a25742bf178f8e"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/elixir-plug/plug/commit/4167981747fe9ce75f374b94a28861ae950ea992"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/elixir-plug/plug/commit/a6d1248659022749869963fd302687165ecf8c8b"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/elixir-plug/plug/commit/eceb8315ce9a31ef784943a95a8624ebd1bc7e06"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/elixir-plug/plug/commit/f26876aa67aaeb38e616638aa3efbcc2fe2906a5"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"},{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-56813"},{"source":"GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"}],"remediation":[{"kind":"workaround","source":"CNA: EEF","text":"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."},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/elixir-plug/plug/commit/149d9ed68fee0b4f77efd1e835ce5d785856697b"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/elixir-plug/plug/commit/3f00dfad4e20ba88472e315c90a25742bf178f8e"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/elixir-plug/plug/commit/4167981747fe9ce75f374b94a28861ae950ea992"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/elixir-plug/plug/commit/a6d1248659022749869963fd302687165ecf8c8b"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/elixir-plug/plug/commit/eceb8315ce9a31ef784943a95a8624ebd1bc7e06"},{"kind":"fix","source":"GitHub GHSA-wpmj-jh88-rpgm","text":"plug (erlang): GitHub reports patched versions 1.16.6. Check the advisory for the affected release branch.","url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"},{"kind":"fix","source":"GitHub GHSA-wpmj-jh88-rpgm","text":"plug (erlang): GitHub reports patched versions 1.17.4. Check the advisory for the affected release branch.","url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"},{"kind":"fix","source":"GitHub GHSA-wpmj-jh88-rpgm","text":"plug (erlang): GitHub reports patched versions 1.18.5. Check the advisory for the affected release branch.","url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"},{"kind":"fix","source":"GitHub GHSA-wpmj-jh88-rpgm","text":"plug (erlang): GitHub reports patched versions 1.19.5. Check the advisory for the affected release branch.","url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"},{"kind":"fix","source":"GitHub GHSA-wpmj-jh88-rpgm","text":"plug (erlang): GitHub reports patched versions 1.20.3. Check the advisory for the affected release branch.","url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"}],"revision":"180bdac7c7dcd711db06f479469fff7b7553599bdeb7a19bc7a0a179d5466b92","sources":[{"modifiedAt":1795495225892,"name":"CNA: EEF","retrievedAt":1795496980498,"url":"https://www.cve.org/CVERecord?id=CVE-2026-56813"},{"modifiedAt":1795155452890,"name":"NVD","retrievedAt":1795176962093,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56813"},{"modifiedAt":1783591093000,"name":"GitHub Security Advisories","retrievedAt":1795229109533,"url":"https://github.com/elixir-plug/plug/security/advisories/GHSA-wpmj-jh88-rpgm"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795496982178,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-56813"}],"ssvc":{"assessedAt":1783694616298,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Cookie attribute injection in Plug.Conn.Cookies.encode/2","updatedAt":1795496982178}