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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75592.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "4.9.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.5.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "2b6fab950bc89d505ea89576bf71c8de614cc3b2"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e0dca5f709adc21b36f5549df2c0619bc59da56c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "4.9.5",
"range": [
{
"fixed": "61b1a486084249a81d4c7f5735fbc18a5d1de5da"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "5.5.2",
"range": [
{
"fixed": "81689c7f1471beb1fa9fb9c686f6f071f8671c3c"
}
],
"source": "REFERENCES_TAG"
}
]
}