Skip to main content

Kirby CMS CVE-2026-54003

CRITICAL
External Initialization of Trusted Variables or Data Stores (CWE-454)
2026-06-18 https://github.com/getkirby/kirby GHSA-whxw-24jc-cwmv
Share

Severity by source

vuln.today AI
9.0 CRITICAL

Network-reachable installer, no auth or UI; AC:H reflects the required un-initialized state plus a proxy emitting one of three specific headers; admin takeover crosses the application trust scope to the host.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Estimated by vuln.today — no official severity rating has been published for this CVE yet.

Lifecycle Timeline

2
Source Code Evidence Fetched
Jun 18, 2026 - 15:54 vuln.today
Analysis Generated
Jun 18, 2026 - 15:54 vuln.today

DescriptionCVE.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-For or Client-IP header 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' => false option in config.php.

Credits

Thanks to Peter Levashov (@petersevera) for responsibly reporting the identified issue.

AnalysisAI

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

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Identify public Kirby site with un-initialized Panel
Delivery
Confirm reverse proxy injects Forwarded/X-Client-IP/X-Real-IP
Exploit
Submit crafted installation request creating admin user
Execution
Authenticate to Panel with attacker-chosen credentials
Persist
Upload PHP via Panel file/template editor
Impact
Execute webshell for full server compromise

Vulnerability AssessmentAI

Exploitation Four conjunctive prerequisites must hold: (1) the Kirby installation has zero existing user accounts so the installer endpoint is still active; (2) the site is publicly reachable; (3) it sits behind a reverse proxy; and (4) that proxy specifically sets the Forwarded: for=..., X-Client-IP, or X-Real-IP header - proxies that set X-Forwarded-For or Client-IP are NOT vulnerable. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment No CVSS vector was published by the vendor or NVD, so quantitative scoring must be inferred. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker scans the internet for Kirby sites returning the Panel installation page (indicating no admin account exists) and identifies one fronted by a reverse proxy such as a modern Caddy, Traefik, or Nginx variant that injects the RFC 7239 Forwarded header. The attacker sends an installation request to create an admin user; the proxy adds Forwarded: for=<attacker-ip>, but Kirby's isLocal check ignores that header and treats the request as local, accepting the new admin credentials. …
Remediation Vendor-released patch: upgrade to Kirby 4.9.4 (https://github.com/getkirby/kirby/releases/tag/4.9.4) or Kirby 5.4.4 (https://github.com/getkirby/kirby/releases/tag/5.4.4), which extend the isLocal check to parse Forwarded, X-Client-IP, and X-Real-IP. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Identify all Kirby CMS deployments, confirm affected versions (≤4.9.3 or 5.0.0-5.4.3), and verify reverse proxy header configuration (Forwarded, X-Client-IP, or X-Real-IP). …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

More in PHP

View all
CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2025-47916 CRITICAL POC
10.0 May 16

Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-24367 HIGH POC
8.7 Jan 27

Cacti monitoring platform prior to version 1.2.29 allows authenticated users to achieve remote code execution through th

CVE-2025-3102 HIGH POC
8.1 Apr 10

The SureTriggers WordPress plugin through version 1.0.78 contains an authentication bypass due to a missing empty value

CVE-2025-1661 CRITICAL POC
9.8 Mar 11

The HUSKY Products Filter Professional for WooCommerce plugin through version 1.3.6.5 contains a critical Local File Inc

CVE-2025-2563 HIGH POC
8.1 Apr 14

The User Registration & Membership WordPress plugin before version 4.1.2 fails to prevent users from setting their accou

CVE-2025-13486 CRITICAL POC
9.8 Dec 03

The Advanced Custom Fields: Extended plugin for WordPress is vulnerable to Remote Code Execution in versions 0.9.0.5 thr

CVE-2023-6933 HIGH POC
8.8 Feb 05

PHP Object Injection in the Better Search Replace WordPress plugin (versions up to and including 1.4.4) allows remote un

Share

CVE-2026-54003 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy