Skip to content

CVE-2026-44177 Kirby: Pre-authentication path traversal and PHP file inclusion during user lookup

HighCVSS 8.8 EPSS 1.8% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHP

Description

Kirby is an open-source content management system. In versions 5.3.0 and above but prior to 5.4.1, Kirby did not correctly validate the provided user ID, resulting in a path traversal vulnerability. Version 5.3.0 introduced a performance improvement to the Users collection that loaded user objects lazily when first needed. Users were queried by their ID, which was then used to locate the corresponding account directory under site/accounts. This affected the authentication API (accessible to unauthenticated requests), the users API (accessible only to authenticated users), and any other place that uses $users->find() to look up an individual user by a request-provided email or ID. As a result, an attacker could trigger arbitrary PHP file inclusion of files named  index.php (for example, the main PHP files of plugins), the impact of which depends on the logic those files contain. It also allowed probing for the existence of arbitrary directories on the server, letting attackers fingerprint the server and site setup, including installed plugins and the content structure. This issue has been fixed in version 5.4.1.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
getkirby/cms(Packagist) = 5.3.0; = 5.3.1; = 5.3.2; = 5.3.3 +3 more 5.4.1 Fixed
getkirby kirby = >= 5.3.0, < 5.4.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
getkirby/cms(Packagist) >= 5.3.0, < 5.4.1 5.4.1
getkirby/cms(Packagist) = 5.3.0 No fix listed
getkirby/cms(Packagist) = 5.3.1 No fix listed
getkirby/cms(Packagist) = 5.3.2 No fix listed
getkirby/cms(Packagist) = 5.3.3 No fix listed
getkirby/cms(Packagist) = 5.4.0 No fix listed
getkirby kirby = >= 5.3.0, < 5.4.1 No fix listed
getkirby/cms(Packagist) >= 5.3.0, <= 5.4.0 No fix listed

References