Skip to main content

Kirby CMS CVE-2026-44174

HIGH
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470)
2026-05-26 https://github.com/getkirby/kirby GHSA-86rh-h242-j8xp
8.7
CVSS 4.0 · Vendor: https://github.com/getkirby/kirby
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Panel with low-privilege account
  2. Delivery
    Send API collection query naming internal method
  3. Exploit
    Reflectively invoke password()/loginPasswordless()/delete()
  4. Execution
    Disclose hashes or escalate to another user
  5. Impact
    Take over account or mass-delete models

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
Exploitation Conditions

Exploitation requires an authenticated Kirby Panel account (CVSS PR:L) - the attacker must be a valid, if low-privileged, Panel user, so this is only reachable on sites that grant Panel access to potentially untrusted people (multi-author, client, or membership deployments). The concrete trigger is supplying an internal model method name (e.g. password(), root(), loginPasswordless(), delete()) as an attribute in a collection query (filter/sort/findBy/pluck/group) or in the search/not/filter/sort parameters of the REST API endpoints for users, children, files, blueprints, languages, roles or translations. No user interaction and no special non-default configuration are needed beyond the Panel being enabled and reachable. Limiting factors: destructive delete() actions still require the authenticated user to hold the corresponding delete permission, whereas disclosure (password/root) and loginPasswordless escalation are exploitable regardless of that permission; single-admin sites with no untrusted Panel users face negligible practical risk.

Impact

Signals are consistent but point to a targeted rather than mass-exploitable issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, 8.7) reflects network reach, low complexity, no user interaction and full confidentiality/integrity/availability impact on the vulnerable system - but critically requires PR:L, a valid authenticated Panel account. That authentication gate explains the low EPSS (0.07%, 22nd percentile) and its absence from CISA KEV: this is not a wormable unauthenticated RCE. The vendor itself frames risk conditionally - high impact only where potential attackers exist among the authenticated Panel user group (multi-author, client, or membership sites). No SSVC record and no POC are provided. Net: a genuine high-priority patch for Kirby deployments with semi-trusted Panel users, but lower urgency for single-admin/trusted-editor sites. The 'RCE' tag is somewhat aspirational - the demonstrated impact is arbitrary method call yielding disclosure, account takeover and deletion, not independently confirmed native code execution.

Exploit ScenarioDerived

An attacker holding a low-privilege Panel account (for example on a multi-author blog or membership site) sends a crafted API request to a users or children endpoint with a filter/sort query naming a sensitive model method such as password() to harvest another user's password hash, or loginPasswordless() to escalate into a higher-privileged account. With sufficient role permissions they could instead pass delete() to a collection query and remove many models at once. No POC is published, and low attack complexity with no required user interaction make exploitation straightforward once Panel access is obtained.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 16, 2026

Privilege escalation and sensitive-data disclosure in Kirby CMS (versions before 4.9.1 and 5.4.1) let authenticated Panel users invoke arbitrary model methods through unvalidated collection-query parameters. By naming internal methods such as password(), root(), loginPasswordless() or delete() in filter/sort/findBy queries or the equivalent REST API search endpoints, a low-privilege Panel user can leak password hashes and server filesystem paths, take over other accounts, or mass-delete content. No public exploit identified at time of analysis and EPSS is low (0.07%), but the vendor rates real-world impact as high for any site exposing the Panel to untrusted users.

Earlier versions of this analysis (1)
v1 May 27, 2026 - 00:12

Arbitrary method call in Kirby CMS (versions ≤ 4.9.0 and 5.0.0–5.4.0) lets attackers in the pool of authenticated Panel users invoke unintended PHP model methods by abusing REST API search and collection-query parameters such as filter, sort, not, group, pluck, and findBy. Because Kirby did not validate which model attributes a query could reference, an attacker can reach sensitive methods like password() to leak password hashes, root() to disclose absolute server filesystem paths, loginPasswordless() to escalate into another user's account, or delete() to mass-delete queried models. No CVSS score, EPSS probability, or CISA KEV listing is provided in the source data, and no public exploit is identified at time of analysis, though the vendor rates the real-world impact as high.

RemediationAI

