BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-31493 in Getkirby Kirby

Critical 9.1

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
CVSS v46.3
EPSS0.9%
EPSS percentile59th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Getkirby Kirby < 3.9.8.3 ≥ 3.10.0, < 3.10.1.2 ≥ 4.0.0, < 4.7.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-31493
BreachSpider IDBS-2025-GLOBAL-039949-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2025-05-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

CWE-23: CWE-23

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22, CWE-23

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-139 Relative Path Traversal via CWE-23

Show all 6

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Kirby CMS versions prior to 3.9.8.3, 3.10.1.2, and 4.7.1 are vulnerable to an issue affecting sites that use the `collection()` helper or `$kirby->collection()` method with dynamic collection names. This can lead to unauthorized access or data leakage.

An attacker can exploit this vulnerability by manipulating the collection name parameter, which is dynamically generated based on user input or request data. This can result in unauthorized access to sensitive data or manipulation of the data retrieved by the collection method.

Questions

What is CVE-2025-31493?

Kirby CMS versions prior to 3.9.8.3, 3.10.1.2, and 4.7.1 are vulnerable to an issue affecting sites that use the `collection()` helper or `$kirby->collection()` method with dynamic collection names. This can lead to unauthorized access or data leakage.

What is the CVSS score for CVE-2025-31493?

CVE-2025-31493 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.9%.

Is CVE-2025-31493 actively exploited?

No confirmed active exploitation of CVE-2025-31493 as of 2026-09-25.

How do I remediate CVE-2025-31493?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2025-31493?

CVE-2025-31493 affects Getkirby Kirby.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Getkirby","product":"Kirby","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.