# CVE-2025-30207: Kirby vulnerable to path traversal in the router for PHP's built-in server

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2025-05-13T15:20:00.707Z
- Modified: 2026-06-17T09:08:21.400Z
- Also known as: GHSA-9p3p-w5jf-8xxg
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- getkirby kirby: < 3.9.8.3; >= 3.10.0, < 3.10.1.2; >= 4.0.0, < 4.7.1; before 3.9.8.3; from 3.10.0 before 3.10.1.2; from 4.0.0 before 4.7.1
- getkirby/cms (Packagist): before 3.9.8.3; from 3.10.0 before 3.10.1.2; from 4.0.0 before 4.7.1

## Every score

- GitHub_M: CVSS:4.0 2.3 Low `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`
- GitHub: CVSS:4.0 Low `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/getkirby/kirby/security/advisories/GHSA-9p3p-w5jf-8xxg> (vendor-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2025-30207> (advisory)
- <https://github.com/getkirby/kirby/commit/3ebc9ad3f5adcbd4838ce60219f1c9a561231235> (web)
- <https://github.com/getkirby/kirby> (package)

## Sources

- CVE List: [CVE-2025-30207](https://www.cve.org/CVERecord?id=CVE-2025-30207), CVE Terms of Use, modified 2025-05-13
- GitHub Advisory Database: [GHSA-9p3p-w5jf-8xxg](https://github.com/advisories/GHSA-9p3p-w5jf-8xxg), CC-BY-4.0, modified 2025-05-13
- NVD: [CVE-2025-30207](https://nvd.nist.gov/vuln/detail/CVE-2025-30207), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30207 · Whole record: https://cve.day/CVE-2025-30207.json · Rebuilt by cve.day 2026-11-25T22:58:57.973Z
