{"id":"CVE-2025-30207","published":"2025-05-13T15:20:00Z","modified":"2025-05-13T19:37:09Z","title":"Kirby vulnerable to path traversal in the router for PHP's built-in server","vendor":"getkirby","product":"kirby","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00598,"percentile":0.4959,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-9p3p-w5jf-8xxg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getkirby/kirby/releases/tag/3.10.1.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/releases/tag/3.9.8.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/releases/tag/4.7.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":9.92},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"getkirby","affectedVersions":[{"vendor":"getkirby","product":"kirby","versions":["< 3.9.8.3",">= 3.10.0, < 3.10.1.2",">= 4.0.0, < 4.7.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-13T19:36:16.796341Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getkirby/cms","vulnerableRanges":["<3.9.8.3",">=3.10.0, <3.10.1.2",">=4.0.0, <4.7.1"],"patched":["3.9.8.3","3.10.1.2","4.7.1"],"from":["GHSA-9p3p-w5jf-8xxg"],"provenance":"source"}],"summary":{"text":"Kirby, an open-source content management system, has a path traversal flaw in its router that affects only installations running on PHP's built-in development server, not sites served by Apache, nginx or Caddy. Because the router lacked a check that existing files lie within the document root, it passed requests for files outside that root to PHP, and an attacker with network access to such a setup, with no authentication or user interaction required, could determine whether arbitrary files accessible to the PHP process exist on the server, though file contents were not exposed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:09Z"},"euvd":{"id":"EUVD-2025-14509","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-26483","published":"2024-02-22","fixed":"4.1.1","kev":false},{"cve":"CVE-2024-27087","published":"2024-02-26","fixed":"4.1.1","kev":false},{"cve":"CVE-2024-41964","published":"2024-08-29","fixed":"4.3.1","kev":false,"link":{"from":"CVE-2024-41964","to":"CVE-2025-30207","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getkirby/cms","fromFixed":"3.9.8.2","toFixed":"3.9.8.3","daysApart":257},{"kind":"version-step","provenance":"source","package":"Packagist:getkirby/cms","fromFixed":"4.3.1","toFixed":"4.7.1","daysApart":257}]}},{"cve":"CVE-2025-30207","published":"2025-05-13","fixed":"4.7.1","kev":false},{"cve":"CVE-2025-31493","published":"2025-05-13","fixed":"4.7.1","kev":false},{"cve":"CVE-2025-65012","published":"2025-11-18","fixed":"5.1.4","kev":false},{"cve":"CVE-2026-21896","published":"2026-01-08","fixed":"5.2.2","kev":false}],"package":"Packagist:getkirby/cms"}}