CVE-2026-44177: Kirby CMS has pre-authentication path traversal and PHP file inclusion during user lookup
TL;DR This vulnerability affects all Kirby sites on Kirby 5.3.0-5.4.0 and is independent from setup conditions and authentication. This vulnerability is of high severity for all Kirby sites. ---- Introduction Path traversal is a type of attack that allows to access arbitrary filesystem paths. By using special elements such as ..
Published May 26, 2026
Affected packages
getkirby/cms
- Ecosystem
- Composer (PHP)
- Affected
- >= 5.3.0, <= 5.4.0
- Fixed in
- 5.4.1
- Check
composer show getkirby/cms
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
TL;DR
This vulnerability affects all Kirby sites on Kirby 5.3.0-5.4.0 and is independent from setup conditions and authentication.
This vulnerability is of high severity for all Kirby sites.
----
Introduction
Path traversal is a type of attack that allows to access arbitrary filesystem paths. By using special elements such as .. and / separators, attackers can escape outside of the restricted location to access files or directories that are elsewhere on the system. One of the most common special elements is the ../ sequence, which in most modern operating systems is interpreted as the parent directory of the current location. Path traversal can give attackers information about the filesystem and directory structure on the server and can lead to additional attacks depending on the nature of the accessible files and directories.
PHP file inclusion is a type of attack that allows to load and execute PHP files on the server that are not intended for direct inclusion. Depending on the logic inside the PHP files, this can lead to disclosure of sensitive information or unintended, malicious actions.
Affected components
Kirby's Users collection received a performance improvement in Kirby 5.3.0. Starting in this release, Kirby loads user objects lazily when they are first needed. Users are queried by their user ID, which is then used to look up the user's account directory in the site/accounts directory.
This applies to the authentication API (accessible to unauthenticated requests), the users API (accessible to authenticated users only) as well as to other places that use $users->find() to look up an individual user with a request-provided email or user ID.
Impact
In affected releases, Kirby did not correctly validate the provided user ID, causing a path traversal vulnerability. This vulnerability results in the following impact:
- Arbitrary PHP file inclusion of files with the filename
index.php(e.g. the main PHP files of plugins), the impact of which depends on the contents and logic inside the includable files. - Probing of the existence of arbitrary directories on the server, which can allow attackers to fingerprint the server and site setup, including installed plugins and the content structure.
Patches
The problem has been patched in Kirby 5.4.1. Please update to this or a later version to fix the vulnerability.
In the mentioned release, Kirby has added additional checks to the user lookup that ensure that the provided user ID only contains valid characters and that the resulting path to the account directory is contained in the site/accounts directory.
Credits
Kirby thanks @offset for responsibly reporting the identified issue.
Credited to offset.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-75592
Kirby: Access to image files outside of the site root via path traversal in the media handling
medium6.9Sep 2, 2026CVE-2026-69127
Kirby: System path exposure from error messages in the REST API
medium6.9Sep 1, 2026CVE-2026-71415
Kirby: File upload permissions are not checked during processing of chunk data
high7.1Aug 31, 2026CVE-2026-75594
Kirby: Access to image files and limited access to JSON files outside of the site root via path traversal in the media handling
high8.2Aug 31, 2026CVE-2026-49274
Kirby: `pages.access` permission is not checked in the pages picker for parent pages
medium5.3Jun 18, 2026CVE-2026-49276
Kirby: Self cross-site scripting (self-XSS) in the writer field
high7.4Jun 18, 2026
