{
  "id": "CVE-2026-54673",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54673",
  "published_at": "2026-06-30T22:11:37.587Z",
  "title": "electron-updater: Cross-origin redirect leaks `PRIVATE-TOKEN` and mixed-case `Authorization` credentials in `builder-util-runtime`",
  "vendor": "electron-userland",
  "product": "electron-builder",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "electron-updater allows for automatic updates for Electron apps. Prior to 9.7.0, the HTTP redirect handler (HttpExecutor.prepareRedirectUrlOptions) only stripped a credential header whose key string matched exactly lowercase \"authorization\", exposing credentials. Other credential-bearing headers — most notably PRIVATE-TOKEN (used by GitLab's personal access token flow) and mixed-case Authorization (used by GitLab's Bearer/OAuth flow) — were not stripped and could be forwarded to an attacker-controlled cross-origin redirect destination. This issue has been fixed in version 9.7.0.",
  "cwe": "CWE-200",
  "cpes": [
    "cpe:2.3:a:electron:builder-util-runtime:*:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:electron:electron-builder:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 6.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "electron-userland",
        "product": "electron-builder",
        "ranges": [
          "\u003c 26.15.0"
        ],
        "fixed_in": [
          "26.15.0"
        ]
      },
      {
        "vendor": "electron-userland",
        "product": "builder-util-runtime",
        "ranges": [
          "\u003c 9.7.0"
        ],
        "fixed_in": [
          "9.7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade electron-builder to 26.15.0 or later.",
      "Upgrade builder-util-runtime to 9.7.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/electron-userland/electron-builder/security/advisories/GHSA-p2f4-r6v6-j797"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/electron-userland/electron-builder/commit/22a7532bd01b9fb42cff7c58d599c7ad683569fe"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
