# CVE-2026-40163: Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-10T17:07:49.067Z
- Modified: 2026-06-17T10:44:47.933Z
- Also known as: GHSA-32pv-mpqg-h292
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- saltcorn saltcorn: < 1.4.5; >= 1.5.0-beta.0, < 1.5.5; >= 1.6.0-alpha.0, < 1.6.0-beta.4; before 1.4.5; from 1.5.0 before 1.5.5; 1.6.0
- @saltcorn/server (npm): before 1.4.5; from 1.5.0-beta.0 before 1.5.5; from 1.6.0-alpha.0 before 1.6.0-beta.4

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40163> (advisory)
- <https://github.com/saltcorn/saltcorn> (package)

## Sources

- CVE List: [CVE-2026-40163](https://www.cve.org/CVERecord?id=CVE-2026-40163), CVE Terms of Use, modified 2026-04-15
- GitHub Advisory Database: [GHSA-32pv-mpqg-h292](https://github.com/advisories/GHSA-32pv-mpqg-h292), CC-BY-4.0, modified 2026-04-10
- NVD: [CVE-2026-40163](https://nvd.nist.gov/vuln/detail/CVE-2026-40163), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40163 · Whole record: https://cve.day/CVE-2026-40163.json · Rebuilt by cve.day 2026-11-25T22:59:18.536Z
