Path traversal in Kirby - #VU138446

 

Path traversal in Kirby - #VU138446

Published: July 20, 2026


Vulnerability identifier: #VU138446
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ian Stewart
Affected software:
Kirby

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose information about the presence of arbitrary JSON files on the server and access image files outside of the site root.

The vulnerability exists due to path traversal in the media handler when handling requests with encoded slashes in media file paths. A remote attacker can send a specially crafted request to disclose information about the presence of arbitrary JSON files on the server and access image files outside of the site root.

Only server setups that allow requests containing encoded slashes are affected. For existing JSON files with a valid thumbnail job configuration, thumbnail generation can access referenced media files and deletes the job file in the process.


Remediation

Install security update from vendor's website.

Sources