Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-43972: CWE-346 Origin Validation Error in ninenines gun

0
Medium
VulnerabilityCVE-2026-43972cvecve-2026-43972cwe-346
Published: Mon Jun 08 2026 (06/08/2026, 14:12:38 UTC)
Source: CVE Database V5
Vendor/Project: ninenines
Product: gun

Description

CVE-2026-43972 is an origin validation error vulnerability in the ninenines gun HTTP/2 client library (gun_http2 module). It allows a malicious or compromised HTTP/2 server to inject cookies scoped to arbitrary third-party domains into the client's cookie store by exploiting unvalidated :authority pseudo-headers in PUSH_PROMISE frames. This can enable session fixation attacks and potentially account takeover if the injected cookie overrides legitimate session tokens. The vulnerability affects gun versions from 2. 0. 0 before 2. 4. 0 and requires no user interaction beyond making a normal HTTP/2 request to the attacker-controlled server. The issue violates HTTP/2 protocol specifications (RFC 7540 §10. 6 and RFC 9113 §8.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/08/2026, 14:49:12 UTC

Technical Analysis

The vulnerability arises because gun_http2:push_promise_frame/7 stores the :authority pseudo-header from incoming PUSH_PROMISE frames without validating that it matches the connection's origin. Later, when processing response headers for the promised stream, gun_cookies:set_cookie_header/7 uses this unvalidated authority to set cookies before any status checks or user code intervention. This allows a malicious HTTP/2 server to plant cookies for arbitrary domains in the client's shared cookie store, violating HTTP/2 protocol requirements and enabling session fixation and potential account takeover attacks. The flaw affects gun versions starting at 2.0.0 up to but not including 2.4.0.

Potential Impact

An attacker controlling or compromising an HTTP/2 server can exploit this vulnerability to inject cookies scoped to arbitrary third-party domains into a client's cookie store. This can lead to session fixation attacks against those domains and may result in account takeover if the injected cookie overrides a legitimate session token. No user interaction beyond a normal HTTP/2 request to the malicious server is required. The CVSS 4.0 base score is 6.3 (medium severity), reflecting network attack vector, low complexity, no privileges required, no user interaction, and limited impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided in the available data. Until a patch is released, users should avoid making HTTP/2 requests to untrusted or potentially compromised servers using affected gun versions (2.0.0 before 2.4.0). Monitor vendor communications for updates and apply official fixes once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-05-04T18:23:25.574Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a26d2d1e29bf47b50f21652

Added to database: 6/8/2026, 2:33:53 PM

Last enriched: 6/8/2026, 2:49:12 PM

Last updated: 6/8/2026, 3:36:38 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses