CVE-2026-46700: @actual app/sync server Name Allows Non-admin OpenID Users Vulnerability

MODERATE
Advisory Identifier: GHSA-3f62-qv96-4p78
CVSS 4.3
CWE-285
Published
Advisory Summary

CVE-2026-46700 is a MODERATE (CVSS 4.3) name allows non-admin openid users vulnerability (CWE-285: Improper Authorization) affecting @actual app/sync server libraries in the npm ecosystem. The issue involves name allows non-admin openid users to enumerate admin-configured bank-sync secrets. Remediation is available by upgrading affected packages to version 26.6.0.

CVE-2026-46700 at a Glance

CVE Identifier CVE-2026-46700
GHSA Identifier GHSA-3f62-qv96-4p78
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-285: Improper Authorization
Affected Product @actual app/sync server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-46700

To remediate this vulnerability, upgrade all affected @actual app/sync server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@actual-app/sync-server fixed: 26.6.0
npm install @actual-app/sync-server@26.6.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @actual-app/sync-server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-46700, inspect your project dependencies using npm:

npm ls @actual-app/sync-server

Analyze the terminal output to locate any version of @actual app/sync server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 26.6.0), your application is affected.

Note: The npm ls @actual-app/sync-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In @actual app/sync server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary In `@actual-app/sync-server`, the `GET /secret/:name` endpoint (`app-secrets.js:53`) checks only that the caller has a valid session — it does not verify the caller is an admin. The sibling `POST /secret/` handler does enforce an admin check in OpenID mode, exposing an authorization asymmetry. Any authenticated non-admin (BASIC) user in OpenID multi-user deployments can probe the secrets store and learn which admin-managed bank-sync integrations have been configured (existence, not values). This includes integration credentials that are not otherwise observable to non-admins, such as `simplefin_accessKey`, `pluggyai_clientSecret`, `pluggyai_itemIds`, and the `gocardless_*` secrets. ## Details `packages/sync-server/src/app-secrets.js` mounts `validateSessionMiddleware` at the router level (line 15), so all handlers inherit only "must be authenticated." The POST handler then explicitly upgrades to an admin check when the active auth method is `openid`: ```js // app-secrets.js:17-46 app.post('/', async (req, res) => { // ... look up active auth method ... if (method === 'openid') { const canSaveSecrets = isAdmin(res.locals.user_id); if (!canSaveSecrets) { res.status(403).send({ status: 'error', reason: 'not-admin', details: 'You have to be admin to set secrets', }); return; } } secretsService.set(name, value); // ... }); ``` The sibling GET handler skips both the method check and the admin check entirely: ```js // app-secrets.js:53-61 app.get('/:name', async (req, res) => { const name = req.params.name; const keyExists = secretsService.exists(name); if (keyExists) { res.sendStatus(204); } else { res.status(404).send('key not found'); } }); ``` The intent — visible from the POST handler's "You have to be admin to set secrets" — is that this store holds admin-managed credentials. The valid secret names enumerated in `services/secrets-service.js` (`SecretName`) are: `gocardless_secretId`, `gocardless_secretKey`, `simplefin_token`, `simplefin_accessKey`, `pluggyai_clientId`, `pluggyai_clientSecret`, `pluggyai_itemIds`. In OpenID mode, BASIC users obtain valid sessions through `packages/sync-server/src/accounts/openid.ts:264-274` — either auto-created (`userCreationMode=login`) or pre-provisioned by the admin (`userCreationMode=manual`). With that BASIC session token they can hit `GET /secret/:name` and distinguish 204 (configured) from 404 (missing), enumerating each admin-managed secret name. Some signals (`simplefin_token` existence, `pluggyai_clientId` existence) are already coarsely observable via the unauthenticated bank-sync status endpoints (`app-simplefin.js:18`, `app-pluggyai.js:18`); the rest (`simplefin_accessKey`, `pluggyai_clientSecret`, `pluggyai_itemIds`, both `gocardless_*` secrets) are not otherwise probeable. This is structurally identical to the previously reported missing-admin-check on `GET /admin/users/` (`app-admin.js:28`): a POST sibling enforces admin authorization while the GET sibling omits it. ## PoC Pre-requisites: - Server is configured for OpenID multi-user mode (`ACTUAL_OPENID_ENFORCE=true` or auth method is `openid`). - An admin has configured one or more bank-sync integrations. - The attacker is any authenticated BASIC user (auto-created via `userCreationMode=login`, or admin-provisioned in the default `manual` mode). Step 1 — capture a BASIC user's session token in `$TOKEN` (standard OpenID login flow, no admin role required). Step 2 — probe each admin-managed secret name: ```bash for name in gocardless_secretId gocardless_secretKey \ simplefin_token simplefin_accessKey \ pluggyai_clientId pluggyai_clientSecret pluggyai_itemIds; do status=$(curl -s -o /dev/null -w '%{http_code}' \ -H "X-ACTUAL-TOKEN: $TOKEN" \ https://actual.example.com/secret/$name) echo "$name -> $status" # 204 = configured, 404 = missing done ``` Step 3 — confirm the asymmetry by attempting to write a secret (correctly rejected for non-admins): ```bash curl -s -H "X-ACTUAL-TOKEN: $TOKEN" \ -H 'Content-Type: application/json' \ -d '{"name":"pluggyai_itemIds","value":"x"}' \ https://actual.example.com/secret/ # {"status":"error","reason":"not-admin","details":"You have to be admin to set secrets"} ``` The POST returns 403 `not-admin`; the GET returns 204/404 unauthenticated-against-role. ## Impact - A non-admin authenticated user in OpenID multi-user mode can enumerate which admin-managed bank-sync integrations the deployment uses. - This reveals whether GoCardless, SimpleFIN, and/or Pluggy AI are configured, and which auxiliary credentials the admin has set (e.g. `simplefin_accessKey`, `pluggyai_clientSecret`, `pluggyai_itemIds`) — none of which are otherwise observable to non-admins. - The disclosure is existence-only; secret values are not returned. Impact is limited to recon useful for targeted follow-on attacks (e.g. credential phishing, picking which integration to attack on a separate vulnerability). - No integrity or availability impact. ## Recommended Fix Mirror the POST handler's admin gate on the GET handler. Minimal patch in `packages/sync-server/src/app-secrets.js`: ```js app.get('/:name', async (req, res) => { let method; try { const result = getAccountDb().first( 'SELECT method FROM auth WHERE active = 1', ); method = result?.method; } catch (error) { console.error('Failed to fetch auth method:', error); return res.status(500).send({ status: 'error', reason: 'database-error', details: 'Failed to validate authentication method', }); } if (method === 'openid' && !isAdmin(res.locals.user_id)) { return res.status(403).send({ status: 'error', reason: 'not-admin', details: 'You have to be admin to read secret status', }); } const name = req.params.name; const keyExists = secretsService.exists(name); if (keyExists) { res.sendStatus(204); } else { res.status(404).send('key not found'); } }); ``` Consider factoring the method-lookup + admin-check into a shared helper used by both POST and GET to prevent the same asymmetry from recurring. Also consider restricting `:name` to the `SecretName` enum so unrelated probing is rejected up front.

