Vulnerability · Published Aug 31, 2026 · Assigned by GitHub_M
CVE-2026-75594Kirby: Access to image files and limited access to JSON files outside of the site root via path traversal in the media handling
High 8.2
In plain English
A high-severity path traversal in kirby from getkirby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Kirby is an open-source content management system. Prior to 4.9.5 and 5.5.2, depending on the release line, Kirby's media handler in src/Cms/Media.php allowed Kirby\Cms\Media::thumb() to append a path-bearing filename to a validated parent media directory. On nginx, PHP's built-in server, or Apache with AllowEncodedSlashes enabled, a remote attacker could submit encoded slash characters such as %2f in the filename and traverse outside the parent's media directory. Differences between responses for existing and nonexistent thumbnail configurations disclosed whether an arbitrary .json file existed, and a .json file containing a valid filename key could cause the referenced image to be returned and the job file to be deleted. The related file::version path in src/Filesystem/Asset.php also accepted ../ sequences outside the intended index root. This issue is fixed in versions 4.9.5 and 5.5.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getkirby/cms | 4.9.5 | GHSA-9vx2-j98c-p72w |
| Packagist | getkirby/cms | 5.5.2 | GHSA-9vx2-j98c-p72w |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/getkirby/kirby/security/advisories/GHSA-9vx2-j98c-p72w x_refsource_CONFIRM
- https://github.com/getkirby/kirby/commit/22fbaedb7e6dd61f5def10829ba7bd7e73e0dcc9 x_refsource_MISC
- https://github.com/getkirby/kirby/commit/a40808f5c2ee5d42bb597fb6ffbe0de0ce8e4d20 x_refsource_MISC
- https://github.com/getkirby/kirby/commit/cd7abb68d298f3443eafd43fa2d0c7ad0f933d0e x_refsource_MISC
- https://github.com/getkirby/kirby/commit/e0dca5f709adc21b36f5549df2c0619bc59da56c x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/4.9.5 x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/5.5.2 x_refsource_MISC