CVE-2024-47818
MEDIUM 6.5CVSS 3.1Saltcorn Server allows logged-in users to delete arbitrary files because of a path traversal vulnerability
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.
- Published
- 7 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-43f3-h63w-p6f6
- Sources
- NVDJSONOSV GHSA-43f3-h63w-p6f6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @saltcorn/server | < 1.0.0-beta.16 | 1.0.0-beta.16 |
References
- https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.15/packages/server/routes/sync.js#L337-L346 · WEB
- https://github.com/saltcorn/saltcorn/commit/3c551261d0e230635774798009951fa83a07cc3a · WEB
- https://github.com/saltcorn/saltcorn/security/advisories/GHSA-43f3-h63w-p6f6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-47818 · ADVISORY
- https://github.com/saltcorn/saltcorn · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 7 Oct 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Oct 2024)