Skip to content
FortressDiscuss your projectMenu

CVE-2026-42890

Actual: Allows Electron to Run As Node

Product
Actual (actualbudget)
Versions
Before 26.5.0 · fixed in 26.5.0
Severity
MediumCVSS score 4.8 · GitHub
CVE
CVE-2026-42890, assigned by GitHub · GHSA-7rvm-xjpp-63r9
Found by
Mustafa Ahmed, Fortress MSSP
Published
November 11, 2026CVE published by GitHub on June 12, 2026

Description

Actual is an open-source personal finance application. In the macOS desktop application version 25.x (built on Electron 39.2.7), the ELECTRON_RUN_AS_NODE fuse is not disabled, allowing an attacker who can place a file on disk or control command-line arguments to invoke the signed Actual.app binary with the ELECTRON_RUN_AS_NODE=1 environment variable set. This converts the application into a Node.js REPL capable of executing arbitrary code that inherits the application's entitlements and code signature, bypassing macOS Gatekeeper review. Version 26.5.0 patches the issue.

From the CVE record · CWE-94: Improper Control of Generation of Code ('Code Injection')

Technical analysis

Actual's desktop app is packaged with electron-builder using the 'build' section of packages/desktop-electron/package.json, which before 26.5.0 contained no electronFuses settings. According to the maintainers' advisory, the shipped macOS app (Electron 39.2.7) therefore had the ELECTRON_RUN_AS_NODE fuse enabled, so the signed Actual.app binary would run as a plain Node.js runtime when started with ELECTRON_RUN_AS_NODE=1. Code run this way runs under Actual's bundle ID, code signature and entitlements, which the advisory says bypasses Gatekeeper review of the payload for an attacker who can place a file on disk or control command line arguments.

Vulnerable: packages/desktop-electron/package.json, version 26.4.0
    "beforePack": "./build/desktop-electron/beforePackHook.js",
    "mac": {
      "category": "public.app-category.finance",
      "icon": "icons/icon.icns",
      "hardenedRuntime": true,
      "gatekeeperAssess": false,

PR #7609 (squash commit ea50db5) adds an electronFuses block to the electron-builder config that sets runAsNode, enableNodeOptionsEnvironmentVariable and enableNodeCliInspectArguments to false, so packaged builds ignore ELECTRON_RUN_AS_NODE, NODE_OPTIONS/NODE_EXTRA_CA_CERTS and --inspect-style flags. It also adds an afterSign hook that ad hoc signs again the macOS app ('codesign --sign -') when no signing certificate (CSC_LINK) is configured.

Fixed: packages/desktop-electron/package.json, version 26.5.0
    "beforePack": "./build/desktop-electron/beforePackHook.js",
    "afterSign": "./build/desktop-electron/afterSignHook.js",
    "electronFuses": {
      "runAsNode": false,
      "enableNodeOptionsEnvironmentVariable": false,
      "enableNodeCliInspectArguments": false
    },
    "mac": {
      "category": "public.app-category.finance",
      "icon": "icons/icon.icns",
      "hardenedRuntime": true,
      "gatekeeperAssess": false,

Fortress’s reading of the public source code at the versions shown.

Severity

GitHub gives 4.8 (medium) in the CVE record.

  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NGitHub

Remediation

Update Actual to 26.5.0 or later.

Disclosure timeline

  1. Fix committed to the project repository (ea50db5).
  2. CVE ID reserved by GitHub.
  3. Version 26.5.0 released.
  4. GitHub advisory GHSA-7rvm-xjpp-63r9 published.
  5. CVE published by GitHub.
  6. Published on this site.

Credit

Found and reported by Mustafa Ahmed of Fortress MSSP.

GitHub advisory GHSA-7rvm-xjpp-63r9 credits the GitHub account mustafa-sec, which is Mustafa Ahmed's, as reporter.

References