Skip to main content
EPSS 0.7%top 49%

CVE-2026-75592: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getkirby kirby

0
Medium
VulnerabilityCVE-2026-75592cvecve-2026-75592cwe-22
Published: 08/31/2026 (08/31/2026, 20:49:41 UTC)
Source: CVE Database V5
Vendor/Project: getkirby
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

getkirby

kirby

Affected versions
<4.9.5>=5.0.0 <5.5.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:01:43 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses