Description
Saltcorn is an extensible, open source, no-code database application builder. A logged-in user with any role can delete arbitrary files on the filesystem by calling the `sync/clean_sync_dir` endpoint. The `dir_name` POST parameter is not validated/sanitized and is used to construct the `syncDir` that is deleted by calling `fs.rm`. This issue has been addressed in release version 1.0.0-beta16 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
References (3)
Core 3
Core References
Various Sources x_refsource_misc
https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.15/packages/server/routes/sync.js#L337-L346
Vendor Advisory x_refsource_confirm
https://github.com/saltcorn/saltcorn/security/advisories/GHSA-43f3-h63w-p6f6
Scores
CVSS v3
6.5
EPSS
0.0021
EPSS Percentile
42.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
saltcorn/saltcorn
< 1.0.0-beta.16
saltcorn/server
0 - 1.0.0-beta.16npm
Published
Oct 07, 2024
Tracked Since
Feb 18, 2026