Kirby CMS CVE-2026-44174
HIGHSeverity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Primary rating from Vendor (https://github.com/getkirby/kirby).
CVSS VectorVendor: https://github.com/getkirby/kirby
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
5DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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).
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.
Share
External POC / Exploit Code
Leaving vuln.today
GHSA-86rh-h242-j8xp