Vulnerability · Published Oct 16, 2026 · Assigned by GitHub_M
CVE-2026-42269countly-server: Path Traversal in delete_import Endpoint Allows Arbitrary File and Directory Deletion
High 8.1
In plain English
A high-severity path traversal in countly-server from Countly. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Countly | countly-server | < 24.05.50>= 25.03, < 25.03.44 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
References
- https://github.com/Countly/countly-server/security/advisories/GHSA-5pmc-54j6-jcgq x_refsource_CONFIRM
- https://github.com/Countly/countly-server/commit/764e2a1d86f9af600113f77422d520338c214229 x_refsource_MISC
- https://github.com/Countly/countly-server/commit/b652ee8dafa91602705004d0edb602a91a0d845e x_refsource_MISC
- https://github.com/Countly/countly-server/blob/master/CHANGELOG.md#version-250344 x_refsource_MISC
- https://github.com/Countly/countly-server/releases/tag/24.05.50 x_refsource_MISC
- https://github.com/Countly/countly-server/releases/tag/25.03.44 x_refsource_MISC