CVE-2026-69127

Kirby: System path exposure from error messages in the REST API

Published Aug 7, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-rf2p-vh74-7vvh Kirby: System path exposure from error messages in the REST API
History
Type Values Removed Values Added
First Time appeared Getkirby
Getkirby kirby
Vendors & Products Getkirby
Getkirby kirby
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-497

    Exposure of Sensitive System Information to an Unauthorized Control Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 10:11 PM
Reserved
Aug 3, 2026, 3:20 PM
Status
Deferred
Published
Aug 7, 2026, 7:18 PM
Modified
Oct 24, 2026, 4:10 PM