countly-server: Path Traversal in delete_import Endpoint Allows Arbitrary File and Directory Deletion
Summary
| CVE | CVE-2026-42269 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-16 16:17:23 UTC |
| Updated | 2026-10-16 20:02:37 UTC |
| Description | countly-server is the server-side part of Countly, a product analytics solution. Prior to 24.05.50 and 25.03.44, the authenticated data-migration deletion route in plugins/data_migration/api/api.js passes the user-controlled exportid to clean_up_data without path validation. plugins/data_migration/api/data_migration_helper.js concatenates that identifier into a path resolved outside the intended import directory and calls remove recursively, allowing an application administrator or user with migration permission to delete writable files or directory trees and cause data loss or service disruption. This issue is fixed in versions 24.05.50 and 25.03.44. |
Risk And Classification
Primary CVSS: v3.1 8.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Problem Types: CWE-22 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Countly | Countly-server | affected < 24.05.50 | Not specified |
| CNA | Countly | Countly-server | affected >= 25.03, < 25.03.44 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/Countly/countly-server/releases/tag/24.05.50 | [email protected] | github.com | |
| github.com/Countly/countly-server/commit/b652ee8dafa91602705004d0edb602a... | [email protected] | github.com | |
| github.com/Countly/countly-server/commit/764e2a1d86f9af600113f77422d5203... | [email protected] | github.com | |
| github.com/Countly/countly-server/releases/tag/25.03.44 | [email protected] | github.com | |
| github.com/Countly/countly-server/blob/master/CHANGELOG.md | [email protected] | github.com | |
| github.com/Countly/countly-server/security/advisories/GHSA-5pmc-54j6-jcgq | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.