Skip to main content

Kirby CMS CVE-2026-42174

MEDIUM
Missing Authorization (CWE-862)
2026-05-04 https://github.com/getkirby/kirby GHSA-39cp-6679-8xv2
5.3
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
CVSS changed
May 09, 2026 - 04:22 NVD
5.3 (MEDIUM)
Source Code Evidence Fetched
May 04, 2026 - 20:32 vuln.today
Analysis Generated
May 04, 2026 - 20:32 vuln.today

DescriptionGitHub Advisory

TL;DR

This vulnerability affects all Kirby sites where users of a particular role have no permission to update user information (user.update or users.update permission is disabled). This can be due to configuration in the blueprint(s) of the acting users, via options in the blueprint(s) of the target users or via a combination of both settings.

Kirby sites are *not* affected if they intend all users of the site to be able to upload, replace or delete user avatars. The vulnerability can only be exploited by authenticated 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 to content models in the CMS. These permissions are defined for each role in the user blueprint (site/blueprints/users/...). It is also possible to customize the permissions for each target model using the options feature (for user models again in the user blueprints). The permissions and options together control the authorization of user actions.

Kirby provides the user.update and users.update permissions (among others) that control the authorization to update user information for the user's own data or the data of other users respectively. User files are separately gated by the files.create, files.replace and files.delete permissions (among others).

In affected releases, Kirby only checked the files.create and files.delete permissions during changes to user avatars. Even though avatars are an integral part of the user profile, they were not covered by the user.update and users.update permissions. This allowed users with just file permissions to create, replace or delete user avatars.

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 added additional permission checks for user.update/users.update when a user avatar is created, replaced or deleted. These permission checks apply in addition to the file permission checks (files.create, files.replace and files.delete). When a user avatar is replaced with a file of the same type, Kirby now consistently checks the files.replace permission instead of a combination of files.create and files.delete.

AnalysisAI

Missing authorization in Kirby CMS allows authenticated users with file permissions to create, replace, or delete user avatars regardless of whether they hold the required user.update or users.update permissions. This authorization bypass affects Kirby versions up to 4.8.0 and 5.0.0 through 5.3.3, with patches available in Kirby 4.9.0 and 5.4.0. No public exploit code has been identified, and active exploitation is not confirmed.

Technical ContextAI

Kirby CMS uses a role-based permission system defined in user blueprints (site/blueprints/users/) to control which actions users can perform. User avatars are stored as files but are an integral part of the user profile data model. The vulnerability stems from CWE-862 (Missing Authorization) where avatar operations were gated only by file-level permissions (files.create, files.replace, files.delete) rather than the profile-level user.update and users.update permissions that should govern modifications to user account information. The affected product is composer/getkirby/cms, a PHP-based content management system.

RemediationAI

Update Kirby CMS to version 4.9.0 or later for the 4.x branch, or to version 5.4.0 or later for the 5.x branch. The vendor recommends upgrading to Kirby 5 if possible. After patching, avatar creation, replacement, and deletion operations will require both file-level permissions (files.create, files.replace, files.delete) and profile-level permissions (user.update for own avatars, users.update for other users' avatars). Until patching is possible, restrict file permissions to users who are also permitted to update user profiles, or disable user avatar upload functionality at the blueprint level by removing files configuration from user blueprints. These workarounds trade convenience for security and should be considered temporary. See the advisory at https://github.com/getkirby/kirby/security/advisories/GHSA-39cp-6679-8xv2 for additional context.

Share

CVE-2026-42174 vulnerability details – vuln.today

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