CVE-2026-40163 Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read
HighCVSS 8.2
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| saltcorn | < 1.4.5; = 1.6.0-alpha0; = 1.6.0-alpha1; = 1.6.0-alpha2 +22 more | 1.4.5, 1.5.5 | Fixed |
| saltcorn @saltcorn/server(npm) | < 1.4.5; >= 1.5.0-beta.0, < 1.5.5; >= 1.6.0-alpha.0, < 1.6.0-beta.4 | 1.4.5, 1.5.5, 1.6.0-beta.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| saltcorn | = < 1.4.5 | No fix listed |
| saltcorn | = >= 1.5.0-beta.0, < 1.5.5 | No fix listed |
| saltcorn | = >= 1.6.0-alpha.0, < 1.6.0-beta.4 | No fix listed |
| saltcorn @saltcorn/server(npm) | < 1.4.5 | 1.4.5 |
| saltcorn @saltcorn/server(npm) | >= 1.5.0-beta.0, < 1.5.5 | 1.5.5 |
| saltcorn @saltcorn/server(npm) | >= 1.6.0-alpha.0, < 1.6.0-beta.4 | 1.6.0-beta.4 |
| saltcorn | < 1.4.5 | 1.4.5 |
| saltcorn | >= 1.5.0, < 1.5.5 | 1.5.5 |
| saltcorn | = 1.6.0-alpha0 | No fix listed |
| saltcorn | = 1.6.0-alpha1 | No fix listed |
| saltcorn | = 1.6.0-alpha10 | No fix listed |
| saltcorn | = 1.6.0-alpha11 | No fix listed |
| saltcorn | = 1.6.0-alpha12 | No fix listed |
| saltcorn | = 1.6.0-alpha13 | No fix listed |
| saltcorn | = 1.6.0-alpha14 | No fix listed |
| saltcorn | = 1.6.0-alpha15 | No fix listed |
| saltcorn | = 1.6.0-alpha16 | No fix listed |
| saltcorn | = 1.6.0-alpha17 | No fix listed |
| saltcorn | = 1.6.0-alpha2 | No fix listed |
| saltcorn | = 1.6.0-alpha3 | No fix listed |
| saltcorn | = 1.6.0-alpha4 | No fix listed |
| saltcorn | = 1.6.0-alpha5 | No fix listed |
| saltcorn | = 1.6.0-alpha6 | No fix listed |
| saltcorn | = 1.6.0-alpha7 | No fix listed |
| saltcorn | = 1.6.0-alpha8 | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| saltcorn | = 1.6.0-alpha9 | No fix listed |
| saltcorn | = 1.6.0-beta1 | No fix listed |
| saltcorn | = 1.6.0-beta2 | No fix listed |
| saltcorn | = 1.6.0-beta3 | No fix listed |
References
- https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292 exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product