All vulnerabilities

Servers and applications

GHSA-6fg7-f888-324j

API IP allowlist bypass via untrusted proxy headers

Severity
Medium 6.6
Published
14 Nov 2026
Last changed
14 Nov 2026
Added to UpHeron
14 Nov 2026
Fixed in
1.10.0
Weakness
Authentication bypass by spoofing (CWE-290)CWE-348
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

get_real_user_ip() in web/inc/helpers.php trusted proxy headers sent by any client (X-Forwarded-For, X-Client-IP, Client-IP, Forwarded, X-Forwarded, Forwarded-For and CF-Connecting-IP) without checking that the request actually came from a trusted reverse proxy.

An unauthenticated attacker could therefore make a request to the legacy API (/api/index.php) appear to originate from an address in the API_ALLOWED_IP allowlist, for example a DNS-cluster node that is allowed to use the API. The API accepted the request and ran the requested command as hestiaweb, which has passwordless sudo on /usr/local/hestia/bin/*, so the result is command execution as root.

This requires the API to be enabled and API_ALLOWED_IP to be a restricted list rather than allow-all. Installations with the API disabled, or with the panel port (8083) reachable only from trusted networks, are not exposed.

From hestiacp/hestiacp's security advisory.

Workarounds

Upgrade to 1.10.0 or later. If upgrading is not immediately possible, disable the API and/or restrict port 8083 at the firewall:

Workarounds as given by hestiacp/hestiacp's security advisory.

Affected software

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

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