All vulnerabilities

Servers and applications

GHSA-4ccp-5fg5-pjgp

Authorization bypass of hooks in batch deletion and file uploads

Severity
Medium 5.3
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
18 Nov 2026
Fixed in
4.9.8, 5.6.4
Weakness
CWE-460
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS 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
Sources
Project advisories (GitHub)

Description

Users who can delete pages or files, or upload or replace files, can do so even when a hook throws an exception to prevent it.

  • Can delete any page or file that a page.delete:before or file.delete:before hook protects
  • Can upload or replace files that a file.create:before or file.replace:before hook rejects
  • Can stop :after hooks, e.g. for logging, from running for most of these actions
  • Cannot perform actions that their role permissions or blueprint options deny
  • Cannot bypass Kirby's own upload checks, e.g. file extensions or the file blueprint accept option
From getkirby/kirby's security advisory.

Workarounds

  • Remove batch: true from all pages and files sections.
  • Enforce these restrictions with role permissions or blueprint options and accept rules instead of hooks.
Workarounds as given by getkirby/kirby's security advisory.

Affected software

SoftwareAffected versions
KirbyServers and applications · github:getkirby/kirby
  • Every version before 4.9.8
  • From 5.0.0 before 5.6.4

About Kirby

proprietary flat-file content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
52,017Packagist, 15 Nov 2026
Total downloads (Packagist)
731,120Packagist, 15 Nov 2026
GitHub stars
1,539GitHub, 15 Nov 2026
Forks
195GitHub, 15 Nov 2026
Latest release
5.6.3GitHub, 15 Nov 2026
Released
5 Nov 2026GitHub
Written in
PHP, Vue.jsWikidata
First published on GitHub
6 Oct 2017GitHub

Release lines

ReleaseLatestSecurity fixes
55.6.3Yes
3.103.10.1.2Ended 27 Nov 2025
4 (A new era)4.9.7Until 28 Nov 2026
3.9 (Brookesia)3.9.8.3Ended 27 Nov 2025
3.8 (Rhampholeon)3.8.4.4Ended 16 Jan 2025
3.7 (Kinyongia)3.7.5.5Ended 5 Oct 2024

From endoflife.date.

References