Arbitrary File Write and Directory Listing Vulnerability in Saltcorn by Saltcorn
CVE-2026-40163
8.2HIGH
What is CVE-2026-40163?
Saltcorn, a no-code database application builder, allows unauthenticated attackers to exploit the /sync/offline_changes endpoint, leading to arbitrary directory creation and the ability to write attacker-defined JSON content to the server's filesystem. Furthermore, the /sync/upload_finished endpoint enables these attackers to list directory contents and read specific JSON files. This poses significant security risks for the affected versions, which have been resolved in updates 1.4.5, 1.5.5, and 1.6.0-beta.4.
Affected Version(s)
saltcorn < 1.4.5 < 1.4.5
saltcorn >= 1.5.0-beta.0, < 1.5.5 < 1.5.0-beta.0, 1.5.5
saltcorn >= 1.6.0-alpha.0, < 1.6.0-beta.4 < 1.6.0-alpha.0, 1.6.0-beta.4
