CVE-2026-54003: Kirby CMS: admin takeover via reverse proxy header bypass

GHSA-whxw-24jc-cwmv UNKNOWN
Published June 18, 2026
CISO Take

Kirby CMS versions prior to 4.9.4 and 5.4.4 allow any remote unauthenticated attacker to create the first admin user account on freshly deployed instances sitting behind a reverse proxy that sets `Forwarded:`, `X-Client-IP`, or `X-Real-IP` headers — the installation endpoint's `isLocal` check fails to evaluate these headers, incorrectly treating external requests as originating locally. The blast radius is highest for automated CI/CD and container-based deployments that spin up Kirby instances without immediately provisioning an admin account, leaving the installation endpoint exposed to the internet; 479 downstream dependents and 35 historical CVEs on this package (OpenSSF: 6.6/10) signal a systemic security hygiene concern worth escalating. Exploitation is trivial — a single crafted HTTP POST to the installation endpoint suffices, no credentials or specialized tooling required. Upgrade to Kirby 4.9.4 or 5.4.4 immediately; if patching is blocked, create an admin account now to deactivate the vulnerable code path, or disable the Panel and API entirely via `config.php`.

Sources: GitHub Advisory (GHSA-whxw-24jc-cwmv) NVD OpenSSF ATLAS

What is the risk?

Critical risk for any Kirby deployment that simultaneously (1) has no existing admin users, (2) runs behind a reverse proxy using `Forwarded:`, `X-Client-IP`, or `X-Real-IP` headers, and (3) is publicly accessible. The vulnerability is trivially exploitable with zero authentication barrier and no specialized knowledge required. Sites already configured with at least one admin account are completely unaffected, significantly narrowing but not eliminating the exposed population. Cloud-native and containerized deployments are disproportionately at risk, as ephemeral environments frequently start without seeded admin accounts. No public exploit or active exploitation reported at time of analysis, but the simplicity of the attack means weaponization is trivial.

How does the attack unfold?

Reconnaissance
Attacker scans for publicly accessible Kirby CMS instances rendering the installation screen, a reliable signal that no admin account exists and the installation endpoint is active.
AML.T0006
Initial Access
Attacker sends a crafted HTTP POST to the Kirby installation endpoint; the `isLocal` check fails to evaluate the `Forwarded:`, `X-Client-IP`, or `X-Real-IP` header set by the reverse proxy, incorrectly treating the external request as local.
AML.T0049
Privilege Escalation
Attacker creates the first admin user account on the Kirby installation, gaining full authenticated control over the Panel interface and REST API.
AML.T0012
Impact
Admin access enables malicious plugin or template upload for server-side code execution, content manipulation, credential harvesting, and lateral movement into connected AI/ML backend infrastructure.
AML.T0048

What systems are affected?

Package Ecosystem Vulnerable Range Patched
Panel composer <= 4.9.3 4.9.4
5.7K OpenSSF 6.9 499 dependents Pushed yesterday 63% patched ~16d to patch Full package profile →

Do you use Panel? You're affected.

How severe is it?

CVSS 3.1
N/A
EPSS
0.5%
chance of exploitation in 30 days
Higher than 43% of all CVEs
Exploitation Status
No known exploitation
Sophistication
Trivial

What should I do?

6 steps
  1. Immediate: Upgrade to Kirby 4.9.4 or 5.4.4 or a later release.

  2. If upgrade is blocked: create an admin account manually via local access to deactivate the vulnerable installation code path — once any account exists, the vulnerability is inert.

  3. Alternatively, disable both Panel and REST API with 'panel' => ['enabled' => false] and 'api' => false in config.php.

  4. Audit reverse proxy configurations to confirm which forwarding header is in use (Forwarded:, X-Client-IP, X-Real-IP) and verify patched versions correctly reject external IPs from all of them.

  5. Review web server access logs for unexpected POST requests to Panel installation endpoints (e.g., /panel/install) from external IPs as indicators of attempted exploitation.

  6. Enforce network-level access controls: Panel and API endpoints should not be publicly reachable unless operationally required.

What does CISA's SSVC say?

Decision Track
Exploitation none
Automatable Yes
Technical Impact partial

Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Article 15 - Accuracy, robustness and cybersecurity
ISO 42001
A.6.1.2 - Segregation of duties
NIST AI RMF
GOVERN 1.1 - Policies and procedures for AI risk

Frequently Asked Questions

What is CVE-2026-54003?

