{"id":"CVE-2026-46672","state":"PUBLISHED","title":"Actual: CSV Formula Injection in `@actual-app/cli` `--format csv` Output via Custom `escapeCsv` Helper","description":"Actual is a local-first personal finance app. Prior to 26.6.0, @actual-app/cli ships a hand-rolled CSV serializer in packages/cli/src/output.ts used whenever the global --format csv option is passed, whose escapeCsv helper only handles RFC 4180 delimiter, quote, and newline escaping and does not neutralize standard CSV formula-injection prefixes. Any CLI command that streams an object array containing user-controlled strings, including transactions list, accounts list, payees list, categories list, tags list, category-groups list, rules list, schedules list, and query, can emit cells that auto-evaluate when the resulting CSV is opened in Excel, LibreOffice Calc, or Google Sheets, enabling data exfiltration and arbitrary formula execution. This issue is fixed in version 26.6.0.","publishedAt":"2026-07-07T20:55:02.846Z","updatedAt":"2026-07-08T13:00:02.162Z","severity":{"score":4.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["actualbudget actual"],"affected":[{"vendor":"actualbudget","product":"actual","versions":[{"version":"< 26.6.0","status":"affected"}]}],"references":["https://github.com/actualbudget/actual/security/advisories/GHSA-7gh7-258j-4mpq","https://github.com/actualbudget/actual/pull/7859","https://github.com/actualbudget/actual/commit/068185751c03b42e726e3c60b718413d5f96c306","https://github.com/actualbudget/actual/releases/tag/v26.6.0"],"weaknesses":["CWE-1236"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46672.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46672","state":"PUBLISHED","datePublished":"2026-07-07T20:55:02.846Z","dateUpdated":"2026-07-08T13:00:02.162Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-15T21:46:51.547Z"},"containers":{"cna":{"title":"Actual: CSV Formula Injection in `@actual-app/cli` `--format csv` Output via Custom `escapeCsv` Helper","descriptions":[{"lang":"en","value":"Actual is a local-first personal finance app. Prior to 26.6.0, @actual-app/cli ships a hand-rolled CSV serializer in packages/cli/src/output.ts used whenever the global --format csv option is passed, whose escapeCsv helper only handles RFC 4180 delimiter, quote, and newline escaping and does not neutralize standard CSV formula-injection prefixes. Any CLI command that streams an object array containing user-controlled strings, including transactions list, accounts list, payees list, categories list, tags list, category-groups list, rules list, schedules list, and query, can emit cells that auto-evaluate when the resulting CSV is opened in Excel, LibreOffice Calc, or Google Sheets, enabling data exfiltration and arbitrary formula execution. This issue is fixed in version 26.6.0."}],"affected":[{"vendor":"actualbudget","product":"actual","versions":[{"version":"< 26.6.0","status":"affected"}]}],"references":[{"url":"https://github.com/actualbudget/actual/security/advisories/GHSA-7gh7-258j-4mpq","name":"https://github.com/actualbudget/actual/security/advisories/GHSA-7gh7-258j-4mpq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/actualbudget/actual/pull/7859","name":"https://github.com/actualbudget/actual/pull/7859","tags":["x_refsource_MISC"]},{"url":"https://github.com/actualbudget/actual/commit/068185751c03b42e726e3c60b718413d5f96c306","name":"https://github.com/actualbudget/actual/commit/068185751c03b42e726e3c60b718413d5f96c306","tags":["x_refsource_MISC"]},{"url":"https://github.com/actualbudget/actual/releases/tag/v26.6.0","name":"https://github.com/actualbudget/actual/releases/tag/v26.6.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1236","lang":"en","description":"CWE-1236: Improper Neutralization of Formula Elements in a CSV File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-07T20:55:02.846Z"},"source":{"advisory":"GHSA-7gh7-258j-4mpq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/actualbudget/actual/security/advisories/GHSA-7gh7-258j-4mpq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-08T12:59:38.913676Z","id":"CVE-2026-46672","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-08T13:00:02.162Z"}}]}}}