Read the docs
TI-2026-27011 Aliases CVE-2026-34767GHSA-4p4r-m79c-wq3v

Electron: HTTP Response Header Injection in custom protocol handlers and webRequest

Priority LOW 28CWE-113Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.3, 40.8.3, and 41.0.3, apps that register custom protocol handlers via protocol.handle() / protocol.registerSchemesAsPrivileged() or modify response headers via webRequest.onHeadersReceived may be vulnerable to HTTP response header injection if attacker-controlled input is reflected into a response header name or value. An attacker who can influence a header value may be able to inject additional response headers, affecting cookies, content security policy, or cross-origin access controls. Apps that do not reflect external input into response headers are not affected. This issue has been patched in versions 38.8.6, 39.8.3, 40.8.3, and 41.0.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00215 11th percentileScored 2026-11-07
Fix Partial electron (electron): 38.8.6, 39.8.3, 40.8.3 +1electron (npm): 38.8.6, 39.8.3, 40.8.3 +1Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
electronelectronbefore 38.8.6; 39.0.0-alpha.1 to before 39.8.3; 40.0.0-alpha.1 to before 40.8.3; 41.0.0-alpha.1 to before 41.0.338.8.6, 39.8.3, 40.8.3, 41.0.3Patch availableCNA
—electron (npm)before 38.8.638.8.6Patch availableGHSA-4p4r-m79c-wq3v
—electron (npm)39.0.0-alpha.1 to before 39.8.339.8.3Patch availableGHSA-4p4r-m79c-wq3v
—electron (npm)40.0.0-alpha.1 to before 40.8.340.8.3Patch availableGHSA-4p4r-m79c-wq3v
—electron (npm)41.0.0-alpha.1 to before 41.0.341.0.3Patch availableGHSA-4p4r-m79c-wq3v
  • electron Vendorelectron Affected before 38.8.6; 39.0.0-alpha.1 to before 39.8.3; 40.0.0-alpha.1 to before 40.8.3; 41.0.0-alpha.1 to before 41.0.3 Fixed in 38.8.6, 39.8.3, 40.8.3, 41.0.3 Patch available CNA
  • electron (npm) Vendor— Affected before 38.8.6 Fixed in 38.8.6 Patch available GHSA-4p4r-m79c-wq3v
  • electron (npm) Vendor— Affected 39.0.0-alpha.1 to before 39.8.3 Fixed in 39.8.3 Patch available GHSA-4p4r-m79c-wq3v
  • electron (npm) Vendor— Affected 40.0.0-alpha.1 to before 40.8.3 Fixed in 40.8.3 Patch available GHSA-4p4r-m79c-wq3v
  • electron (npm) Vendor— Affected 41.0.0-alpha.1 to before 41.0.3 Fixed in 41.0.3 Patch available GHSA-4p4r-m79c-wq3v

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*before 38.8.6; 39.0.0 to before 39.8.3; 40.0.0 to before 40.8.3; 41.0.0 to before 41.0.3VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 38.8.6; 39.0.0 to before 39.8.3; 40.0.0 to before 40.8.3; 41.0.0 to before 41.0.3 Vulnerable ·Electronjs

Remediation

  • Fix · CNA electron (electron) Fixed in 38.8.6, 39.8.3, 40.8.3, 41.0.3
  • Fix · GHSA-4p4r-m79c-wq3v electron (npm) Fixed in 38.8.6 Advisory →
  • Fix · GHSA-4p4r-m79c-wq3v electron (npm) Fixed in 39.8.3 Advisory →
  • Fix · GHSA-4p4r-m79c-wq3v electron (npm) Fixed in 40.8.3 Advisory →
  • Fix · GHSA-4p4r-m79c-wq3v electron (npm) Fixed in 41.0.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Build of Podman DesktopAffectedNo fix yet: Fix deferred
Red Hat Build of Podman Desktop - Tech PreviewAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34767
  2. 2026-10-03 Alias added: GHSA-4p4r-m79c-wq3v

References

  • TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
  • TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
  • TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
  • TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
  • TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
  • TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
See all 74 →

Sources