CVE-2026-40163
Received
Received - Intake
Directory Traversal and Arbitrary File Write in Saltcorn Sync Endpoints
Publication date: 2026-04-10
Last updated on: 2026-04-27
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | 1.6.0 |
| saltcorn | saltcorn | to 1.4.5 (exc) |
| saltcorn | saltcorn | From 1.5.0 (inc) to 1.5.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |