Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture External initialization of trusted vars
|
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 09, 2026
External initialization in Kirby CMS (getkirby/cms <= 4.9.3 and 5.0.0-alpha.1 through 5.4.3) lets a remote unauthenticated attacker complete the Panel installation and create the first admin user on not-yet-installed sites. The flaw is a bypass of Kirby's isLocal safeguard: when a site sits behind a reverse proxy that emits the Forwarded: for=..., X-Client-IP, or X-Real-IP header, Kirby wrongly treats the forwarded external request as local and permits admin creation. No public exploit is identified at time of analysis and it is not in CISA KEV, but the vendor rates it critical (CVSS 4.0 base 9.1) and a full source fix is public.
Earlier versions of this analysis (2)
External initialization of the admin Panel in Kirby CMS (versions <= 4.9.3 and 5.0.0-alpha.1 through 5.4.3) lets a remote unauthenticated attacker create the first admin account on not-yet-installed sites. The flaw stems from the isLocal check failing to inspect the Forwarded: for=..., X-Client-IP, and X-Real-IP headers, so behind a reverse proxy that sets those headers Kirby mistakes an external request for a local one. No public exploit identified at time of analysis, but a CVSS 4.0 base score of 9.1 and full account takeover impact make this critical for exposed, uninstalled sites.
Unauthenticated admin account creation in Kirby CMS (versions ≤ 4.9.3 and 5.0.0-alpha.1 through 5.4.3) allows remote attackers to take over uninstalled Panel instances when the site sits behind a reverse proxy that uses the Forwarded, X-Client-IP, or X-Real-IP headers. The flaw is a flawed isLocal check that ignored these three headers, letting external requests masquerade as local during the one-time Panel installation flow. No public exploit identified at time of analysis, but the vendor advisory rates it critical for affected deployments.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when PHP 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Remote and unauthenticated (AV:N/PR:N/UI:N), but AC:H because exploitation needs an uninstalled site behind a proxy setting specific headers; admin creation yields full C/I, no direct availability impact.
Primary rating from Vendor (https://github.com/getkirby/kirby).
CVSS VectorVendor: https://github.com/getkirby/kirby
Lifecycle Timeline
3DescriptionCVE.org
TL;DR
This vulnerability affects Kirby sites that have no configured user accounts and are running on publicly accessible servers behind a reverse proxy that sets the Forwarded: for=..., X-Client-IP, or X-Real-IP request header.
It was possible to install the Panel (= create the first admin user) in these setups even from remote IP addresses.
This vulnerability is of critical severity for affected sites.
Your site is *not* affected if any of the following apply:
- An admin account has already been configured
- The Panel and API are disabled
- The site is not running behind a reverse proxy
- The reverse proxy sets the
X-Forwarded-FororClient-IPheader instead of the affected ones.
----
Introduction
External Initialization is a type of vulnerability that allows attackers to initialize a system or configuration value without authentication.
This can give untrusted actors access to the system or let them control its behavior.
Affected components
The Kirby Panel and REST API are authenticated by local user accounts. If a Kirby installation does not yet have any users, it first needs to be installed. During the installation process, an initial admin user account is created.
To protect against external initialization attacks that would allow untrusted actors to create an admin user for the Kirby installation, Kirby already checked whether the current request came from a local IP address. This allows installing the Panel in local development setups. Installation on remote servers was only supposed to be possible when the panel.install configuration option was enabled.
The isLocal check takes all relevant request headers into account and treats a request as non-local as soon as any checked request header contains an external IP address.
Impact
In affected releases, the isLocal check for the installation logic did not properly take the Forwarded: for=... header into account. This header is set by modern reverse proxy servers. It also did not take into account the X-Client-IP or X-Real-IP headers, which are set by some custom reverse proxy setups.
This caused Kirby to falsely assume that an installation request was local and allowed creating an admin account even though the reverse proxy forwarded the request from an external IP address.
Reverse proxies setting the X-Forwarded-For or Client-IP headers were *not* affected. These headers were already properly checked for external IP addresses.
Patches
The problem has been patched in Kirby 4.9.4 and Kirby 5.4.4. Please update to one of these or a later version to fix the vulnerability.
In all of the mentioned releases, we fixed the isLocal check to also properly take Forwarded: for=..., X-Client-IP and X-Real-IP request headers into account.
Workarounds
Sites on older Kirby versions (Kirby 3 starting at 3.7.0) can be protected with one of the following workarounds:
- Perform the Panel installation yourself by creating an initial admin account. As soon as one or more accounts are present, the vulnerable installation code is no longer active.
- If you don't need the Panel, disable the REST API with the
'api' => falseoption inconfig.php.
Credits
Thanks to Peter Levashov (@petersevera) for responsibly reporting the identified issue.
Executive ViewAI
Kirby CMS versions 4.9.3 and earlier, or 5.0.0-alpha.1 through 5.4.3, contain a critical flaw allowing remote unauthenticated attackers to create admin accounts on uninstalled sites. Although no public exploit code has been identified at time of analysis, the vulnerability directly enables complete administrative compromise before site deployment. Organizations using Kirby should prioritize immediate patching to eliminate this critical access vector.
Within 24 hours: Identify all Kirby CMS instances currently deployed and confirm their versions; immediately apply vendor patches to all affected versions. Within 7 days: Verify patch deployment across all instances and audit installation activity logs for evidence of unauthorized admin account creation. Within 30 days: Implement header validation controls on reverse proxies and establish ongoing monitoring for unauthorized panel installation access attempts.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-42666
GHSA-whxw-24jc-cwmv
NVD
CVE.org
EPSS
VulDB
Exploit-DB