{"id":"CVE-2026-40163","state":"PUBLISHED","title":"Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read","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.","publishedAt":"2026-04-10T17:07:49.067Z","updatedAt":"2026-04-15T14:50:01.616Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["saltcorn saltcorn"],"affected":[{"vendor":"saltcorn","product":"saltcorn","versions":[{"version":"< 1.4.5","status":"affected"},{"version":">= 1.5.0-beta.0, < 1.5.5","status":"affected"},{"version":">= 1.6.0-alpha.0, < 1.6.0-beta.4","status":"affected"}]}],"references":["https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40163.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40163","state":"PUBLISHED","datePublished":"2026-04-10T17:07:49.067Z","dateUpdated":"2026-04-15T14:50:01.616Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-09T19:31:56.014Z"},"containers":{"cna":{"title":"Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"saltcorn","product":"saltcorn","versions":[{"version":"< 1.4.5","status":"affected"},{"version":">= 1.5.0-beta.0, < 1.5.5","status":"affected"},{"version":">= 1.6.0-alpha.0, < 1.6.0-beta.4","status":"affected"}]}],"references":[{"url":"https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292","name":"https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-10T17:07:49.067Z"},"source":{"advisory":"GHSA-32pv-mpqg-h292","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-15T14:49:25.336831Z","id":"CVE-2026-40163","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-15T14:50:01.616Z"}}]}}}