CVE-2025-31493
Last modified
CVE-2025-31493 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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 sites that use the `collection()` helper or `$kirby->collection()` method with a dynamic collection name (such as a collection name that depends on request or user data). EPSS estimates a 0.48% chance of exploitation in the next 30 days.
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 sites that use the `collection()` helper or `$kirby->collection()` method with a dynamic collection name (such as a collection name that depends on request or user data). Sites that only use fixed calls to the `collection()` helper/`$kirby->collection()` method (i.e. calls with a simple string for the collection name) are *not* affected. A missing path traversal check allowed attackers to navigate and access all files on the server that were accessible to the PHP process, including files outside of the collections root or even outside of the Kirby installation. PHP code within such files was executed. Such attacks first require an attack vector in the site code that is caused by dynamic collection names, such as `collection('tags-' . get('tags'))`. It generally also requires knowledge of the site structure and the server's file system by the attacker, although it can be possible to find vulnerable setups through automated methods such as fuzzing. In a vulnerable setup, this could cause damage to the confidentiality and integrity of the server. 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 added a check for the collection path that ensures that the resulting path is contained within the configured collections root. Collection paths that point outside of the collections root will not be loaded.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getkirby | Kirby | < 3.9.8.3 |
| Getkirby | Kirby | >= 3.10.0, < 3.10.1.2 |
| Getkirby | Kirby | >= 4.0.0, < 4.7.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-31493?
How severe is CVE-2025-31493?
How do I fix CVE-2025-31493?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-31488Plain Craft Launcher (PCL) is a launcher for Minecraft. PCL …4.9
- CVE-2025-31489MinIO is a High Performance Object Storage released under GN…8.7
- CVE-2025-3149A vulnerability was found in itning Student Homework Managem…4.8
- CVE-2025-31490AutoGPT is a platform that allows users to create, deploy, a…7.5
- CVE-2025-31491AutoGPT is a platform that allows users to create, deploy, a…8.6
- CVE-2025-31492mod_auth_openidc is an OpenID Certified authentication and a…8.2
- CVE-2025-31494AutoGPT is a platform that allows users to create, deploy, a…3.5
- CVE-2025-31496apollo-compiler is a query-based compiler for the GraphQL qu…7.5
- CVE-2025-31497TEIGarage is a webservice and RESTful service to transform, …7.5
- CVE-2025-31498c-ares is an asynchronous resolver library. From 1.32.3 thro…8.3
- CVE-2025-31499Jellyfin is an open source self hosted media server. Version…8.8
- CVE-2025-3150A vulnerability was found in itning Student Homework Managem…5.3
Are you affected by CVE-2025-31493?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
