p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de @saltcorn/server

Vulnérabilité publiée pour @saltcorn/server au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 9

  1. CVE-2026-42259

    Moyenne · CVSS 5.1EPSS 0,34%Correctif disponible

    Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass)

    Saltcorn is an extensible, open source, no-code database application builder. Prior to versions 1.4.6, 1.5.6, and 1.6.0-beta.5, Saltcorn validates the post-login dest parameter with a string check that only blocks :/ and //. Because all WHATWG-compliant browsers normalise backslashes (\) to forward slashes (/) for special schemes, a payload such as /\evil.com/path slips through is_relative_url(), is emitted unchanged in the HTTP Location header, and causes the browser to navigate cross-origin to an attacker-controlled domain. The bug is reachable on a default install and only requires a victim who can be tricked into logging in via a crafted

    • Mettez à jour vers 1.4.6
    • Mettez à jour vers 1.5.6
    • Mettez à jour vers 1.6.0-beta.5
    Publication Mise à jour
  2. CVE-2026-41478

    Critique · CVSS 10EPSS 0,26%Correctif disponible

    Saltcorn: SQL Injection via Unparameterized Sync Endpoints (maxLoadedId)

    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.

    • Mettez à jour vers 1.4.6
    • Mettez à jour vers 1.5.6
    • Mettez à jour vers 1.6.0-beta.5
    Publication Mise à jour
  3. CVE-2026-40163

    Élevée · CVSS 8.2EPSS 0,33%Correctif disponible

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

    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.

    • Mettez à jour vers 1.4.5
    • Mettez à jour vers 1.5.5
    • Mettez à jour vers 1.6.0-beta.4
    Publication Mise à jour
  4. GHSA-cr3w-cw5w-h3fj

    Critique · CVSS 9.6Correctif disponible

    Saltcorn's Reflected XSS and Command Injection vulnerabilities can be chained for 1-click-RCE

    ### Summary 1. There is a reflected XSS vulnerability in the GET /admin/edit-codepage/:name route through the name parameter. This can be used to hijack the session of an admin if they click a specially crafted link. 2. Additionally, there is a Command Injection vulnerability in GET /admin/backup. The admin can inject a shell command in the backup password which is inserted in the command used to create the backup zip. Both vulnerabilities can be chained to craft a malicious link which will execute an arbitrary shell command on the server if it is clicked by a saltcorn admin with an active session. I believe iframes could also be used to ex

    • Mettez à jour vers 1.5.0-beta.19
    Publication Mise à jour
  5. CVE-2024-47818

    Moyenne · CVSS 6.5EPSS 0,78%Correctif disponible

    Logged-in users with any role can delete arbitrary files in @saltcorn/server

    Saltcorn is an extensible, open source, no-code database application builder. A logged-in user with any role can delete arbitrary files on the filesystem by calling the `sync/clean_sync_dir` endpoint. The `dir_name` POST parameter is not validated/sanitized and is used to construct the `syncDir` that is deleted by calling `fs.rm`. This issue has been addressed in release version 1.0.0-beta16 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Mettez à jour vers 1.0.0-beta.16
    Publication Mise à jour
  6. GHSA-pf56-h9qf-rxq4

    Moyenne · CVSS 6.1Correctif disponible

    Saltcorn Server Stored Cross-Site Scripting (XSS) in event logs page

    ### Summary Event log data is not properly sanitized leading to stored Cross-Site Scripting (XSS) vulnerability. ### Details - file: https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.13/packages/server/routes/eventlog.js#L445 ```js router.get( "/:id", isAdmin, error_catcher(async (req, res) => { const { id } = req.params; const ev = await EventLog.findOneWithUser(id); send_events_page({ [...] contents: { type: "card", contents: [...] ) + div( { class: "eventpayload" }, ev.payload ? pre(JSON.stringify(ev.payload, null, 2)) : "" //<---

    • Mettez à jour vers 1.0.0-beta.16
    Publication Mise à jour
  7. GHSA-78p3-fwcq-62c2

    Élevée · CVSS 8.6Correctif disponible

    @saltcorn/server Remote Code Execution (RCE) / SQL injection via prototype pollution by manipulating `lang` and `defstring` parameters when setting localizer strings

    ### Summary The endpoint `/site-structure/localizer/save-string/:lang/:defstring` accepts two parameter values: `lang` and `defstring`. These values are used in an unsafe way to set the keys and value of the `cfgStrings` object. It allows to add/modify properties of the `Object prototype` that result in several logic issues, including: - RCE vulnerabilities by polluting the `tempRootFolder` property - SQL injection vulnerabilities by polluting the `schema` property when using `PostgreSQL` database. ### Details - file: https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.13/packages/server/routes/infoarch.js#L236-L239 ```js router.post(

    • Mettez à jour vers 1.0.0-beta.14
    Publication Mise à jour
  8. GHSA-cfqx-f43m-vfh7

    Moyenne · CVSS 6.9Correctif disponible

    @saltcorn/server arbitrary file and directory listing when accessing build mobile app results

    ### Summary A user with admin permission can read arbitrary file and directory names on the filesystem by calling the `admin/build-mobile-app/result?build_dir_name=` endpoint. The `build_dir_name` parameter is not properly validated and it's then used to construct the `buildDir` that is read. The file/directory names under the `buildDir` will be returned. ### Details - file: https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.13/packages/server/routes/admin.js#L2884-L2893 ```js router.get( "/build-mobile-app/result", isAdmin, error_catcher(async (req, res) => { const { build_dir_name } = req.query; // [1] source const ro

    • Mettez à jour vers 1.0.0-beta.14
    Publication Mise à jour
  9. GHSA-277h-px4m-62q8

    Moyenne · CVSS 5.9Correctif disponible

    @saltcorn/server arbitrary file zip read and download when downloading auto backups

    ### Summary A user with admin permission can read and download arbitrary zip files when downloading auto backups. The file name used to identify the zip file is not properly sanitized when passed to `res.download` API. ### Details - file: https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.13/packages/server/routes/admin.js#L671-L682 ```js router.get( "/auto-backup-download/:filename", isAdmin, error_catcher(async (req, res) => { const { filename } = req.params; // [1] source [...] if ( !isRoot || !(filename.startsWith(backup_file_prefix) && filename.endsWith(".zip")) // [2] ) { res.redirect("/adm

    • Mettez à jour vers 1.0.0-beta.14
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →