All vulnerabilities

Servers and applications

CVE-2026-84983

HestiaCP 1.9.6 < — SQL Injection in Database Password (CWE-89)

Severity
High 8.8
Published
17 Jul 2026
Last changed
3 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.9.7
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-8w7m-g9c2-9q9p
Sources
Project advisories (GitHub)

Description

Severity: HIGH — CVSS 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

Summary

HestiaCP builds MySQL/PostgreSQL management queries by embedding the user-supplied database password directly into SQL string literals without any escaping. A user who can create or change a database password can inject arbitrary SQL statements that execute with the server's MySQL/PostgreSQL admin credentials.

Root Cause

func/db.sh constructs queries like:

CREATE USER user_db@% IDENTIFIED BY ''

The password value is embedded verbatim inside a single-quoted SQL string. No escaping is applied anywhere in the data flow.

The PHP layer intentionally writes the password to a temp file (to avoid shell-quoting issues) and passes the file path to the bash script. is_password_valid() in bash reads the file content but performs no character validation — it only checks that the password is at least 6 characters.

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

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