# CVE-2026-40099: Kirby's page creation API bypasses the changeStatus permission check via unfiltered isDraft parameter

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-04-23T21:24:58.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-w942-j9r6-hr6r
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- getkirby kirby: < 4.9.0; >= 5.0.0, < 5.4.0; before 4.9.0; from 5.0.0 before 5.4.0
- getkirby/cms (Packagist): before 4.9.0; from 5.0.0 before 5.4.0

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/getkirby/kirby/security/advisories/GHSA-w942-j9r6-hr6r> (patch, vendor-advisory, web)
- <https://github.com/getkirby/kirby/releases/tag/4.9.0> (release-notes, web)
- <https://github.com/getkirby/kirby/releases/tag/5.4.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40099> (advisory)
- <https://github.com/getkirby/kirby> (package)

## Sources

- CVE List: [CVE-2026-40099](https://www.cve.org/CVERecord?id=CVE-2026-40099), CVE Terms of Use, modified 2026-04-25
- GitHub Advisory Database: [GHSA-w942-j9r6-hr6r](https://github.com/advisories/GHSA-w942-j9r6-hr6r), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40099](https://nvd.nist.gov/vuln/detail/CVE-2026-40099), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40099 · Whole record: https://cve.day/CVE-2026-40099.json · Rebuilt by cve.day 2026-11-25T22:59:19.447Z
