Vulnerability · Published Apr 10, 2026 · Assigned by GitHub_M
CVE-2026-40163Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read
High 8.2
In plain English
A high-severity path traversal in saltcorn from saltcorn. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @saltcorn/server | 1.4.5 | GHSA-32pv-mpqg-h292 |
| npm | @saltcorn/server | 1.5.5 | GHSA-32pv-mpqg-h292 |
| npm | @saltcorn/server | 1.6.0-beta.4 | GHSA-32pv-mpqg-h292 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
References
- https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292 x_refsource_CONFIRM