CVE-2026-43972
Last modified
CVE-2026-43972 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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 before 2.4.0.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ninenines | Gun | >= 2.0.0, < 2.4.0 |
References
- https://cna.erlef.org/cves/CVE-2026-43972.htmlThird Party Advisory, Patch
- https://osv.dev/vulnerability/EEF-CVE-2026-43972Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-43972?
How severe is CVE-2026-43972?
How do I fix CVE-2026-43972?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-43966Improper Neutralization of CRLF Sequences in HTTP Headers ('…5.3
- CVE-2026-43967Inefficient Algorithmic Complexity vulnerability in absinthe…7.5
- CVE-2026-43968Improper Neutralization of CRLF Sequences ('CRLF Injection')…4
- CVE-2026-43969Improper Neutralization of CRLF Sequences ('CRLF Injection')…3.2
- CVE-2026-43970Improper Handling of Highly Compressed Data (Data Amplificat…8.2
- CVE-2026-43971Improper Encoding or Escaping of Output vulnerability in nin…6.3
- CVE-2026-43973Uncontrolled Resource Consumption vulnerability in ninenines…7.5
- CVE-2026-43974Unexpected Status Code or Return Value vulnerability in nine…7.5
- CVE-2026-43975FolderUploadsFileManager in Apache Wicket does not validate …6.5
- CVE-2026-43977wger is a free, open-source workout and fitness manager. In …7.5
- CVE-2026-43978wger is a free, open-source workout and fitness manager. In …8.1
- CVE-2026-43979Local Deep Research is an AI-powered research assistant for …5
Are you affected by CVE-2026-43972?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
