CVE-2026-40163

Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read

State
Published
Severity
8.2 High
Published
Apr 10, 2026
Updated
Apr 15, 2026
Reserved
Apr 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
saltcornsaltcorn
  • < 1.4.5Affected
  • >= 1.5.0-beta.0, < 1.5.5Affected
  • >= 1.6.0-alpha.0, < 1.6.0-beta.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.