Skip to main content

Kirby CMS EUVDEUVD-2026-68811

| CVE-2026-75592 MEDIUM
Path Traversal (CWE-22)
2026-08-31 GitHub_M GHSA-6j4c-mgqr-qv76
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enumerate sibling directories sharing installation path prefix
  2. Delivery
    Confirm valid .json thumbnail job file is present
  3. Exploit
    Send crafted HTTP request to Media::thumb() endpoint
  4. Execution
    Bypass Dir/F realpath() containment check via missing separator boundary
  5. Persist
    Trigger thumbnail generation from sibling image file
  6. Impact
    Retrieve disclosed image content; job file deleted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three specific conditions must all be satisfied simultaneously for exploitation to succeed. First, the target Kirby installation must be running a version prior to 4.9.5 (4.x) or 5.5.2 (5.x). Second, a PHP-readable sibling directory must exist whose absolute filesystem path shares the string prefix of the Kirby installation root without an intervening directory separator - for example, /var/www/site2 beside a Kirby root at /var/www/site; paths under an entirely different parent (e.g., /srv/staging) are not exploitable. Third, that sibling directory must contain a valid .json thumbnail job file that Kirby's media handler can parse and execute. If any of these three conditions is absent, exploitation fails. No authentication is required (PR:N) and no user interaction is required (UI:N). The key limiting factors are the sibling directory naming convention specific to shared-prefix hosting layouts and the presence of an exploitable .json job file - environments using distinct directory prefixes or with PHP process isolation across sites are not affected.

Impact

The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H captures the split nature of this risk: network-accessible and unauthenticated, yet bounded by a hard precondition (AT:P) requiring a PHP-readable sibling directory with a valid .json thumbnail job file. The SC:H rating correctly reflects that the vulnerable Kirby system itself has no direct data exposure - all sensitive disclosure targets a neighboring system (e.g., a staging site or backup). Real-world risk is primarily relevant in shared-prefix multi-site hosting topologies, and operators running several co-located Kirby deployments should treat this as urgent given the unauthenticated attack vector and the high subsequent-system confidentiality impact. No active exploitation is confirmed - the CVE is absent from the CISA KEV catalog - and no public POC has been identified, consistent with the AT:P constraint making opportunistic scanning largely unproductive without prior knowledge of the filesystem layout. The absence of KEV and POC reduces operational urgency relative to the raw score, but the ease of exploitation once preconditions are met (AC:L) argues for prompt patching in affected topologies.

Exploit ScenarioDerived

An attacker identifies a Kirby installation at /var/www/company-site and discovers - via DNS enumeration, error messages, or directory listing - a PHP-accessible sibling directory at /var/www/company-site2 (e.g., a staging environment) that contains a .json thumbnail job file. The attacker crafts an HTTP request to Kirby's Media::thumb() endpoint referencing an image path within the sibling directory; because the old prefix check accepts /var/www/company-site2 as a valid child of /var/www/company-site, Kirby processes the job, renders a thumbnail of the sibling site's image, and returns it to the attacker - simultaneously deleting the job file. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

Path traversal in Kirby CMS's filesystem containment logic allows remote unauthenticated attackers to access image files in PHP-readable sibling directories that share a string prefix with the Kirby installation root, and to create thumbnails from those files via the media handler. Versions prior to 4.9.5 (4.x line) and 5.5.2 (5.x line) are affected, with the impact limited to subsequent-system confidentiality exposure - staging sites, backups, or co-hosted internal sites - rather than the Kirby instance itself. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog; the CVSS 4.0 AT:P metric confirms specific environmental preconditions must exist for exploitation.

RemediationAI