CVE-2026-46700 Affected @actual app/sync server Versions

1 component(s)
Fixed Versions:
26.6.0
Product / Package Ecosystem Affected Versions Fixed Version
@actual-app/sync-server
npm
< 26.6.0
26.6.0

References

Frequently Asked Questions

What is CVE-2026-46700?
CVE-2026-46700 is a security vulnerability in @actual app/sync server involving name allows non-admin OpenID users to enumerate admin-configured bank-sync secrets under CWE-285: Improper Authorization.
Which @actual app/sync server versions are affected?
Affected versions include releases prior to 26.6.0 across affected packages: @actual-app/sync-server.
What version fixes CVE-2026-46700?
Upgrading to 26.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @actual-app/sync-server affected?
Yes, @actual-app/sync-server is affected in releases prior to 26.6.0. Upgrade your dependency to 26.6.0 or later.
What is the CVSS score of CVE-2026-46700?
CVE-2026-46700 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-46700?
CVE-2026-46700 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check npm dependencies for CVE-2026-46700?
Run the dependency tree command: 'npm ls @actual-app/sync-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3f62-qv96-4p78",
  "modified" : "2026-06-22T21:42:34Z",
  "published" : "2026-06-22T21:42:34Z",
  "aliases" : [ "CVE-2026-46700" ],
  "summary" : "@actual-app/sync-server's missing authorization on GET /secret/:name allows non-admin OpenID users to enumerate admin-configured bank-sync secrets",
  "details" : "## Summary\n\nIn `@actual-app/sync-server`, the `GET /secret/:name` endpoint (`app-secrets.js:53`) checks only that the caller has a valid session — it does not verify the caller is an admin. The sibling `POST /secret/` handler does enforce an admin check in OpenID mode, exposing an authorization asymmetry. Any authenticated non-admin (BASIC) user in OpenID multi-user deployments can probe the secrets store and learn which admin-managed bank-sync integrations have been configured (existence, not values). This includes integration credentials that are not otherwise observable to non-admins, such as `simplefin_accessKey`, `pluggyai_clientSecret`, `pluggyai_itemIds`, and the `gocardless_*` secrets.\n\n## Details\n\n`packages/sync-server/src/app-secrets.js` mounts `validateSessionMiddleware` at the router level (line 15), so all handlers inherit only \"must be authenticated.\" The POST handler then explicitly upgrades to an admin check when the active auth method is `openid`:\n\n```js\n// app-secrets.js:17-46\napp.post('/', async (req, res) => {\n  // ... look up active auth method ...\n  if (method === 'openid') {\n    const canSaveSecrets = isAdmin(res.locals.user_id);\n    if (!canSaveSecrets) {\n      res.status(403).send({\n        status: 'error',\n        reason: 'not-admin',\n        details: 'You have to be admin to set secrets',\n      });\n      return;\n    }\n  }\n  secretsService.set(name, value);\n  // ...\n});\n```\n\nThe sibling GET handler skips both the method check and the admin check entirely:\n\n```js\n// app-secrets.js:53-61\napp.get('/:name', async (req, res) => {\n  const name = req.params.name;\n  const keyExists = secretsService.exists(name);\n  if (keyExists) {\n    res.sendStatus(204);\n  } else {\n    res.status(404).send('key not found');\n  }\n});\n```\n\nThe intent — visible from the POST handler's \"You have to be admin to set secrets\" — is that this store holds admin-managed credentials. The valid secret names enumerated in `services/secrets-service.js` (`SecretName`) are: `gocardless_secretId`, `gocardless_secretKey`, `simplefin_token`, `simplefin_accessKey`, `pluggyai_clientId`, `pluggyai_clientSecret`, `pluggyai_itemIds`.\n\nIn OpenID mode, BASIC users obtain valid sessions through `packages/sync-server/src/accounts/openid.ts:264-274` — either auto-created (`userCreationMode=login`) or pre-provisioned by the admin (`userCreationMode=manual`). With that BASIC session token they can hit `GET /secret/:name` and distinguish 204 (configured) from 404 (missing), enumerating each admin-managed secret name. Some signals (`simplefin_token` existence, `pluggyai_clientId` existence) are already coarsely observable via the unauthenticated bank-sync status endpoints (`app-simplefin.js:18`, `app-pluggyai.js:18`); the rest (`simplefin_accessKey`, `pluggyai_clientSecret`, `pluggyai_itemIds`, both `gocardless_*` secrets) are not otherwise probeable.\n\nThis is structurally identical to the previously reported missing-admin-check on `GET /admin/users/` (`app-admin.js:28`): a POST sibling enforces admin authorization while the GET sibling omits it.\n\n## PoC\n\nPre-requisites:\n- Server is configured for OpenID multi-user mode (`ACTUAL_OPENID_ENFORCE=true` or auth method is `openid`).\n- An admin has configured one or more bank-sync integrations.\n- The attacker is any authenticated BASIC user (auto-created via `userCreationMode=login`, or admin-provisioned in the default `manual` mode).\n\nStep 1 — capture a BASIC user's session token in `$TOKEN` (standard OpenID login flow, no admin role required).\n\nStep 2 — probe each admin-managed secret name:\n\n```bash\nfor name in gocardless_secretId gocardless_secretKey \\\n            simplefin_token simplefin_accessKey \\\n            pluggyai_clientId pluggyai_clientSecret pluggyai_itemIds; do\n  status=$(curl -s -o /dev/null -w '%{http_code}' \\\n           -H \"X-ACTUAL-TOKEN: $TOKEN\" \\\n           https://actual.example.com/secret/$name)\n  echo \"$name -> $status\"   # 204 = configured, 404 = missing\ndone\n```\n\nStep 3 — confirm the asymmetry by attempting to write a secret (correctly rejected for non-admins):\n\n```bash\ncurl -s -H \"X-ACTUAL-TOKEN: $TOKEN\" \\\n     -H 'Content-Type: application/json' \\\n     -d '{\"name\":\"pluggyai_itemIds\",\"value\":\"x\"}' \\\n     https://actual.example.com/secret/\n# {\"status\":\"error\",\"reason\":\"not-admin\",\"details\":\"You have to be admin to set secrets\"}\n```\n\nThe POST returns 403 `not-admin`; the GET returns 204/404 unauthenticated-against-role.\n\n## Impact\n\n- A non-admin authenticated user in OpenID multi-user mode can enumerate which admin-managed bank-sync integrations the deployment uses.\n- This reveals whether GoCardless, SimpleFIN, and/or Pluggy AI are configured, and which auxiliary credentials the admin has set (e.g. `simplefin_accessKey`, `pluggyai_clientSecret`, `pluggyai_itemIds`) — none of which are otherwise observable to non-admins.\n- The disclosure is existence-only; secret values are not returned. Impact is limited to recon useful for targeted follow-on attacks (e.g. credential phishing, picking which integration to attack on a separate vulnerability).\n- No integrity or availability impact.\n\n## Recommended Fix\n\nMirror the POST handler's admin gate on the GET handler. Minimal patch in `packages/sync-server/src/app-secrets.js`:\n\n```js\napp.get('/:name', async (req, res) => {\n  let method;\n  try {\n    const result = getAccountDb().first(\n      'SELECT method FROM auth WHERE active = 1',\n    );\n    method = result?.method;\n  } catch (error) {\n    console.error('Failed to fetch auth method:', error);\n    return res.status(500).send({\n      status: 'error',\n      reason: 'database-error',\n      details: 'Failed to validate authentication method',\n    });\n  }\n\n  if (method === 'openid' && !isAdmin(res.locals.user_id)) {\n    return res.status(403).send({\n      status: 'error',\n      reason: 'not-admin',\n      details: 'You have to be admin to read secret status',\n    });\n  }\n\n  const name = req.params.name;\n  const keyExists = secretsService.exists(name);\n  if (keyExists) {\n    res.sendStatus(204);\n  } else {\n    res.status(404).send('key not found');\n  }\n});\n```\n\nConsider factoring the method-lookup + admin-check into a shared helper used by both POST and GET to prevent the same asymmetry from recurring. Also consider restricting `:name` to the `SecretName` enum so unrelated probing is rejected up front.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@actual-app/sync-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "26.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/actualbudget/actual/security/advisories/GHSA-3f62-qv96-4p78"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/actualbudget/actual"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-22T21:42:34Z",
    "nvd_published_at" : null
  }
}