CVE-2026-42051: Kirby: System API endpoint leaks license data and installed version to authenticated users
TL;DR
This vulnerability affects all Kirby sites that might have potential attackers in the group of authenticated Panel users.
----
Introduction
Missing authorization allows authenticated users to perform actions they are not intended to have access to.
The effects of missing authorization can include unauthorized access to sensitive information as well as unauthorized changes to content or system information.
Impact
Kirby's user permissions control which user role is allowed to perform specific actions in the CMS. These permissions are defined for each role in the user blueprint (site/blueprints/users/...). The permissions control the authorization of user actions (with handling of model-specific authorization omitted here for brevity).
Kirby provides the access.system permission (among others) that controls access to the system area of the Kirby Panel. This area contains internal system information like the installed Kirby, plugin and server versions, security state and Kirby license. If the access.system permission is disabled for a user role, users of that role should not be able to access this internal system information. However it is also possible to access some system information via the /api/system REST API endpoint. In affected releases, the response of this endpoint for authenticated users contained the installed Kirby version and the status, type and code of the installed Kirby license. These values are considered sensitive information and should be protected by the access.system permission.
The installed Kirby version and license data can be used by malicious actors during reconnaissance when planning a separate attack.
Patches
The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. Please update to one of these or a later version to fix the vulnerability.
In all of the mentioned releases, we have protected the version and license properties of the /api/system endpoint with a check for the existing access.system permission. This ensures that the REST API only outputs information that should be accessible to the user via the Panel.
Credits
Kirby thanks @HuajiHD and @0x-bala for responsibly reporting the identified issue.
Other sources
Kirby is an open-source content management system. Prior to versions 4.9.0 and 5.4.0, the system API endpoint leaks license data and installed version to authenticated users. This issue has been patched in versions 4.9.0 and 5.4.0.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/getkirby/cmsto a version that resolves this vulnerability.Fixed in 5.4.0 - Upgrade
Upgrade
composer/getkirby/cmsto a version that resolves this vulnerability.Fixed in 4.9.0 - Upgrade
Upgrade
Kirbyto a version that resolves this vulnerability.Fixed in 4.9.0 - Upgrade
Upgrade
Kirbyto a version that resolves this vulnerability.Fixed in 5.4.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42051?
CVE-2026-42051 has a medium severity due to missing authorization for authenticated users.
How do I fix CVE-2026-42051?
To fix CVE-2026-42051, upgrade to getkirby/cms version 5.4.0 or 4.9.0.
Which versions are affected by CVE-2026-42051?
CVE-2026-42051 affects getkirby/cms versions from 5.0.0 to 5.3.3 and up to 4.8.0.
Who is impacted by CVE-2026-42051?
CVE-2026-42051 impacts all Kirby sites with potential attackers in the group of authenticated Panel users.
What type of vulnerability is CVE-2026-42051?
CVE-2026-42051 is a missing authorization vulnerability allowing unauthorized actions by authenticated users.