Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @saltcorn/data
  4. ›
  5. GHSA-9237-rg5p-rhfw

GHSA-9237-rg5p-rhfw: @saltcorn/data: Tenant user role is used for tenant creation role check

April 22, 2026

When a tenant admin is logged out of the root domain (e.g., saltcorn.com) but logged in to their own tenant space as admin, they can simply append /tenant/create to their tenant URL. The system reads the role from the tenant context (admin), and a new tenant is created on the root domain (in PUBLIC SCHEMA > _sc_tenants), rather than in the tenant’s own _sc_tenants table.

If the same logic applies to other routes, a tenant admin effectively gains admin rights on the root domain.

References

  • github.com/advisories/GHSA-9237-rg5p-rhfw
  • github.com/saltcorn/saltcorn/security/advisories/GHSA-9237-rg5p-rhfw

Code Behaviors & Features

Detect and mitigate GHSA-9237-rg5p-rhfw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.4, all versions starting from 1.5.0-beta.0 before 1.5.2, all versions starting from 1.6.0-alpha.0 before 1.6.0-beta.2

Fixed versions

  • 1.4.4
  • 1.5.2
  • 1.6.0-beta.2

Solution

Upgrade to versions 1.4.4, 1.5.2, 1.6.0-beta.2 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

npm/@saltcorn/data/GHSA-9237-rg5p-rhfw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.