Skip to main content

CVE-2024-41964 — Kirby has insufficient permission checks in...

HIGH

Kirby has insufficient permission checks in the language settings

Published August 29, 2024Updated August 29, 2024Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.89%). Schedule for your next planned update.

Does your project use an affected getkirby/cms version?

Paste your composer.lock to check it for CVE-2024-41964 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

TL;DR

This vulnerability affects all Kirby sites with enabled languages option that might have potential attackers in the group of authenticated Panel users.

If you have disabled the languages and/or api option and don't call any methods in your code that cause a write access to languages (language creation, update or deletion), your site is not affected.


Introduction

Kirby allows to restrict the permissions of specific user roles. Users of that role can only perform permitted actions.

Permissions for creating and deleting languages have already existed and could be configured, but were not enforced by Kirby's frontend or backend code.

A permission for updating existing languages has not existed before the patched versions. So disabling the languages.* wildcard permission for a role could not have prohibited updates to existing language definitions.

Impact

The missing permission checks allowed attackers with Panel access to manipulate the language definitions.

The language definitions are at the core of multi-language content in Kirby. Unauthorized modifications with malicious intent can cause significant damage, for example:

  • If the languages option was enabled but no language exists, creating the first language will switch Kirby to multi-language mode.
  • Deleting an existing language will lead to content loss of all translated content in that language. Deleting the last language will switch Kirby to single-language mode.
  • Updating a language allows to change the metadata including the language slug (used in page URLs) and language variables. It also allows to change the default language, which will cause Kirby to use the new default language's content as a fallback for non-existing translations.

Depending on the site code, the result of such actions can cause loss of site availability (e.g. error messages in the site frontend) or integrity (due to changed URLs or removed translations).

Patches

The problem has been patched in Kirby 3.6.6.6, Kirby 3.7.5.5, Kirby 3.8.4.4, Kirby 3.9.8.2, Kirby 3.10.1.1, and Kirby 4.3.1. Please update to one of these or a later version to fix the vulnerability.

In all of the mentioned releases, we have added checks for the languages.create and languages.delete permissions that ensure that users without those permissions cannot perform the respective actions. We have also added a new languages.update permission.

Credits

Thanks to Sebastian Eberlein of JUNO (@SebastianEberlein-JUNO) for reporting the identified issue.

Advisory Timeline

  • First published August 29, 2024 (819 days ago).
  • Last revised August 29, 2024 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update getkirby/cms to 3.7.5.5 or later
composer require "getkirby/cms:^3.7.5.5"
Composer
Update getkirby/cms to 3.9.8.2 or later
composer require "getkirby/cms:^3.9.8.2"
Composer
Update getkirby/cms to 4.3.1 or later
composer require "getkirby/cms:^4.3.1"
Composer
Update getkirby/cms to 3.6.6.6 or later
composer require "getkirby/cms:^3.6.6.6"
Composer
Update getkirby/cms to 3.10.1.1 or later
composer require "getkirby/cms:^3.10.1.1"
Composer
Update getkirby/cms to 3.8.4.4 or later
composer require "getkirby/cms:^3.8.4.4"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
getkirby/cms Packagist · Affected: 3.7.0, 3.7.0.1, 3.7.0.2, 3.7.1 (+13 more)3.7.5.5
getkirby/cms Packagist · Affected: 3.9.0, 3.9.1, 3.9.1-rc.1, 3.9.2 (+15 more)3.9.8.2
getkirby/cms Packagist · Affected: 4.0.0, 4.0.1, 4.0.2, 4.0.3 (+10 more)4.3.1
getkirby/cms Packagist · Affected: 3.0.0, 3.0.1, 3.0.1-rc.1, 3.0.2 (+119 more)3.6.6.6
getkirby/cms Packagist · Affected: 3.10.0, 3.10.0.1, 3.10.13.10.1.1
getkirby/cms Packagist · Affected: 3.8.0, 3.8.1, 3.8.1-rc.1, 3.8.1.1 (+9 more)3.8.4.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Frequently Asked Questions

What is CVE-2024-41964?
Kirby has insufficient permission checks in the language settings. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2024-41964?
CVE-2024-41964 affects getkirby/cms. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-41964 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.89%
EPSS percentile: 57.4

This is an above-median EPSS score — 57.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-jm9m-rqr3-wfmh

Related CVEs

  • CVE-2026-54003
    CRITICAL

    Kirby: External Initialization of the Panel on reverse proxy setups with the `Forwarded` header

  • CVE-2026-103035
    HIGH

    TeamPass folder re-parenting authorization bypass

  • CVE-2026-44174
    HIGH

    Kirby CMS has an Arbitrary Method Call via REST API Search and Collection Query Endpoints

  • CVE-2026-44177
    HIGH

    Kirby CMS has pre-authentication path traversal and PHP file inclusion during user lookup

  • CVE-2026-34587
    HIGH

    Kirby has Server-Side Template Injection (SSTI) via double template resolution in option rendering

  • CVE-2026-110782
    HIGH

    SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)

  • CVE-2026-75592
    MEDIUM

    Kirby: Access to image files outside of the site root via path traversal in the media handling

  • CVE-2026-32870
    MEDIUM

    Kirby has XML injection in its XML creator toolkit

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock