Vulnerability library
Security checkApril 10, 2026

Saltcorn has an Unauthenticated Path Traversal in sync endpoints, allowing arbitrary file write and directory read

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@saltcorn/server

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Two unauthenticated path traversal vulnerabilities exist in Saltcorn’s mobile sync endpoints. 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.

Recommendation

Update the @saltcorn/server package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 1.6.0-alpha.0, < 1.6.0-beta.4 >= 1.5.0-beta.0, < 1.5.5 < 1.4.5**
  • Patched version(s): **1.6.0-beta.4 1.5.5 1.4.5**

References

Could your website be exposed too?

SmartScanner can check your website for Saltcorn has an Unauthenticated Path Traversal in sync endpoints, allowing arbitrary file write and directory read and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 10, 2026