CVE-2025-30207
LOW 2.3CVSS 4.0Kirby vulnerable to path traversal in the router for PHP's built-in server
Kirby is an open-source content management system. A vulnerability in versions prior to 3.9.8.3, 3.10.1.2, and 4.7.1 affects all Kirby setups that use PHP's built-in server. Such setups are commonly only used during local development. Sites that use other server software (such as Apache, nginx or Caddy) are not affected. A missing path traversal check allowed attackers to navigate all files on the server that were accessible to the PHP process, including files outside of the Kirby installation. The vulnerable implementation delegated all existing files to PHP, including existing files outside of the document root. This leads to a different response that allows attackers to determine whether the requested file exists. Because Kirby's router only delegates such requests to PHP and does not load or execute them, contents of the files were not exposed as PHP treats requests to files outside of the document root as invalid. The problem has been patched in Kirby 3.9.8.3, Kirby 3.10.1.2, and Kirby 4.7.1. In all of the mentioned releases, the maintainers of Kirby have updated the router to check if existing static files are within the document root. Requests to files outside the document root are treated as page requests of the error page and will no longer allow to determine whether the file exists or not.
- Published
- 13 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-9p3p-w5jf-8xxg
- Sources
- NVDJSONOSV GHSA-9p3p-w5jf-8xxgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getkirby | kirbycpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* |
< 3.9.8.3 | 3.9.8.3 |
| NVD | getkirby | kirbycpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* |
>= 3.10.0, < 3.10.1.2 | 3.10.1.2 |
| NVD | getkirby | kirbycpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.7.1 | 4.7.1 |
| OSV | Packagist | getkirby/cms | < 3.9.8.3 | 3.9.8.3 |
| OSV | Packagist | getkirby/cms | >= 3.10.0, < 3.10.1.2 | 3.10.1.2 |
| OSV | Packagist | getkirby/cms | >= 4.0.0, < 4.7.1 | 4.7.1 |
References
- https://github.com/getkirby/kirby/releases/tag/3.10.1.2 · Release Notes, WEB
- https://github.com/getkirby/kirby/releases/tag/3.9.8.3 · Release Notes, WEB
- https://github.com/getkirby/kirby/releases/tag/4.7.1 · Release Notes, WEB
- https://github.com/getkirby/kirby/security/advisories/GHSA-9p3p-w5jf-8xxg · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-30207 · ADVISORY
- https://github.com/getkirby/kirby/commit/3ebc9ad3f5adcbd4838ce60219f1c9a561231235 · WEB
- https://github.com/getkirby/kirby · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 May 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2025)