Upgrade to Kirby CMS 4.9.5 (4.x line) or 5.5.2 (5.x line), as confirmed by the vendor GitHub release tags at https://github.com/getkirby/kirby/releases/tag/4.9.5 and https://github.com/getkirby/kirby/releases/tag/5.5.2. If immediate patching is not feasible, the most effective compensating control is ensuring no PHP-readable sibling directory shares a string prefix with the Kirby installation root - for example, renaming /var/www/site2 to a path that does not begin with /var/www/site (such as /var/www/staging-site2) eliminates the naming-based bypass; note this may require updating server vhost configurations and any hardcoded internal references. Restricting OS-level filesystem permissions so the PHP process cannot read adjacent sibling directories eliminates the vulnerability independent of directory naming, though care must be taken not to inadvertently break legitimate application paths. Removing any stale .json thumbnail job files from sibling directories removes the specific precondition that enables exploitation with no functional trade-off. These workarounds should be treated as temporary bridges to the patched release rather than permanent mitigations.

Affected VersionsENISA

kirby 5.0.0, < 5.5.2
kirby < 4.9.5

Affected Packages

composer getkirby/cms fix: 4.9.5, 5.5.2
euvd kirby fix: 4.9.5, 5.5.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause (CWE-22, Improper Limitation of a Pathname) exists in Kirby's filesystem abstraction layer: both Kirby\Filesystem\Dir::realpath() in src/Filesystem/Dir.php and Kirby\Filesystem\F::realpath() in src/Filesystem/F.php enforced containment using a bare string-prefix comparison - substr($realpath, 0, strlen($parent)) !== $parent - without requiring a trailing directory separator boundary. This allowed a sibling path such as /var/www/site2 to pass the containment check for an intended parent of /var/www/site because the string begins with the parent prefix. The exploit entry point is Kirby\Cms\Media::thumb(), which drives thumbnail generation and internally resolves paths through the vulnerable realpath functions. Confirmed fix commits (2b6fab9 and e0dca5f) replace the substring check with an explicit separator-bounded test: str_starts_with($realpath, $parent . DIRECTORY_SEPARATOR), correctly rejecting any sibling whose name merely starts with the parent's name. The affected CPE is cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* covering all releases before the patched versions.

Know when Kirby gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.5 HIGH

AC:H reflects the required sibling-directory naming precondition plus the .json job file; S:C and C:H capture high confidentiality impact on the neighboring system; I:L accounts for job file deletion on the subsequent system.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 31, 2026 - 22:18 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Medium
popular PHP flat-file CMS with moderate developer and agency adoption
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Kirby

View all
CVE-2024-26483 HIGH POC
8.8 Feb 22

An arbitrary file upload vulnerability in the Profile Image module of Kirby CMS v4.1.0 allows attackers to execute arbit

CVE-2024-26482 HIGH POC
7.1 Feb 22

An HTML injection vulnerability exists in the Edit Content Layout module of Kirby CMS v4.1.0. Rated high severity (CVSS

CVE-2025-30159 MEDIUM POC
6.3 May 13

Kirby is an open-source content management system. Rated medium severity (CVSS 6.3), this vulnerability is remotely expl

CVE-2024-26484 MEDIUM POC
6.1 Feb 22

A stored cross-site scripting (XSS) vulnerability in the Edit Content Layout module of Kirby CMS v4.1.0 allows attackers

CVE-2018-16627 MEDIUM POC
6.1 Dec 20

panel/login in Kirby v2.5.12 allows Host header injection via the "forget password" feature. Rated medium severity (CVSS

CVE-2023-38490 CRITICAL
10.0 Jul 27

Kirby is a content management system. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable, n

CVE-2021-29460 MEDIUM POC
5.4 Apr 27

Kirby is an open source CMS. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack co

CVE-2018-16628 MEDIUM POC
5.4 Dec 04

panel/login in Kirby v2.5.12 allows XSS via a blog name. Rated medium severity (CVSS 5.4), this vulnerability is remotel

CVE-2020-26255 CRITICAL
9.1 Dec 08

Kirby is a CMS. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitable, low attack complexity. T

CVE-2023-38488 HIGH
8.8 Jul 27

Kirby is a content management system. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low at

CVE-2018-16630 MEDIUM POC
4.8 Dec 28

Kirby v2.5.12 allows XSS by using the "site files" Add option to upload an SVG file. Rated medium severity (CVSS 4.8), t

CVE-2026-134765 HIGH
8.7 Nov 22

Stored cross-site scripting in Kirby CMS 5.0.0 through 5.6.3 lets authenticated users with file upload permissions race

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy