CVE-2026-75594: Kirby: Access to image files and limited access to JSON files outside of the site root via path traversal in the media handling
In affected releases, Kirby did not prevent path traversal in the filenames that were searched within the parent directory. In affected server setups where the attacker can provide encoded slashes (%2f) in the request, Kirby allowed the request to traverse away from the parent’s media directory.
Because the response differs between existing and non-existing thumbnail configurations, attackers were able to tell whether an arbitrary JSON file exists on the server (addressed by a relative path from the media directory of an arbitrary existing parent, including a relative path that points outside of the site’s index root). For existing files with the file extension .json and a valid filename key (resulting in a valid job file), it was possible to generate thumbnails of the referenced media files, deleting the job file in the process.
References
- github.com/advisories/GHSA-9vx2-j98c-p72w
- github.com/getkirby/kirby/commit/22fbaedb7e6dd61f5def10829ba7bd7e73e0dcc9
- github.com/getkirby/kirby/commit/a40808f5c2ee5d42bb597fb6ffbe0de0ce8e4d20
- github.com/getkirby/kirby/commit/cd7abb68d298f3443eafd43fa2d0c7ad0f933d0e
- github.com/getkirby/kirby/commit/e0dca5f709adc21b36f5549df2c0619bc59da56c
- github.com/getkirby/kirby/releases/tag/4.9.5
- github.com/getkirby/kirby/releases/tag/5.5.2
- github.com/getkirby/kirby/security/advisories/GHSA-9vx2-j98c-p72w
- nvd.nist.gov/vuln/detail/CVE-2026-75594
Code Behaviors & Features
Detect and mitigate CVE-2026-75594 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →