All vulnerabilities

Servers and applications

GHSA-4wg7-c5fw-wm4q

File existence disclosure via the router for PHP's built-in server

Severity
Low 2.3
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
18 Nov 2026
Fixed in
4.9.8, 5.6.4
Weakness
Path traversal (CWE-22)
Attack
From the same local network · Only under certain conditions · No login needed · No user action needed
CVSS 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
Sources
Project advisories (GitHub)

Description

Anyone who can reach a Kirby site served by PHP's built-in server can find out whether certain files next to the site exist.

  • Can find out whether such a file exists
  • Can find out whether a file with a known or guessed name (e.g. backup.sql) exists in such a folder
  • Cannot read, change or delete these files
  • Cannot list the contents of these folders
  • Cannot learn anything about other files or folders outside the document root
From getkirby/kirby's security advisory.

Workarounds

  • Bind PHP's built-in server to localhost.
  • Run PHP's built-in server on PHP 8.4 or newer.
  • Rename files and folders next to the document root whose names start with the document root's name.
Workarounds as given by getkirby/kirby's security advisory.

Affected software

SoftwareAffected versions
KirbyServers and applications · github:getkirby/kirby
  • From 4.7.1 before 4.9.8
  • From 5.0.0 before 5.6.4

About Kirby

proprietary flat-file content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
52,017Packagist, 15 Nov 2026
Total downloads (Packagist)
731,120Packagist, 15 Nov 2026
GitHub stars
1,539GitHub, 15 Nov 2026
Forks
195GitHub, 15 Nov 2026
Latest release
5.6.3GitHub, 15 Nov 2026
Released
5 Nov 2026GitHub
Written in
PHP, Vue.jsWikidata
First published on GitHub
6 Oct 2017GitHub

Release lines

ReleaseLatestSecurity fixes
55.6.3Yes
3.103.10.1.2Ended 27 Nov 2025
4 (A new era)4.9.7Until 28 Nov 2026
3.9 (Brookesia)3.9.8.3Ended 27 Nov 2025
3.8 (Rhampholeon)3.8.4.4Ended 16 Jan 2025
3.7 (Kinyongia)3.7.5.5Ended 5 Oct 2024

From endoflife.date.

References