Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege authenticated account
-
DeliverySend crafted POST to /sync/load_changes
-
ExploitInject SQL via maxLoadedId sync parameter
-
ExecutionBreak out of intended query
-
PersistExecute arbitrary SQL in app DB
-
ImpactExfiltrate users, hashes and secrets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Saltcorn account with read access to at least one table (PR:L), reachable over the network with no user interaction. The exact trigger is supplying an attacker-controlled value in the request body of POST /sync/load_changes or POST /sync/deletes - specifically the syncInfos[tableName].maxLoadedId field (and timestamp-derived fields used by getDelRows) - which is interpolated into SQL without parameterization or numeric validation. Limiting factors: the mobile-sync routes must be reachable and an attacker must hold valid low-privilege credentials, so instances that disable self-registration and restrict sync endpoints materially raise the bar; no admin rights and no special non-default configuration are otherwise needed. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, score 9.9) reflects a network-reachable, low-complexity attack requiring only low privileges and no user interaction, with total impact and a scope change - consistent with SSVC's Technical Impact of 'total'. Counterbalancing signals matter: EPSS is only 0.03% (9th percentile), SSVC marks Automatable 'no', and the CVE is not on CISA KEV, so there is no evidence of active exploitation despite a public PoC. The realistic risk is therefore high-but-conditional: exploitation is straightforward for anyone who already holds a valid low-privilege account with read access to at least one table, but it is not an unauthenticated internet-spray issue, which explains the low EPSS. The PR:L requirement is the key limiter - this is most dangerous for multi-tenant or publicly-registerable Saltcorn instances where obtaining a low-privilege account is trivial. Note the assessor's scope choice (S:C) is debatable since the injection stays within the app's own database authorization context; a case can be made for S:U, which would lower the base score. |
| Exploit ScenarioDerived | A low-privilege user (or an attacker who self-registers on an open Saltcorn instance) authenticates, then sends a crafted POST to /sync/load_changes placing a malicious SQL expression in a syncInfos[table].maxLoadedId field, which is interpolated unparameterized into the backend query. Because attack complexity is low and no user interaction is needed, the attacker uses UNION/subquery techniques to dump the users table and configuration secrets, including admin password hashes; a working PoC demonstrating record and schema extraction is described in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
SQL injection in Saltcorn's mobile-sync routes lets any authenticated low-privilege user with read access to a single table inject arbitrary SQL via the POST /sync/load_changes and POST /sync/deletes endpoints, enabling full database exfiltration of admin password hashes and configuration secrets and potentially data modification or destruction. It affects Saltcorn releases before 1.4.6, before 1.5.6, and before 1.6.0-beta.5. Publicly available exploit code exists (the GHSA advisory documents a working PoC and SSVC rates exploitation as 'poc'), though EPSS probability is very low at 0.03%.
RemediationAI
Vendor-released patch: upgrade to Saltcorn 1.4.6, 1.5.6, or 1.6.0-beta.5, whichever matches your release line (per the vendor advisory GHSA-jp74-mfrx-3qvh, https://github.com/saltcorn/saltcorn/security/advisories/GHSA-jp74-mfrx-3qvh, where the sync parameters are properly bound/validated). Until patching, reduce exposure by restricting or disabling the mobile-sync feature and blocking or access-controlling the POST /sync/load_changes and POST /sync/deletes routes at a reverse proxy (trade-off: mobile app synchronization will stop working); tighten account provisioning by disabling self-registration and auditing low-privilege accounts, since any authenticated user with read access to one table can exploit this; and if using PostgreSQL, ensure the application database role has least privilege (no unnecessary write/DDL rights) to limit the modification/destruction impact, accepting that this does not stop confidentiality loss. Do not rely on db.sqlsanitize() as a mitigation - it protects identifiers, not injected values.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Saltcorn is an extensible open-source no-code database application builder (npm package @saltcorn/server) that ships a mobile synchronization feature. The flaw is a classic CWE-89 SQL Injection: in packages/server/routes/sync.js, user-controlled request-body values are interpolated directly into SQL template literals rather than passed as bound parameters. Specifically, req.body.syncInfos[tableName].maxLoadedId is concatenated into query fragments in getSyncRows() (e.g. data_tbl."<pk>" > ${syncInfo.maxLoadedId} and info_tbl.ref > ${syncInfo.maxLoadedId}), and timestamp-derived request values are similarly interpolated in getDelRows(). The code applies db.sqlsanitize() only to identifiers such as the primary-key name, which does not sanitize interpolated values, and performs no parseInt()/numeric validation or prepared-statement binding before concatenation, allowing an attacker to break out of the intended query and execute arbitrary SQL in the application database context.
Know when Saltcorn gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable, low-complexity injection needing only a low-privilege authenticated account (PR:L); total DB impact, but injection stays within the app's own database scope (S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
Saltcorn is an extensible, open source, no-code database application builder. Prior to 1.4.6, 1.5.6, and 1.6.0-beta.5, a SQL injection vulnerability in Saltcorn’s mobile-sync routes allows any authenticated low-privilege user with read access to at least one table to inject arbitrary SQL through sync parameters. This can lead to full database exfiltration, including admin password hashes and configuration secrets, and may also enable database modification or destruction depending on the backend. This vulnerability is fixed in 1.4.6, 1.5.6, and 1.6.0-beta.5.
Blast Radius
ecosystem impact- 2 npm packages depend on @saltcorn/server (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.5.0-beta.0.
Executive ViewAI
A critical SQL injection vulnerability in Saltcorn's mobile-sync API allows authenticated users with minimal privileges to extract administrator credentials and configuration secrets from the database. The vulnerability affects Saltcorn versions 1.4.x through 1.5.x and early 1.6.0 beta releases, exposing sensitive authentication material across any organization using these versions.
Apply vendor patch. If immediate patching is delayed, restrict network access to the /sync/load_changes and /sync/deletes endpoints and monitor database query logs for SQL injection patterns from authenticated accounts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Path traversal in Saltcorn's mobile sync endpoints enables remote unauthenticated attackers to write arbitrary JSON file
Open redirect in Saltcorn's post-login destination parameter validation allows attackers to redirect authenticated users
EUVD-2026-25633
GHSA-jp74-mfrx-3qvh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB