{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-43972","id":"CVE-2026-43972","title":"gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection","description":"Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\n\nIn gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection's origin. When gun_http2:headers_frame/9 l","descriptionLong":"Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\n\nIn gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection's origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 §10.6 / RFC 9113 §8.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\n\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client's shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\n\nThis issue affects gun: from 2.0.0 before 2.4.0.","published":"2026-06-08T14:12:38.780Z","updated":"2026-10-28T02:30:35.318057757Z","reserved":"2026-05-04T18:23:25.574Z","status":"Analyzed","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"EEF"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/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","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"NVD"}],"rating":"medium","products":["ninenines gun"],"affectedProducts":[{"vendor":"ninenines","product":"gun","defaultStatus":"unaffected","versions":[{"lessThan":"2.4.0","status":"affected","version":"2.0.0","versionType":"semver"}],"platforms":[]},{"vendor":"ninenines","product":"gun","defaultStatus":"unaffected","versions":[{"lessThan":"567863ff53802fed21c3b3f25812db7f7ae29676","status":"affected","version":"871989eef53663285c165fdfb83a5918ebe00d41","versionType":"git"}],"platforms":[]}],"packages":[{"ecosystem":"Hex","name":"gun","purl":"pkg:hex/gun","ranges":[">=2.0.0 <2.4.0"],"fixed":["2.4.0"],"advisory":"GHSA-36w4-95hv-5vwg"}],"cwes":["CWE-346"],"aliases":["EEF-CVE-2026-43972","GHSA-36w4-95hv-5vwg"],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-43972.html","tags":["related","third-party-advisory","Third Party Advisory","Patch","advisory","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-43972","tags":["related","Third Party Advisory","web"]},{"url":"https://github.com/ninenines/gun/commit/567863ff53802fed21c3b3f25812db7f7ae29676","tags":["patch","Patch","fix","web"]},{"url":"https://github.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43972.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43972","tags":["advisory"]},{"url":"https://github.com/ninenines/gun","tags":["package"]},{"url":"https://github.com/ninenines/gun.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00168,"epssPercentile":0.06208,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-43972","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43972","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-43972","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-36w4-95hv-5vwg","ok":true,"note":"GHSA-36w4-95hv-5vwg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-43972","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}