Kirby CMS versions prior to 4.9.4 and 5.4.4 allow any remote unauthenticated attacker to create the first admin user account on freshly deployed instances sitting behind a reverse proxy that sets `Forwarded:`, `X-Client-IP`, or `X-Real-IP` headers — the installation endpoint's `isLocal` check fails to evaluate these headers, incorrectly treating external requests as originating locally. The blast radius is highest for automated CI/CD and container-based deployments that spin up Kirby instances without immediately provisioning an admin account, leaving the installation endpoint exposed to the internet; 479 downstream dependents and 35 historical CVEs on this package (OpenSSF: 6.6/10) signal a systemic security hygiene concern worth escalating. Exploitation is trivial — a single crafted HTTP POST to the installation endpoint suffices, no credentials or specialized tooling required. Upgrade to Kirby 4.9.4 or 5.4.4 immediately; if patching is blocked, create an admin account now to deactivate the vulnerable code path, or disable the Panel and API entirely via `config.php`.

Is CVE-2026-54003 actively exploited?

No confirmed active exploitation of CVE-2026-54003 has been reported, but organizations should still patch proactively.

How to fix CVE-2026-54003?

1. Immediate: Upgrade to Kirby 4.9.4 or 5.4.4 or a later release. 2. If upgrade is blocked: create an admin account manually via local access to deactivate the vulnerable installation code path — once any account exists, the vulnerability is inert. 3. Alternatively, disable both Panel and REST API with `'panel' => ['enabled' => false]` and `'api' => false` in `config.php`. 4. Audit reverse proxy configurations to confirm which forwarding header is in use (`Forwarded:`, `X-Client-IP`, `X-Real-IP`) and verify patched versions correctly reject external IPs from all of them. 5. Review web server access logs for unexpected POST requests to Panel installation endpoints (e.g., `/panel/install`) from external IPs as indicators of attempted exploitation. 6. Enforce network-level access controls: Panel and API endpoints should not be publicly reachable unless operationally required.

What systems are affected by CVE-2026-54003?

This vulnerability affects the following AI/ML architecture patterns: ML documentation and content portals, AI compliance and governance dashboards, Dataset catalogue and annotation platforms, Content management backends for AI/ML projects, API-integrated ML data ingestion pipelines.

What is the CVSS score for CVE-2026-54003?

No CVSS score has been assigned yet.

What is the AI security impact?

Affected AI Architectures

ML documentation and content portalsAI compliance and governance dashboardsDataset catalogue and annotation platformsContent management backends for AI/ML projectsAPI-integrated ML data ingestion pipelines

MITRE ATLAS Techniques

AML.T0012 Valid Accounts
AML.T0021 Establish Accounts
AML.T0049 Exploit Public-Facing Application

Compliance Controls Affected

EU AI Act: Article 15
ISO 42001: A.6.1.2
NIST AI RMF: GOVERN 1.1

What are the technical details?

Original Advisory

Kirby is an open-source content management system. Prior to 4.9.4 and from 5.4.4, Kirby sites with no configured user accounts that run on publicly accessible servers behind a reverse proxy setting the Forwarded, X-Client-IP, or X-Real-IP request header could allow remote attackers to install the Panel and create the first admin user because local-IP checks trusted those headers incorrectly. This issue is fixed in versions 4.9.4 and 5.4.4.

Exploitation Scenario

An adversary running automated CMS fingerprinting sweeps (via Shodan, Censys, or custom HTTP probes) identifies a publicly accessible Kirby instance rendering an installation screen — a reliable signal that no admin account exists. The target sits behind a modern reverse proxy (nginx, Traefik, Caddy) configured to inject a `Forwarded: for=<external-IP>` header. The attacker sends a single POST request to the Kirby installation endpoint with chosen credentials; Kirby's `isLocal` check evaluates `X-Forwarded-For` (clean) but ignores the `Forwarded:` header, classifying the request as local and creating the attacker-controlled admin account. Within minutes, the attacker uploads a malicious Kirby plugin achieving server-side code execution, pivots to the database containing AI model metadata or compliance evidence packs, and establishes persistence before any defender detects the anomalous account creation.

Weaknesses (CWE)

CWE-454 — External Initialization of Trusted Variables or Data Stores: The product initializes critical internal variables or data stores using inputs that can be modified by untrusted actors.

  • [Implementation] A product system should be reluctant to trust variables that have been initialized outside of its trust boundary. Ensure adequate checking (e.g. input validation) is performed when relying on input from outside a trust boundary.
  • [Architecture and Design] Avoid any external control of variables. If necessary, restrict the variables that can be modified using an allowlist, and use a different namespace or naming convention if possible.

Source: MITRE CWE corpus.

Timeline

Published
June 18, 2026
Last Modified
July 10, 2026
First Seen
June 18, 2026

Related Vulnerabilities