{"id":"CVE-2026-40163","published":"2026-04-10T17:07:49Z","modified":"2026-04-15T14:50:01Z","title":"Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read","vendor":"saltcorn","product":"saltcorn","tier":"tail","description":{"text":"Saltcorn is an extensible, open source, no-code database application builder. Prior to 1.4.5, 1.5.5, and 1.6.0-beta.4, the POST /sync/offline_changes endpoint allows an unauthenticated attacker to create arbitrary directories and write a changes.json file with attacker-controlled JSON content anywhere on the server filesystem. The GET /sync/upload_finished endpoint allows an unauthenticated attacker to list arbitrary directory contents and read specific JSON files. This vulnerability is fixed in 1.4.5, 1.5.5, and 1.6.0-beta.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00447,"percentile":0.307,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":6.14},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"saltcorn","affectedVersions":[{"vendor":"saltcorn","product":"saltcorn","versions":["< 1.4.5",">= 1.5.0-beta.0, < 1.5.5",">= 1.6.0-alpha.0, < 1.6.0-beta.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-15T14:49:25.336831Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@saltcorn/server","vulnerableRanges":["<1.4.5",">=1.5.0-beta.0, <1.5.5",">=1.6.0-alpha.0, <1.6.0-beta.4"],"patched":["1.4.5","1.5.5","1.6.0-beta.4"],"from":["GHSA-32pv-mpqg-h292"],"provenance":"source"}],"summary":{"text":"Saltcorn, an open source no-code database application builder, contains a path traversal flaw in its sync endpoints (POST /sync/offline_changes and GET /sync/upload_finished) that lets requests reach outside the intended directory. An unauthenticated attacker over the network can create directories and write a changes.json file with attacker-controlled content anywhere on the server filesystem, and can list directory contents and read specific JSON files, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:08Z"},"euvd":{"id":"EUVD-2026-21517","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-47818","published":"2024-10-07","fixed":"1.0.0-beta.16","kev":false,"link":{"from":"CVE-2024-47818","to":"CVE-2026-40163","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@saltcorn/server","fromFixed":"1.0.0-beta.16","toFixed":"1.4.5","daysApart":550}]}},{"cve":"CVE-2026-40163","published":"2026-04-10","fixed":"1.6.0-beta.4","kev":false},{"cve":"CVE-2026-41478","published":"2026-04-24","fixed":"1.6.0-beta.5","kev":false,"link":{"from":"CVE-2026-40163","to":"CVE-2026-41478","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@saltcorn/server","fromFixed":"1.4.5","toFixed":"1.4.6","daysApart":14},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-42259","published":"2026-05-07","fixed":"1.6.0-beta.5","kev":false,"link":{"from":"CVE-2026-40163","to":"CVE-2026-42259","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@saltcorn/server","fromFixed":"1.4.5","toFixed":"1.4.6","daysApart":27},{"kind":"similar","provenance":"machine","score":0.29,"basis":"same product + description similarity"}]}}],"package":"npm:@saltcorn/server"}}