# Saltcorn unsafe plugin installation via pack import

Source: https://junglewise.ai/threats/saltcorn-unsafe-plugin-installation-via-pack-import-4fd3865f  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-27. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2023-07-27

Saltcorn is a low-code web application platform that allows administrators to build and customize applications using plugins. A malicious tenant administrator can bypass plugin safety restrictions and install unsafe plugins through a pack import feature, potentially gaining access to data from other tenants within the same Saltcorn installation. This allows compromise of all tenant instances when an untrusted user has admin privileges.

Technologies: [Saltcorn](https://junglewise.ai/threats/technologies/saltcorn). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Saltcorn](https://junglewise.ai/threats/vendors/saltcorn).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 3.1, published 27 July 2023.

**Which products and versions are affected?** @saltcorn/cli (npm) SEMVER:introduced=0,fixed=0.8.8-beta.2; Saltcorn < 0.8.8.

**Is there a fix for This vulnerability?** Yes. @saltcorn/cli (npm): upgrade to 0.8.8-beta.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is This vulnerability attacked?** It is attacked over the network.

**Am I affected?** Check whether you run @saltcorn/cli (npm) or Saltcorn at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @saltcorn/cli (npm): upgrade to 0.8.8-beta.2 or later

  ```sh
  npm install @saltcorn/cli@0.8.8-beta.2
  ```


## Technical details

The vulnerability is a privilege escalation and security-control bypass in the plugin installation mechanism. The root cause is that the safety check for "unsafe" plugins (which may access system resources or other tenant data) is performed against a tenant-controlled store configuration rather than the root server's approved plugin list. An attacker with tenant admin privileges can add a custom plugin store URL, import unapproved unsafe plugins via pack import, and install them despite server-level restrictions. The vulnerability requires high privileges (tenant admin role) and no user interaction. An attacker can execute arbitrary plugin code to exfiltrate data from other tenants or disrupt availability. A fix was merged in PR #1973 to check against the root-level configuration instead of the tenant store.

## Affected products

- Saltcorn Saltcorn < 0.8.8

## Timeline

- 2023-07-27: disclosed
- 2023-09-06: patched: Fix merged in PR #1973

## References

- [https://github.com/saltcorn/saltcorn/security/advisories/GHSA-wxf3-4fvj-vqqx](https://github.com/saltcorn/saltcorn/security/advisories/GHSA-wxf3-4fvj-vqqx)
- [https://github.com/saltcorn/saltcorn/pull/1973](https://github.com/saltcorn/saltcorn/pull/1973)

## Related threats

- [Saltcorn: SQL Injection via Unparameterized Sync Endpoints (maxLoadedId)](https://junglewise.ai/threats/cve-2026-41478-saltcorn-sql-injection-via-unparameterized-sync-endpoints)
- [Saltcorn open redirect in login via backslash bypass](https://junglewise.ai/threats/cve-2026-42259-saltcorn-open-redirect-in-login-via-backslash-bypass)
- [Saltcorn @saltcorn/data SQL injection in jsexprToSQL Literal Handler](https://junglewise.ai/threats/saltcorn-saltcorn-data-sql-injection-in-jsexprtosql-literal-handler-bdaf86bc)
- [Saltcorn path traversal in mobile sync endpoints](https://junglewise.ai/threats/cve-2026-40163-saltcorn-path-traversal-in-mobile-sync-endpoints)
- [Saltcorn reflected XSS and command injection chaining for RCE](https://junglewise.ai/threats/saltcorn-reflected-xss-and-command-injection-chaining-for-rce-91ca3009)
