cve.bz

CVE-2026-40163 saltcorn saltcorn: Path traversal

8.2 highExploit referenceEPSS 0.3%Fix available

High (8.2) in saltcorn saltcorn. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in @saltcorn/server 1.4.5, 1.5.5, 1.6.0-beta.4.

On this page
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.

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40163 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40163?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40163?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40163 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
saltcorn:saltcornbefore 1.4.5
saltcorn:saltcornfrom 1.5.0 before 1.5.5
saltcorn:saltcorn1.6.0:alpha0
saltcorn:saltcorn1.6.0:alpha1
saltcorn:saltcorn1.6.0:alpha10
saltcorn:saltcorn1.6.0:alpha11
saltcorn:saltcorn1.6.0:alpha12
saltcorn:saltcorn1.6.0:alpha13
saltcorn:saltcorn1.6.0:alpha14
saltcorn:saltcorn1.6.0:alpha15
saltcorn:saltcorn1.6.0:alpha16
saltcorn:saltcorn1.6.0:alpha17
saltcorn:saltcorn1.6.0:alpha2
saltcorn:saltcorn1.6.0:alpha3
saltcorn:saltcorn1.6.0:alpha4
saltcorn:saltcorn1.6.0:alpha5
saltcorn:saltcorn1.6.0:alpha6
saltcorn:saltcorn1.6.0:alpha7
saltcorn:saltcorn1.6.0:alpha8
saltcorn:saltcorn1.6.0:alpha9
saltcorn:saltcorn1.6.0:beta1
saltcorn:saltcorn1.6.0:beta2
saltcorn:saltcorn1.6.0:beta3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-32pv-mpqg-h292npm@saltcorn/server<1.4.51.4.5
GHSA-32pv-mpqg-h292npm@saltcorn/server>=1.5.0-beta.0 <1.5.51.5.5
GHSA-32pv-mpqg-h292npm@saltcorn/server>=1.6.0-alpha.0 <1.6.0-beta.41.6.0-beta.4

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON