
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-21896 is an Incorrect Authorization vulnerability in Kirby CMS that allows authenticated low-privileged users to bypass configured write restrictions in the content changes API. It affects Kirby versions 5.0.0 through 5.2.1 and was disclosed on January 8, 2026, with a patch released the same day in version 5.2.2. The vulnerability only impacts sites where custom user permissions have been configured to restrict the update permission for specific roles; sites using default permissions are unaffected. It carries a CVSS v3.1 base score of 5.7 (Medium) and a CVSS v4.0 base score of 5.8 (Medium) (GitHub Advisory, Kirby Release).
The root cause is CWE-863 (Incorrect Authorization): Kirby's API backend code in src/Api/Controller/Changes.php failed to enforce model update permissions for operations on the "changes" content version (the draft/unsaved-changes layer). The discard(), publish(), and save() methods in the Changes controller did not call $model->permissions()->can('update') before executing write operations, meaning any authenticated Panel user could invoke these API endpoints regardless of their role's configured restrictions. The fix (commit f5ce134) adds explicit permission checks at the start of each of these three methods, throwing a PermissionException when the user lacks the update permission (GitHub Advisory, Patch Commit).
A low-privileged authenticated attacker with Panel access can create, modify, or discard content change versions across arbitrary models (pages, users, files, or the site object), circumventing role-based access controls intended to prevent write operations. Concrete impacts include: injecting defamatory, spam, or malicious content (e.g., links or scripts) into pending changes that an inattentive editor with publish rights could inadvertently publish; creating editing locks that block legitimate editors from making changes; and discarding extensive unsaved editor work. There is no confidentiality impact, and the vulnerability is scoped to the vulnerable system only (GitHub Advisory).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time (GitHub Advisory). The vulnerability requires the attacker to already have a valid Panel account (low privileges) and some form of user interaction (e.g., a legitimate editor publishing the tampered changes). The EPSS score is approximately 0.03%, reflecting low exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The issue was responsibly reported by Lukas Kleinschmidt (@lukaskleinschmidt) (GitHub Advisory).
update permission for one or more roles.Changes::save(), Changes::discard(), or Changes::publish()) for arbitrary models, bypassing the Panel UI which may enforce role restrictions client-side.save action to write malicious content (e.g., spam links, scripts) into the changes version of a target page or model, or use discard to delete pending editor work, or use publish to push changes directly._changes/ directory entries for content models (e.g., _changes/article.txt) created or modified by low-privileged user accounts; content files containing unexpected links, scripts, or defamatory text in draft/changes versions.Upgrade Kirby to version 5.2.2 or later, which adds explicit update permission checks to the discard(), publish(), and save() methods in the Changes controller. No configuration-based workaround is available for affected versions; patching is the only remediation. Sites that have not customized user permissions away from Kirby's defaults are not affected but should still upgrade as a best practice. Administrators should also review Panel access logs for unauthorized API calls to the content changes endpoints and audit content change versions for unexpected modifications (Kirby Release, GitHub Advisory).
The vulnerability was responsibly disclosed by Lukas Kleinschmidt and patched by the Kirby team on the same day it was published (January 8, 2026). The Kirby maintainers credited the reporter and noted that a future release will add more granular edit and save permissions to provide finer-grained control over write actions. No significant broader media coverage or notable community controversy has been observed beyond standard vulnerability tracking (GitHub Advisory, Kirby Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."