All vulnerabilities

Servers and applications

GHSA-29f4-mjfq-7gph

Path traversal during user creation allows writing account files outside the accounts directory

Severity
High 7.0
Published
16 Sept 2026
Last changed
18 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.6.0
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

This vulnerability affects all Kirby sites with untrusted Panel user who are allowed to create users as well as by sites or plugins that pass untrusted input into User::create().

Sites that restrict user creation to trusted users are not affected.

By creating a user with a crafted ID, an attacker could make Kirby write the account files into any directory the web server process can write to, inside or outside the Kirby installation. The file names are fixed; their directory is determined by the supplied ID.

An attacker could therefore:

  • overwrite an existing index.php, e.g. the site's front controller, and take the whole site down;
  • overwrite the files of an existing account, including its password file, and take that account over;
  • create stray account files and directories in unexpected locations on the server.

The account files hold escaped user data, so this does not allow placing executable code on the server.

From getkirby/kirby's security advisory.

Workarounds

Until you can update:

  • Remove the users.create permission from any role whose users you do not fully trust.
  • In site and plugin code, do not pass untrusted input as the id prop to User::create().
Workarounds as given by getkirby/kirby's security advisory.

Affected software

SoftwareAffected versions
KirbyServers and applications · github:getkirby/kirby
  • From 5.0.0 before 5.6.0

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