CVE-2026-75592: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getkirby kirby
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.
CVSS v4.0
Score 6.9medium
Affected software
getkirby
kirby
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Kirby CMS's media handler used insufficient checks in its filesystem path validation functions (Kirby\Filesystem\Dir::realpath() and Kirby\Filesystem\F::realpath()), which accepted sibling directories whose paths shared the intended root's string prefix without requiring an exact match or directory separator boundary. This flaw allowed remote attackers to leverage Kirby\Cms\Media::thumb() to create and access thumbnails from image files located in PHP-readable sibling directories if those directories contained valid .json thumbnail job files. This could expose staging sites, backups, or other internal sites and delete the job file during processing. The vulnerability is addressed in Kirby versions 4.9.5 and 5.5.2.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to access and create thumbnails from image files in sibling directories outside the intended root directory. This may lead to exposure of sensitive internal resources such as staging sites or backups. Additionally, the attacker can delete thumbnail job files during processing. The vulnerability does not require user interaction and has a medium severity rating with a CVSS 4.0 score of 6.9.
Mitigation Recommendations
This vulnerability is fixed in Kirby versions 4.9.5 and 5.5.2. Users should upgrade to these versions or later to remediate the issue. No official patch or temporary workaround is provided in the advisory. Patch status is not yet confirmed beyond the fixed versions; check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-17T23:49:03.448Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a95e9aaacd9273b49934e4d
Added to database: 08/31/2026, 20:52:58 UTC
Last enriched: 09/07/2026, 15:01:43 UTC
Last updated: 10/14/2026, 06:48:20 UTC
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.