All vulnerabilities

Servers and applications

CVE-2026-84980

Systematic Second-Order Command Injection in Queue System Leading to Root RCE

Severity
High 8.8
Published
17 Jul 2026
Last changed
3 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.9.5
Weakness
Improper input validation (CWE-20)OS command injection (CWE-78)Argument injection (CWE-88)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-47mf-74xr-f8x9
Sources
Project advisories (GitHub)

Description

Summary

A second-order command injection vulnerability in the HestiaCP queue execution mechanism allows an authenticated attacker to execute arbitrary commands as root. The issue arises due to improper handling of shell-escaped input across multiple execution contexts (PHP → Bash → cron), resulting in full system compromise.

Details

HestiaCP uses a queue-based execution model where the web layer writes commands into .pipe files under:

$HESTIA/data/queue/

These files are later executed by a root-level cron job.

Vulnerable Flow

PHP Layer (Initial Sanitization) File: web/schedule/restore/index.php

$web = quoteshellarg($_GET["object"]); exec("v-schedule-user-restore ... $web");

Bash Layer (Re-quoting) File: bin/v-schedule-user-restore

options="'$web'" echo "$BIN/v-restore-user $user $backup $options" >> $HESTIA/data/queue/backup.pipe Cron Execution (Injection Trigger) The .pipe file is executed by /bin/sh Nested quotes break, allowing command injection Root Cause

From hestiacp/hestiacp's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Hestia Control PanelServers and applications · github:hestiacp/hestiacp
  • Every version before 1.9.5

About Hestia Control Panel

Hestia Control Panel | A lightweight and powerful control panel for the modern web.

From its GitHub repository.
GitHub stars
4,578GitHub, 15 Nov 2026
Forks
964GitHub, 15 Nov 2026
Latest release
1.10.7GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
GPL-3.0GitHub
First published on GitHub
7 Nov 2018GitHub

References