CVE-2026-40099
Kirby's page creation API bypasses the changeStatus permission check via unfiltered isDraft parameter
Description
Kirby is an open-source content management system. 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 in the model blueprints (such as in `site/blueprints/pages/...`) using the `options` feature. The permissions and options together control the authorization of user actions. For pages, Kirby provides the `pages.create` and `pages.changeStatus` permissions (among others). Prior to versions 4.9.0 and 5.4.0, Kirby checked these permissions independently and only for the respective action. However the `changeStatus` permission didn't take effect on page creation. New pages are created as drafts by default and need to be published by changing the page status of an existing page draft. This is ensured when the page is created via the Kirby Panel. However the REST API allows to override the `isDraft` flag when creating a new page. This allowed authenticated attackers with the `pages.create` permission to immediately create published pages, bypassing the normal editorial workflow. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. Kirby has added a check to the page creation rules that ensures that users without the `pages.changeStatus` permission cannot create published pages, only page drafts.
INFO
Published Date :
April 24, 2026, 1:16 a.m.
Last Modified :
Oct. 26, 2026, 10:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update Kirby to version 4.9.0 or later.
- Update Kirby to version 5.4.0 or later.
- Ensure `pages.changeStatus` is checked on page creation.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40099.
| URL | Resource |
|---|---|
| https://github.com/getkirby/kirby/releases/tag/4.9.0 | Release Notes |
| https://github.com/getkirby/kirby/releases/tag/5.4.0 | Release Notes |
| https://github.com/getkirby/kirby/security/advisories/GHSA-w942-j9r6-hr6r | Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40099 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40099
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40099 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-40099 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Added Translation Title: kirby de getkirby, Description: Kirby es un sistema de gestión de contenido de código abierto. Los permisos de usuario de Kirby controlan qué rol de usuario tiene permitido realizar acciones específicas en los modelos de contenido en el CMS. Estos permisos se definen para cada rol en el esquema de usuario (’site/blueprints/users/...’). También es posible personalizar los permisos para cada modelo objetivo en los esquemas de modelo (como en ’site/blueprints/pages/...’) usando la característica ’options’. Los permisos y las opciones juntos controlan la autorización de las acciones del usuario. Para las páginas, Kirby proporciona los permisos ’pages.create’ y ’pages.changeStatus’ (entre otros). Antes de las versiones 4.9.0 y 5.4.0, Kirby verificaba estos permisos de forma independiente y solo para la acción respectiva. Sin embargo, el permiso ’changeStatus’ no surtía efecto en la creación de páginas. Las nuevas páginas se crean como borradores por defecto y deben publicarse cambiando el estado de la página de un borrador de página existente. Esto se asegura cuando la página se crea a través del Panel de Kirby. Sin embargo, la API REST permite anular el indicador ’isDraft’ al crear una nueva página. Esto permitía a atacantes autenticados con el permiso ’pages.create’ crear inmediatamente páginas publicadas, eludiendo el flujo de trabajo editorial normal. El problema ha sido parcheado en Kirby 4.9.0 y Kirby 5.4.0. Kirby ha añadido una verificación a las reglas de creación de páginas que asegura que los usuarios sin el permiso ’pages.changeStatus’ no pueden crear páginas publicadas, solo borradores de página. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'getkirby', 'product': 'kirby', 'versions': [{'status': 'affected', 'version': '< 4.9.0'}, {'status': 'affected', 'version': '>= 5.0.0, < 5.4.0'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-40099', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-04-25T01:41:45.982848Z'} -
Initial Analysis by [email protected]
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* versions up to (excluding) 4.9.0 *cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.4.0 Added Reference Type GitHub, Inc.: https://github.com/getkirby/kirby/releases/tag/4.9.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/getkirby/kirby/releases/tag/5.4.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/getkirby/kirby/security/advisories/GHSA-w942-j9r6-hr6r Types: Patch, Vendor Advisory -
New CVE Received by [email protected]
Apr. 24, 2026
Action Type Old Value New Value Added Description Kirby is an open-source content management system. 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 in the model blueprints (such as in `site/blueprints/pages/...`) using the `options` feature. The permissions and options together control the authorization of user actions. For pages, Kirby provides the `pages.create` and `pages.changeStatus` permissions (among others). Prior to versions 4.9.0 and 5.4.0, Kirby checked these permissions independently and only for the respective action. However the `changeStatus` permission didn't take effect on page creation. New pages are created as drafts by default and need to be published by changing the page status of an existing page draft. This is ensured when the page is created via the Kirby Panel. However the REST API allows to override the `isDraft` flag when creating a new page. This allowed authenticated attackers with the `pages.create` permission to immediately create published pages, bypassing the normal editorial workflow. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. Kirby has added a check to the page creation rules that ensures that users without the `pages.changeStatus` permission cannot create published pages, only page drafts. Added CVSS V4.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 Added CWE CWE-863 Added Reference https://github.com/getkirby/kirby/releases/tag/4.9.0 Added Reference https://github.com/getkirby/kirby/releases/tag/5.4.0 Added Reference https://github.com/getkirby/kirby/security/advisories/GHSA-w942-j9r6-hr6r