CVE-2026-42269
published high CVSS 3.1 · 8.1countly-server: Path Traversal in delete_import Endpoint Allows Arbitrary File and Directory Deletion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Countly | — | countly-server< 24.05.50 · >= 25.03, < 25.03.44 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Countly | countly-server | < 24.05.50 (affected)>= 25.03, < 25.03.44 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- https://github.com/Countly/countly-server/blob/master/CHANGELOG.md#version-250344
- https://github.com/Countly/countly-server/commit/764e2a1d86f9af600113f77422d520338c214229
- https://github.com/Countly/countly-server/commit/b652ee8dafa91602705004d0edb602a91a0d845e
- https://github.com/Countly/countly-server/releases/tag/24.05.50
- https://github.com/Countly/countly-server/releases/tag/25.03.44
- https://github.com/Countly/countly-server/security/advisories/GHSA-5pmc-54j6-jcgq
Provider assertions
2GitHub_M · cna
countly-server: Path Traversal in delete_import Endpoint Allows Arbitrary File and Directory Deletion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7fa6149afdbb0a783cf42592e089657fae32d7508967061973152220ef520aa6
- Ingested
- 16 Oct 2026, 17:19:20 UTC
- Source record
- Official CVE record