Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getkirby/cms
  4. ›
  5. CVE-2025-30207

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

May 13, 2025

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

References

  • github.com/advisories/GHSA-9p3p-w5jf-8xxg
  • github.com/getkirby/kirby
  • github.com/getkirby/kirby/commit/3ebc9ad3f5adcbd4838ce60219f1c9a561231235
  • github.com/getkirby/kirby/releases/tag/3.10.1.2
  • github.com/getkirby/kirby/releases/tag/3.9.8.3
  • github.com/getkirby/kirby/releases/tag/4.7.1
  • github.com/getkirby/kirby/security/advisories/GHSA-9p3p-w5jf-8xxg
  • nvd.nist.gov/vuln/detail/CVE-2025-30207

Code Behaviors & Features

Detect and mitigate CVE-2025-30207 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.9.8.3, all versions starting from 3.10.0 before 3.10.1.2, all versions starting from 4.0.0 before 4.7.1

Fixed versions

  • 3.9.8.3
  • 3.10.1.2
  • 4.7.1

Solution

Upgrade to versions 3.10.1.2, 3.9.8.3, 4.7.1 or above.

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative Path Traversal

Source file

packagist/getkirby/cms/CVE-2025-30207.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.