CVE-2026-40163: Saltcorn - Unrestricted File Upload & Information Disclosure
- Cve: CVE-2026-40163
- Name: Saltcorn - Unrestricted File Upload & Information Disclosure
- 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.
- Impact: Unauthenticated attackers can create directories, write arbitrary files, and read sensitive JSON files on the server, leading to full file system compromise and data disclosure.
- Remediation: Upgrade to versions 1.4.5, 1.5.5, or 1.6.0-beta.4 or later.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write, file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- Epss score: 0.00339
- Epss percentile: 0.27888
- Assignee: [email protected]
- Published at: 2026-04-10T18:16:46Z
- Age in days: 228
- Modified at: 2026-06-17T10:44:47Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40163
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292 | nvd | 2026-04-10 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292 | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| saltcorn:saltcorn | = 1.6.0 alpha17; = 1.6.0 alpha16; = 1.6.0 alpha15; = 1.6.0 alpha14; = 1.6.0 alpha13; = 1.6.0 alpha12; = 1.6.0 alpha11; = 1.6.0 alpha10; = 1.6.0 alpha9; = 1.6.0 alpha8; = 1.6.0 alpha7; = 1.6.0 alpha6; = 1.6.0 alpha5; = 1.6.0 alpha4; = 1.6.0 alpha3; = 1.6.0 beta3; = 1.6.0 alpha2; = 1.6.0 beta2; = 1.6.0 alpha0; = 1.6.0 alpha1; = 1.6.0 beta1; >= 1.5.0, < 1.5.5; < 1.4.5 | no | nvd | /v1/products/saltcorn/saltcorn |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| saltcorn/saltcorn | package, security_advisory | yes | /v1/repositories/saltcorn/saltcorn |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-10
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts