CVE-2026-54003: Kirby CMS: admin takeover via reverse proxy header bypass
GHSA-whxw-24jc-cwmv UNKNOWNKirby 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`.
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?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Panel | composer | <= 4.9.3 | 4.9.4 |
Do you use Panel? You're affected.
How severe is it?
What should I do?
6 steps-
Immediate: Upgrade to Kirby 4.9.4 or 5.4.4 or a later release.
-
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.
-
Alternatively, disable both Panel and REST API with
'panel' => ['enabled' => false]and'api' => falseinconfig.php. -
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. -
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. -
Enforce network-level access controls: Panel and API endpoints should not be publicly reachable unless operationally required.
What does CISA's SSVC say?
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:
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
MITRE ATLAS Techniques
AML.T0012 Valid Accounts AML.T0021 Establish Accounts AML.T0049 Exploit Public-Facing Application Compliance Controls Affected
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
Primary
CWE-454 External Initialization of Trusted Variables or Data Stores
Primary
CWE-454 External Initialization of Trusted Variables or Data Stores 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.
References
- github.com/advisories/GHSA-whxw-24jc-cwmv
- github.com/getkirby/kirby/releases/tag/4.9.4
- github.com/getkirby/kirby/releases/tag/5.4.4
- github.com/getkirby/kirby/security/advisories/GHSA-whxw-24jc-cwmv
- github.com/getkirby/kirby/commit/1c7fee90e49153cf9ca4a6ec17481d25fbedc48d
- github.com/getkirby/kirby/commit/3423f66c01dbc0455862e23ee699d2aa469f3234
- github.com/getkirby/kirby/commit/66a3a14bf0892d320723ba766cd5f1d33a51d15b
- github.com/getkirby/kirby/commit/ab992dc149610b90e337c2955ab6ccb7f72ffb3a
- github.com/getkirby/kirby/pull/8166
Timeline
Related Vulnerabilities
CVE-2024-13152 10.0 Mobuy Panel: SQLi allows unauthenticated DB takeover
Same package: panel CVE-2026-52855 9.9 Pterodactyl Wings: egg template leaks daemon secrets
Same package: panel CVE-2026-54158 9.9 SiYuan: XSS→RCE via workspace sync in Electron app
Same package: panel CVE-2026-47744 9.9 Shopper: RBAC bypass allows full admin takeover
Same package: panel CVE-2024-13147 9.8 B2B Login Panel: SQLi enables unauthenticated DB access
Same package: panel