All vulnerabilities

Servers and applications

GHSA-xffx-jj33-p2px

Low-Priv Non-Admin to uid=0 Root RCE via v-update-user-backup-exclusions

Severity
Critical 9.9
Published
5 Aug 2026
Last changed
5 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.9.9
Weakness
CWE-73Code injection (CWE-94)Protection mechanism failure (CWE-693)
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:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

Any low-privilege non-admin (role=user, no admin flag) can obtain uid=0 root remote code execution with a single POST save to the Backup Exclusions page. The vulnerability exploits three compounding bugs: (1) PHP passes multi-line user input directly into a single-quoted shell-argument wrapped exclusion file. (2) is_file_valid regex in the backend binary fails to blacklist bash KEY=VALUE meta chars (=, /, :, embedded \n). (3) source_conf() uses declare -g with zero reserved-name filter on the KEY/left-hand side, allowing an attacker to overwrite bash globals such as PATH, IFS, PS4, BIN, HOMEDIR, etc. inside the uid=0 root shell invoked via the hestiaweb ALL=NOPASSWD:/usr/local/hestia/bin/* sudoers invariant.

Three bugs cause this vulnerability elaborated as follows :

File: hestiacp/src/web/edit/backup/exclusions/index.php

By HTTP spec a browser submits CRLF (\r\n), which line 64 converts to commas. However when attacker sends LF-only (\n only, byte 0x0A), PHP matches nothing and…

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.9

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