Skip to main content
EPSS 0.8%top 46%

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

0
High
VulnerabilityCVE-2026-75594cvecve-2026-75594cwe-22
Published: 08/31/2026 (08/31/2026, 20:53:00 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 in src/Cms/Media.php allowed Kirby\Cms\Media::thumb() to append a path-bearing filename to a validated parent media directory. On nginx, PHP's built-in server, or Apache with AllowEncodedSlashes enabled, a remote attacker could submit encoded slash characters such as %2f in the filename and traverse outside the parent's media directory. Differences between responses for existing and nonexistent thumbnail configurations disclosed whether an arbitrary .json file existed, and a .json file containing a valid filename key could cause the referenced image to be returned and the job file to be deleted. The related file::version path in src/Filesystem/Asset.php also accepted ../ sequences outside the intended index root. This issue is fixed in versions 4.9.5 and 5.5.2.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/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, 14:55:47 UTC

Technical Analysis

Kirby's media handler in src/Cms/Media.php improperly limits pathname traversal in the Media::thumb() function, allowing path-bearing filenames with encoded slashes (e.g., %2f) to escape the validated parent media directory on nginx, PHP's built-in server, or Apache with AllowEncodedSlashes enabled. This leads to directory traversal outside the media directory. Additionally, differences in server responses reveal the existence of arbitrary .json files, and if a .json file contains a valid filename key, it can cause an image to be returned and the job file to be deleted. The related file::version path in src/Filesystem/Asset.php also accepts ../ sequences outside the intended index root. 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 traverse directories outside the intended media directory, potentially accessing or deleting arbitrary files such as .json job files. This can lead to unauthorized information disclosure and file manipulation. The CVSS 4.0 score is 8.2 (high severity), indicating a significant risk if exploited.

Mitigation Recommendations

This vulnerability is fixed in Kirby versions 4.9.5 and 5.5.2. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly stated beyond the fixed versions; therefore, verify with the vendor advisory for the latest 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.449Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a95ed25acd9273b4997137a

Added to database: 08/31/2026, 21:07:49 UTC

Last enriched: 09/07/2026, 14:55:47 UTC

Last updated: 10/16/2026, 18:48:24 UTC

Views: 86

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