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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.3
- **CVSS:** 2.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.92% (percentile 58, 2026-11-26)
- **CWE:** CWE-22, CWE-23
- **Aliases:** GHSA-9p3p-w5jf-8xxg
- **Published:** 2025-05-13T15:20:00.707Z
- **Modified:** 2026-06-17T09:08:21.400Z

## Who should check

- Projects that depend on Packagist package getkirby/cms (\< 3.9.8.3)
- Anyone running getkirby kirby \< 3.9.8.3; \>= 3.10.0, \< 3.10.1.2; \>= 4.0.0, \< 4.7.1

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

## Affected and fixed versions

- Packagist `getkirby/cms`: affected \< 3.9.8.3; fixed 3.9.8.3, 3.10.1.2, 4.7.1 (osv)
- getkirby kirby: \< 3.9.8.3; \>= 3.10.0, \< 3.10.1.2; \>= 4.0.0, \< 4.7.1 (cvelist)

## Mitigation

- Upgrade getkirby/cms to one of 3.9.8.3, 3.10.1.2, 4.7.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-30207. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-30207.md
Affected: getkirby/cms < 3.9.8.3
Fixed in: 3.9.8.3, 3.10.1.2, 4.7.1

Steps:
1. Search this machine and project for getkirby/cms (Packagist), getkirby kirby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-30207 being exploited?

There is no confirmed exploitation: CVE-2025-30207 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-30207?

Low: CVSS 2.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-30207?

getkirby/cms \< 3.9.8.3.

### Is there a fix for CVE-2025-30207?

Yes. Fixed in 3.9.8.3, 3.10.1.2, 4.7.1. Upgrade getkirby/cms to one of 3.9.8.3, 3.10.1.2, 4.7.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-30207?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/getkirby/kirby/security/advisories/GHSA-9p3p-w5jf-8xxg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-30207>
- patch: <https://github.com/getkirby/kirby/commit/3ebc9ad3f5adcbd4838ce60219f1c9a561231235>
- other: <https://github.com/getkirby/kirby/releases/tag/3.10.1.2>
- other: <https://github.com/getkirby/kirby/releases/tag/3.9.8.3>
- other: <https://github.com/getkirby/kirby/releases/tag/4.7.1>
- other: <https://github.com/getkirby/kirby>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-30207>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9p3p-w5jf-8xxg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-30207> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-30207>
