CVE-2026-43972: CWE-346 Origin Validation Error in ninenines gun
CVE-2026-43972 is an origin validation error vulnerability in the ninenines gun HTTP/2 module (gun_http2). It allows a malicious or compromised HTTP/2 server to inject cookies scoped to arbitrary third-party domains into the client's cookie store via unvalidated PUSH_PROMISE authority headers. This violates HTTP/2 protocol requirements and can enable session fixation and potential account takeover without user interaction. The issue affects gun versions from 2.0.0 up to but not including 2.4.0.
AI Analysis
Technical Summary
The vulnerability arises because the gun_http2 module does not validate the :authority pseudo-header in incoming PUSH_PROMISE frames against the connection's origin. The unvalidated authority is stored and later used to set cookies before any status checks or user code intervention, violating RFC 7540 §10.6 and RFC 9113 §8.4. This flaw allows an attacker controlling an HTTP/2 server to plant cookies for arbitrary domains in the client's shared cookie store, enabling session fixation attacks and possible account takeover if the malicious cookie overrides legitimate session tokens. The affected versions are gun from 2.0.0 before 2.4.0.
Potential Impact
An attacker controlling or compromising an HTTP/2 server can inject cookies for arbitrary third-party domains into a client's cookie store. This can lead to session fixation attacks and potentially account takeover if the malicious cookie replaces a legitimate session token. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required. The vulnerability violates HTTP/2 protocol specifications for origin validation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a patch is available, avoid using vulnerable versions of gun with untrusted HTTP/2 servers or disable HTTP/2 PUSH_PROMISE handling if possible.
CVE-2026-43972: CWE-346 Origin Validation Error in ninenines gun
Description
CVE-2026-43972 is an origin validation error vulnerability in the ninenines gun HTTP/2 module (gun_http2). It allows a malicious or compromised HTTP/2 server to inject cookies scoped to arbitrary third-party domains into the client's cookie store via unvalidated PUSH_PROMISE authority headers. This violates HTTP/2 protocol requirements and can enable session fixation and potential account takeover without user interaction. The issue affects gun versions from 2.0.0 up to but not including 2.4.0.
CVSS v4.0
Score 6.3medium
Affected software
ninenines
gun
ninenines
gun
cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the gun_http2 module does not validate the :authority pseudo-header in incoming PUSH_PROMISE frames against the connection's origin. The unvalidated authority is stored and later used to set cookies before any status checks or user code intervention, violating RFC 7540 §10.6 and RFC 9113 §8.4. This flaw allows an attacker controlling an HTTP/2 server to plant cookies for arbitrary domains in the client's shared cookie store, enabling session fixation attacks and possible account takeover if the malicious cookie overrides legitimate session tokens. The affected versions are gun from 2.0.0 before 2.4.0.
Potential Impact
An attacker controlling or compromising an HTTP/2 server can inject cookies for arbitrary third-party domains into a client's cookie store. This can lead to session fixation attacks and potentially account takeover if the malicious cookie replaces a legitimate session token. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required. The vulnerability violates HTTP/2 protocol specifications for origin validation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a patch is available, avoid using vulnerable versions of gun with untrusted HTTP/2 servers or disable HTTP/2 PUSH_PROMISE handling if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-04T18:23:25.574Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a26d2d1e29bf47b50f21652
Added to database: 06/08/2026, 14:33:53 UTC
Last enriched: 07/30/2026, 07:23:57 UTC
Last updated: 09/12/2026, 22:01:34 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.