Vendor-released patch: upgrade to Kirby 4.9.1 (https://github.com/getkirby/kirby/releases/tag/4.9.1) or Kirby 5.4.1 (https://github.com/getkirby/kirby/releases/tag/5.4.1), or any later release. These versions add a blocklist of sensitive model methods that may not be called during collection operations and restrict the affected REST API endpoints to only search and pagination queries. If immediate upgrade is impossible, reduce exposure by tightening who can obtain a Panel account and by lowering untrusted roles' permissions so delete() and similar actions are not authorized - this limits write/deletion impact but does NOT stop password()/root() disclosure or loginPasswordless() escalation, which do not depend on those permissions. Where feasible, restrict Panel and API network access to trusted networks/VPN as an interim control, accepting the availability trade-off for remote editors. There is no safe configuration workaround for the underlying arbitrary-method-call flaw short of the patch, so patching should be prioritized over mitigations.

Affected Packages

composer getkirby/cms fix: 4.9.1, 5.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kirby is a file-based PHP CMS whose data model consists of model objects (users, pages, files) held in collection objects. Collection methods like filter(), sort(), group(), pluck() and findBy() - and REST API endpoints exposing search/not/filter/sort queries over users, children, files, blueprints, languages, roles and translations - let callers query models by any 'attribute'. The root cause is CWE-470 (Unsafe Reflection: use of externally-controlled input to select a method): Kirby resolved a query attribute to a model method without validating it against an allowlist, so any accessible method name supplied by the client was reflectively called. This converts a benign data-query surface into an arbitrary-method-call primitive across the whole model layer. CPE identifies the affected component as pkg:composer/getkirby_cms (the getkirby/cms Composer package).

Know when the next one hits your stack

  • 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

Vendor (https://github.com/getkirby/kirby) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable Panel/API with low-complexity method injection, but a valid Panel account is required so PR:L; full C/I/A within the app, scope unchanged.

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

Primary rating from Vendor (https://github.com/getkirby/kirby).

CVSS VectorVendor: https://github.com/getkirby/kirby

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
Jul 16, 2026 - 22:32 vuln.today
v2 - CVSS changed
CVSS changed
Jul 16, 2026 - 22:22 NVD
8.7 (HIGH)

DescriptionCVE.org

TL;DR

This vulnerability affects all Kirby sites that might have potential attackers in the group of authenticated Panel users.

This vulnerability is of high severity for affected sites and has a high real-world impact.

----

Introduction

Arbitrary method call is a type of arbitrary code execution. It is a vulnerability that allows attackers to run any commands or code of the attacker's choice on a target machine or in a target process.

Depending on the set of accessible methods, this can lead to disclosure of sensitive information or to unintended and malicious write actions.

Affected components

Kirby's data model is made up of model objects that are contained in collection objects. These collections can be queried with methods such as $collection->filter(), $collection->sort(), $collection->group(), $collection->pluck() and $collection->findBy(). Each of these methods allows to query the models contained in the collection by any accessible model attribute (field or method).

Kirby also provides endpoints in its REST API that allow to search through users or through children and files of the site or of a particular page. These endpoints allow the search, not, filter and sort queries as well as options to paginate the result. The same kind of queries can also be provided to API collections such as /<site|page|user>/blueprints, /<site|page>/children, /<model>/files, /languages, /roles, /translations, /users and /<user>/roles.

Impact

In affected releases, Kirby did not validate the model attributes that were used in the collection queries. This allowed attackers to include arbitrary model methods in their queries. This includes methods with sensitive data such as password() (disclosing the password hash) or root() (disclosing the absolute filesystem path on the server) as well as methods that perform impactful actions such as loginPasswordless() (causing a privilege escalation to another user) or delete() (deleting all queried models in one go if the authenticated user has appropriate permissions).

Patches

The problem has been patched in Kirby 4.9.1 and Kirby 5.4.1. Please update to one of these or a later version to fix the vulnerability.

In all of the mentioned releases, Kirby has added a blocklist of sensitive model methods that should not be called during collection operations and limited the query options for the affected endpoints to search and pagination.

Credits

Kirby thanks @mojamojam for responsibly reporting the identified issue.

Executive ViewAI

Why It Matters

Kirby CMS versions before 4.9.1 and 5.4.1 allow authenticated Panel users with low privileges to invoke sensitive internal methods via unvalidated query parameters, enabling attackers to extract password hashes, hijack administrator accounts, and mass-delete content. Organizations running vulnerable versions with Panel access granted to untrusted users face immediate risk of credential compromise and operational disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Prevalence
Medium
popular file-based PHP CMS, moderate but non-ubiquitous adoption
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

pkg:composer/getkirby_cms
pkg:composer/getkirby_cms

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