{"cve":"CVE-2026-40163","nvd":{"published":"2026-04-10T18:16:46.233","modified":"2026-06-17T10:44:47.933","status":"Analyzed","description":"Saltcorn is an extensible, open source, no-code database application builder. Prior to 1.4.5, 1.5.5, and 1.6.0-beta.4, the POST /sync/offline_changes endpoint allows an unauthenticated attacker to create arbitrary directories and write a changes.json file with attacker-controlled JSON content anywhere on the server filesystem. The GET /sync/upload_finished endpoint allows an unauthenticated attacker to list arbitrary directory contents and read specific JSON files. This vulnerability is fixed in 1.4.5, 1.5.5, and 1.6.0-beta.4.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","score":8.2},"cwes":["CWE-22"],"references":["https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292"],"products":["saltcorn:saltcorn"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-40163","score":0.00333,"percentile":0.26717,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-32pv-mpqg-h292","url":"https://osv.dev/vulnerability/GHSA-32pv-mpqg-h292","summary":"Saltcorn has an Unauthenticated Path Traversal in sync endpoints, allowing arbitrary file write and directory read","modified":"2026-04-10T19:56:21.826357Z","packages":[{"ecosystem":"npm","name":"@saltcorn/server","purl":"pkg:npm/%40saltcorn/server","ranges":["<1.4.5"],"fixed":["1.4.5"]},{"ecosystem":"npm","name":"@saltcorn/server","purl":"pkg:npm/%40saltcorn/server","ranges":[">=1.5.0-beta.0 <1.5.5"],"fixed":["1.5.5"]},{"ecosystem":"npm","name":"@saltcorn/server","purl":"pkg:npm/%40saltcorn/server","ranges":[">=1.6.0-alpha.0 <1.6.0-beta.4"],"fixed":["1.6.0-beta.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}