{"id":"CVE-2026-41325","aliases":["CVE-2026-41325","GHSA-6gqr-mx34-wh8r"],"related":[],"kind":"vulnerability","state":"published","title":"Kirby is vulnerable to authorization bypass during page, file and user creation via blueprint injection","summary":"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. Kirby provides the `pages.create`, `files.create` and `users.create` permissions (among others). These permissions can again be set in the user blueprint and/or in the blueprint of the target model via `options`. Prior to versions 4.9.0 and 5.4.0, Kirby allowed to override the `options` during the creation of pages, files and users by injecting custom dynamic blueprint configuration into the model data. The injected `options` could include `'create' => true`, which then caused an override of the permissions and options configured by the site developer in the user and model blueprints. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. The patched versions have updated the normalization code that is used during the creation of pages, files and users to include a filter for the `blueprint` property. This prevents the injection of dynamic blueprint configuration into the creation request.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. Kirby provides the `pages.create`, `files.create` and `users.create` permissions (among others). These permissions can again be set in the user blueprint and/or in the blueprint of the target model via `options`. Prior to versions 4.9.0 and 5.4.0, Kirby allowed to override the `options` during the creation of pages, files and users by injecting custom dynamic blueprint configuration into the model data. The injected `options` could include `'create' => true`, which then caused an override of the permissions and options configured by the site developer in the user and model blueprints. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. The patched versions have updated the normalization code that is used during the creation of pages, files and users to include a filter for the `blueprint` property. This prevents the injection of dynamic blueprint configuration into the creation request.","source":"cvelist"},{"lang":"en","text":"### TL;DR\n\nThis vulnerability affects all Kirby sites where users of a particular role have no permission to create pages, files or users (`pages.create`, `files.create` or `users.create` permission is disabled). This can be due to configuration in the user blueprint(s), via `options` in the model blueprint(s) or via a combination of both settings.\n\n**This vulnerability is of high severity for affected sites.**\n\nDevelopers' Kirby sites are *not* affected if they intend all users of their site to be able to create pages, files and users. The vulnerability can only be exploited by authenticated users.\n\n----\n\n### Introduction\n\nAn authorization bypass allows authenticated users to perform actions they should not be allowed to perform based on their configured permissions, thereby causing a privilege escalation.\n\nThe effects of an authorization bypass can include unauthorized access to sensitive information as well as unauthorized changes to content or system information.\n\n### Impact\n\nKirby'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.\n\nKirby provides the `pages.create`, `files.create` and `users.create` permissions (among others). These permissions can again be set in the user blueprint and/or in the blueprint of the target model via `options`. In affected releases, Kirby allowed to override the `options` during the creation of pages, files and users by injecting custom dynamic blueprint configuration into the model data. The injected `options` could include `'create' => true`, which then caused an override of the permissions and options configured by the site developer in the user and model blueprints.\n\n### Patches\n\nThe problem has been patched in [Kirby 4.9.0](https://github.com/getkirby/kirby/releases/tag/4.9.0) and [Kirby 5.4.0](https://github.com/getkirby/kirby/releases/tag/5.4.0). Please update to one of these or a [later version](https://github.com/getkirby/kirby/releases) to fix the vulnerability.\n\nIn all of the mentioned releases, we have updated the normalization code that is used during the creation of pages, files and users to include a filter for the `blueprint` property. This prevents the injection of dynamic blueprint configuration into the creation request.\n\n### Credits\n\nKirby thanks @offset for responsibly reporting the identified issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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 blueprint de usuario (’site/blueprints/users/...’). También es posible personalizar los permisos para cada modelo objetivo en los blueprints del modelo (como en ’site/blueprints/pages/...’) usando la característica ’options’. Los permisos y las ’options’ juntos controlan la autorización de las acciones del usuario. Kirby proporciona los permisos ’pages.create’, ’files.create’ y ’users.create’ (entre otros). Estos permisos pueden configurarse de nuevo en el blueprint de usuario y/o en el blueprint del modelo objetivo a través de ’options’. Antes de las versiones 4.9.0 y 5.4.0, Kirby permitía anular las ’options’ durante la creación de páginas, archivos y usuarios inyectando una configuración de blueprint dinámica personalizada en los datos del modelo. Las ’options’ inyectadas podían incluir ’’create’ => true’, lo que luego causaba una anulación de los permisos y las ’options’ configurados por el desarrollador del sitio en los blueprints de usuario y de modelo. El problema ha sido parcheado en Kirby 4.9.0 y Kirby 5.4.0. Las versiones parcheadas han actualizado el código de normalización que se utiliza durante la creación de páginas, archivos y usuarios para incluir un filtro para la propiedad ’blueprint’. Esto evita la inyección de configuración de blueprint dinámica en la solicitud de creación.","source":"nvd"}],"published":"2026-04-24T00:38:50.106Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 4.9.0","status":"affected"},{"version":">= 5.0.0, < 5.4.0","status":"affected"}],"vendor":"getkirby","product":"kirby","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.9.0"}],"ecosystem":"Packagist","package":"getkirby/cms","purl":"pkg:composer/getkirby/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.4.0"}],"ecosystem":"Packagist","package":"getkirby/cms","purl":"pkg:composer/getkirby/cms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.9.0"},{"status":"affected","introduced":"5.0.0","fixed":"5.4.0"}],"vendor":"getkirby","product":"kirby","cpe":"cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-6gqr-mx34-wh8r","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getkirby/kirby/releases/tag/4.9.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getkirby/kirby/releases/tag/5.4.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41325","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/getkirby/kirby","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-24T12:11:33.355Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41325","url":"https://www.cve.org/CVERecord?id=CVE-2026-41325","licence":"CVE Terms of Use","modified":"2026-04-24T12:11:41.783Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6gqr-mx34-wh8r","url":"https://github.com/advisories/GHSA-6gqr-mx34-wh8r","licence":"CC-BY-4.0","modified":"2026-05-05T16:11:41.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41325","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41325","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:19.448Z","epss":{"score":0.00377,"percentile":0.33753,"date":"2026-12-01T12:00:22.000Z"}}