Original 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 used incomplete filesystem containment checks in src/Filesystem/Dir.php and src/Filesystem/F.php through Kirby\Filesystem\Dir::realpath() and Kirby\Filesystem\F::realpath(). The checks accepted a sibling directory whose path shared the intended root's string prefix, such as /var/www/site2 next to /var/www/site, because they did not require an exact match or a DIRECTORY_SEPARATOR boundary. A remote attacker could use Kirby\Cms\Media::thumb() to create and access thumbnails from image files in a PHP-readable sibling directory when that directory contained a valid .json thumbnail job file, potentially exposing staging sites, backups, or other internal sites and deleting the job file during processing. This issue is fixed in versions 4.9.5 and 5.5.2.
Affected software
- Kirby * repository or package match
Details
- Published
- 2026-09-01
- Last modified
- 2026-09-01
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 0.68% (percentile 53)
References
- cve.org/CVE-2026-75592
- nvd.nist.gov/vuln/detail/CVE-2026-75592
- github.com/getkirby/kirby/security/advisories/GHSA-6j4c-mgqr-qv76
- github.com/getkirby/kirby/commit/2b6fab950bc89d505ea89576bf71c8de614cc3b2
- github.com/getkirby/kirby/commit/e0dca5f709adc21b36f5549df2c0619bc59da56c
- github.com/getkirby/kirby/releases/tag/4.9.5
- github.com/getkirby/kirby/releases/tag/5.5.2
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.