Home / ninenines / gun / CVE-2026-43972
CVE-2026-43972: is it exploited, and which versions of ninenines gun are affected and fixed?
CVE-2026-43972 is an origin not validated vulnerability in ninenines gun. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: gun from 2.0.0 before 2.4.0 (GitHub advisory GHSA-36w4-95hv-5vwg). Fixed in 2.4.0 (GitHub advisory GHSA-36w4-95hv-5vwg). Severity: Medium (6.3, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 20, 2026, 06:45 UTC and NVD November 20, 2026, 08:04 UTC.
What is CVE-2026-43972?
gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection
Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority. In 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. A 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. This issue affects gun: from 2.0.0-pre.2 before 2.4.0.
From the CVE record by EEF, last updated November 20, 2026, 06:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ninenines | gun | from 2.0.0-pre.2 before 2.4.0 | 2.4.0 |
| ninenines | gun ninenines/gun | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Hex | gun | >= 2.0.0, < 2.4.0 | 2.4.0 | GHSA-36w4-95hv-5vwg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 29, 2026. Summary: gun_http2 has an Origin Validation Error vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ninenines | gun | from 2.0.0 before 2.4.0 | application |
NVD analysis (status Modified), last modified November 20, 2026, 07:17 UTC.
How severe is CVE-2026-43972?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | EEF |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-43972 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 8, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 7.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-346 Origin Validation Error
Where are the vendor advisories and references?
- EEF CNA record for CVE-2026-43972 related, third-party-advisory
- OSV record EEF-CVE-2026-43972 related
- Introducing commit 87d0bff in ninenines/gun related
- Fix commit 567863f in ninenines/gun patch
Who found and reported it?
- Peter Ullrich (finder)
- Loïc Hoguin (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 4, 2026
- Published
- June 8, 2026, 14:12 UTC
- CVE record updated
- November 20, 2026, 06:39 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 07:17 UTC
- Last checked
- CVE list November 20, 2026, 06:45 UTC; NVD November 20, 2026, 08:04 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect gun?
- Jun 8, 2026CVE-2026-43973 ninenines gun: denial of service (resources allocated without limits)
- Jun 8, 2026CVE-2026-43974 ninenines gun: improper Enforcement of Behavioral Workflow
Questions about CVE-2026-43972
Is CVE-2026-43972 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ninenines gun are affected by CVE-2026-43972?
gun from 2.0.0 before 2.4.0, per the GitHub advisory GHSA-36w4-95hv-5vwg. The tables above give every range the sources list.
Which version fixes CVE-2026-43972?
2.4.0, per the GitHub advisory GHSA-36w4-95hv-5vwg. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-43972?
Medium (6.3, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-43972?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.