{"id":"CVE-2024-47818","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-47818","generatedAt":"2026-10-28T03:27:59.538Z","title":"A logged-in user with any role can delete arbitrary files on the filesystem by calling the `sync/clean_sync_dir` endpoint.","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.","published":"2024-10-07T22:15:04.000Z","lastModified":"2026-06-17T07:57:49.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-22"],"affected":[],"epss":{"score":0.00783,"percentile":0.55745,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.78%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.15/packages/server/routes/sync.js#L337-L346","source":"security-advisories@github.com"},{"url":"https://github.com/saltcorn/saltcorn/commit/3c551261d0e230635774798009951fa83a07cc3a","source":"security-advisories@github.com"},{"url":"https://github.com/saltcorn/saltcorn/security/advisories/GHSA-43f3-h63w-p6f6","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-47818","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}