{"id":"CVE-2026-40099","published":"2026-04-24T00:34:02Z","modified":"2026-04-25T01:41:56Z","title":"Kirby's page creation API bypasses the changeStatus permission check via unfiltered isDraft parameter","vendor":"getkirby","product":"kirby","tier":"tail","description":{"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. 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00286,"percentile":0.2144,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-w942-j9r6-hr6r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getkirby/kirby/releases/tag/4.9.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/releases/tag/5.4.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":4.29},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"getkirby","affectedVersions":[{"vendor":"getkirby","product":"kirby","versions":["< 4.9.0",">= 5.0.0, < 5.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-25T01:41:45.982848Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getkirby/cms","vulnerableRanges":["<4.9.0",">=5.0.0, <5.4.0"],"patched":["4.9.0","5.4.0"],"from":["GHSA-w942-j9r6-hr6r"],"provenance":"source"}],"summary":{"text":"Kirby's REST API page-creation endpoint in the kirby CMS (getkirby) fails to enforce the pages.changeStatus permission, because the isDraft flag can be overridden when creating a page, so the check was applied only to status changes and not to creation. An attacker who is already authenticated with the pages.create permission can publish new pages directly through the API, bypassing the normal draft-and-publish workflow, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:48Z"},"euvd":{"id":"EUVD-2026-25370","exploited":false,"provenance":"source"}}