Medium severity6.5OSV Advisory· Published Oct 7, 2024· Updated Jun 17, 2026
CVE-2024-47818
CVE-2024-47818
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@saltcorn/servernpm | < 1.0.0-beta.16 | 1.0.0-beta.16 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-43f3-h63w-p6f6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-47818ghsaADVISORY
- github.com/saltcorn/saltcorn/blob/v1.0.0-beta.15/packages/server/routes/sync.jsnvdWEB
- github.com/saltcorn/saltcorn/commit/3c551261d0e230635774798009951fa83a07cc3anvdWEB
- github.com/saltcorn/saltcorn/security/advisories/GHSA-43f3-h63w-p6f6nvdWEB
News mentions
0No linked articles in our index yet.