
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
Kirby, an open-source content management system, disclosed a path traversal vulnerability (CVE-2025-31493) affecting versions prior to 3.9.8.3, 3.10.1.2, and 4.7.1. The vulnerability affects all Kirby sites that use the collection() helper or $kirby->collection() method with a dynamic collection name. Sites that only use fixed calls to these methods with simple string parameters are not affected. The vulnerability was discovered and disclosed on May 13, 2025 (GitHub Advisory).
The vulnerability stems from a missing path traversal check in the collection() helper and $kirby->collection() method. When processing dynamic collection names, the system failed to properly validate path elements, allowing attackers to use special sequences like '../' to navigate outside the configured collections root. The vulnerability has been assigned a CVSS v4.0 base score of 6.3 (Medium) with the vector string CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N (GitHub Advisory).
The vulnerability allows attackers to navigate and access all files on the server that are accessible to the PHP process, including files outside of the collections root or the Kirby installation. When exploited, attackers can execute PHP code within accessed files, potentially mapping the server's file system, accessing sensitive configuration files containing security tokens, and causing unintended execution of PHP scripts. The attack requires an initial vector in the site code through dynamic collection names, such as collection('tags-' . get('tags')) (GitHub Advisory).
The vulnerability has been patched in Kirby versions 3.9.8.3, 3.10.1.2, and 4.7.1. The fix implements a check for collection paths to ensure they remain contained within the configured collections root. Any collection paths that point outside of the collections root will not be loaded. Users are advised to update to one of these patched versions or later releases (GitHub Release).
The security community acknowledged the responsible disclosure by Bruno Meilick (@bnomei) and Tobias Möritz (@tobimori), who brought this attack vector to the attention of the Kirby team (GitHub Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”