CVE-2025-30159
Last modified
CVE-2025-30159 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 `snippet()` helper or `$kirby->snippet()` method with a dynamic snippet name (such as a snippet name that depends on request or user data). EPSS estimates a 0.58% 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 `snippet()` helper or `$kirby->snippet()` method with a dynamic snippet name (such as a snippet name that depends on request or user data). Sites that only use fixed calls to the `snippet()` helper/`$kirby->snippet()` method (i.e. calls with a simple string for the snippet 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 snippets 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 snippet names, such as `snippet('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, Kirby maintainers have added a check for the snippet path that ensures that the resulting path is contained within the configured snippets root. Snippet paths that point outside of the snippets 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
- https://github.com/getkirby/kirby/releases/tag/4.7.1Release Notes
- https://github.com/getkirby/kirby/security/advisories/GHSA-fw82-87p8-v6hpExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-30159?
How severe is CVE-2025-30159?
How do I fix CVE-2025-30159?
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-30152The Syliud PayPal Plugin is the Sylius Core Team’s plugin fo…6.5
- CVE-2025-30153kin-openapi is a Go project for handling OpenAPI files. Prio…7.5
- CVE-2025-30154reviewdog/action-setup is a GitHub action that installs revi…8.6
- CVE-2025-30155Tuleap is an Open Source Suite to improve management of soft…4.3
- CVE-2025-30157Envoy is a cloud-native high-performance edge/middle/service…7.5
- CVE-2025-30158NamelessMC is a free, easy to use & powerful website softwar…7.1
- CVE-2025-3016A vulnerability classified as problematic was found in Open …6.5
- CVE-2025-30160Redlib is an alternative private front-end to Reddit. A vuln…7.5
- CVE-2025-30161OpenEMR is a free and open source electronic health records …5.4
- CVE-2025-30162Cilium is a networking, observability, and security solution…4.3
- CVE-2025-30163Cilium is a networking, observability, and security solution…4.7
- CVE-2025-30164Icinga Web 2 is an open source monitoring web interface, fra…6.1
Are you affected by CVE-2025-30159?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
