Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to Kirby REST API endpoint
-
DeliveryTrigger native PHP exception in error handler
-
ExploitUnsanitized exception message returned in JSON body
-
ExecutionRead absolute filesystem path from response
-
ImpactUse path for targeted reconnaissance or chained exploitation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection System info exposure prevention
|
| Exploitation Conditions | Exploitation requires that the Kirby REST API is active, which is the default configuration - sites that have explicitly added 'api' => false to their Kirby config are not affected. No authentication, elevated privileges, or user interaction is required; the CVSS 4.0 vector PR:N/UI:N confirms unauthenticated remote exploitation against default-configured Kirby installations. The disclosed information is limited to filesystem paths embedded in PHP exception messages; exploitation does not enable code execution, data modification, or denial of service. Both the 4.x and 5.x release tracks are vulnerable, with different fix versions for each branch. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) confirms unauthenticated, network-accessible exploitation with no attack complexity or user interaction required, reflecting the default-enabled state of the Kirby REST API. Impact is limited to low confidentiality disclosure (VC:L) - there is no integrity or availability impact. The 6.9 CVSS 4.0 score is proportionate: this is a genuine information-disclosure risk that reduces attacker reconnaissance effort and enables path-dependent follow-on attacks (LFI, targeted config harvesting), but is not directly exploitable for code execution or data manipulation. No EPSS score was provided in the intelligence data; no CISA KEV listing exists, and no public exploit has been identified - suggesting opportunistic exploitation is not yet occurring. The risk is highest for sites with predictable directory structures or collocated sensitive configuration files. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an HTTP request to a Kirby REST API route that triggers a native PHP exception - for example, by providing input that causes a file operation to fail. The error handler returns a JSON response containing the raw exception message, which includes the server's absolute filesystem path (e.g., 'Could not open /var/www/sites/kirby-prod/content/pages/home/home.txt'). The attacker records this path to target subsequent attacks, such as path traversal attempts or locating known Kirby configuration file locations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
Kirby CMS's REST API error handler exposes full server filesystem paths to unauthenticated remote users via unsanitized PHP exception messages. Affected are all Kirby installations on versions prior to 4.9.5 (4.x branch) and 5.0.0 through 5.5.1 (5.x branch) where the REST API has not been explicitly disabled. An attacker triggering a PHP-level error receives the raw exception message - including absolute paths such as '/var/www/kirby-site/content/' - enabling server directory enumeration that lowers the bar for chained attacks. No public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade to Kirby 4.9.5 (4.x branch) or Kirby 5.5.2 (5.x branch), both confirmed as fixed versions by the vendor advisory at https://github.com/getkirby/kirby/security/advisories/GHSA-rf2p-vh74-7vvh and by the fix commits at https://github.com/getkirby/kirby/commit/58f819988436b31969078bc4655452dd48546451. If an immediate upgrade is not possible, set 'api' => false in the site's Kirby configuration file to disable the REST API entirely - note this will break any headless, panel, or third-party integrations that depend on the API endpoint. No partial workaround that preserves API functionality while eliminating the disclosure has been documented by the vendor.
Affected VersionsENISA
Affected Packages
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
Kirby is a PHP flat-file CMS whose REST API is exposed via src/Api/Api.php. The root cause (CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere) is the responseForException() method calling $e->getMessage() unconditionally on any Throwable - including native PHP exceptions, which routinely embed absolute filesystem paths in their messages (e.g., 'Could not open /var/www/kirby/config.php'). The commit diff at GHSA-rf2p-vh74-7vvh shows the fix adds a three-way dispatch: Kirby's own typed exceptions (already safe), debug mode (message exposed but absolute paths disguised via the now-public disguiseFilePath() method), and production mode (message replaced by a generic I18n string). CPE cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* covers all Kirby variants across affected version ranges.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable, no auth required against default config; impact is path disclosure only, so C:L with no I or A impact and unchanged scope.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Kirby is an open-source content management system. Prior to 4.9.5 and from 5.0.0 through 5.5.1, the REST API error handler can return unsanitized PHP error messages that expose the full filesystem path of the Kirby installation to unauthenticated API users. This vulnerability affects all Kirby sites that have not disabled the REST API with the 'api' => false option. This issue is fixed in versions 4.9.5 and 5.5.2.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An arbitrary file upload vulnerability in the Profile Image module of Kirby CMS v4.1.0 allows attackers to execute arbit
An HTML injection vulnerability exists in the Edit Content Layout module of Kirby CMS v4.1.0. Rated high severity (CVSS
Kirby is an open-source content management system. Rated medium severity (CVSS 6.3), this vulnerability is remotely expl
A stored cross-site scripting (XSS) vulnerability in the Edit Content Layout module of Kirby CMS v4.1.0 allows attackers
panel/login in Kirby v2.5.12 allows Host header injection via the "forget password" feature. Rated medium severity (CVSS
Kirby is a content management system. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable, n
Kirby is an open source CMS. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack co
panel/login in Kirby v2.5.12 allows XSS via a blog name. Rated medium severity (CVSS 5.4), this vulnerability is remotel
Kirby is a CMS. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitable, low attack complexity. T
Kirby is a content management system. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low at
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
Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter. Rated medium severi
EUVD-2026-54577
GHSA-rf2p-vh74-7vvh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB