Kirby: Access to image files and limited access to JSON files outside of the site root via path traversal in the media handling
High severity. Published 31 August 2026. Update getkirby/cms to the fixed version of your branch (4.9.5, 5.5.2): composer update getkirby/cms.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| getkirby/cms (opens in a new tab) | <= 4.9.4 | >= 5.0.0, < 5.5.2 | 4.9.5, 5.5.2 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show getkirby/cms
composer auditAdvisory details
| Severity | High |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-75594 (opens in a new tab) |
| GHSA | GHSA-9vx2-j98c-p72w (opens in a new tab) |
| Weakness | CWE-22 |
What the advisory says
TL;DR
This vulnerability affects all Kirby sites that are deployed to a server that allows requests for URLs with encoded slashes (%2f), such as nginx, PHP's built-in server or Apache setups that have the option AllowEncodedSlashes enabled. It was possible to create and access thumbnails from media files in arbitrary accessible directories on the server that have a valid thumbnail configuration (JSON job file). It was also possible to detect the presence of files with the .json file extension anywhere on the server. This vulnerability is of high severity for affected sites.
Source: GHSA-9vx2-j98c-p72w (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- Kirby: Access to image files outside of the site root via path traversal in the media handling (opens in a new tab) (medium, 2 September 2026)
- Kirby: System path exposure from error messages in the REST API (opens in a new tab) (medium, 1 September 2026)
- Kirby: File upload permissions are not checked during processing of chunk data (high, 31 August 2026)