Description
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.
Published: 2026-08-07
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Kirby is an open‑source content management system that, before version 4.9.5 and between 5.0.0 and 5.5.1, returned unsanitized PHP error messages from its REST API to any unauthenticated user. The error handler could reveal the complete file system path of the Kirby installation, exposing sensitive setup information. This flaw is a classic case of CWE‑497, where unvalidated input is echoed in an error response. An attacker who can trigger an error via the REST endpoint learns the precise location of the application on the host, which can be leveraged for subsequent exploits such as path traversal or file inclusion. The primary impact is disclosure of internal paths, potentially aiding further attacks but not directly permitting code execution or privilege escalation.

Affected Systems

All installations of Kirby CMS dated prior to 4.9.5 or between 5.0.0 and 5.5.1 that have the REST API enabled (the default configuration has "api" enabled). Sites using the official "getkirby:kirby" package and not disabling the API are vulnerable.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate risk. EPSS information is not available, and the vulnerability is not listed in CISA KEV, implying no publicly known exploits at this time. The attack vector is unauthenticated access through the publicly exposed REST API; any user can trigger the error handler by sending malformed requests. While the exposed path does not allow direct code execution, it provides convenient reconnaissance data for attackers to craft more targeted attacks. Overall, the threat is significant enough to warrant prompt remediation.

Generated by OpenCVE AI on August 7, 2026 at 21:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Kirby to version 4.9.5 or later, or 5.5.2 or later, to apply the fixed error handler.
  • If upgrading is not possible, disable the REST API by setting "api" => false in the Kirby configuration file.
  • Ensure that any remaining error output is sanitized so that file system paths do not appear in public error messages.

Generated by OpenCVE AI on August 7, 2026 at 21:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Getkirby
Getkirby kirby
Vendors & Products Getkirby
Getkirby kirby

Fri, 07 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Kirby: System path exposure from error messages in the REST API
Weaknesses CWE-497
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T18:56:25.591Z

Reserved: 2026-08-03T15:20:30.217Z

Link: CVE-2026-69127

cve-icon Vulnrichment

Updated: 2026-08-07T18:56:21.993Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T21:15:03Z

Weaknesses
  • CWE-497

    Exposure of Sensitive System Information to an Unauthorized Control Sphere