CVE-2026-42269
HighCVSS 8.1Summary
In countly-server, the authenticated data-migration deletion route passes the user-controlled exportid to clean_up_data without path validation. The identifier is concatenated into a path resolved outside the intended import directory and removed recursively, allowing an application administrator or user with migration permission to delete writable files or directory trees. Fixed in 24.05.50 and 25.03.44.
Risk Assessment
A user with migration permission can cause data loss or service disruption by deleting arbitrary writable files.
Recommendation
Update countly-server to version 24.05.50 or 25.03.44 (or later). Restrict migration permissions to trusted administrators.
Other vulnerabilities in countly-server
See all- CVE-2026-42270High
In countly-server, public image and screenshot routes using the local fs storage backend call getStream and pipe filesystem streams to HTTP responses without an error listener. An unauthenticated request containing a URL-encoded dot can make createReadStream open a directory, emit an asynchronous EISDIR error, and terminate the Node.js process as an unhandled exception. Fixed in 24.05.50 and 25.03.44.
- CVE-2026-41582High
In countly-server, public image and screenshot routes concatenate attacker-controlled wildcard paths without containment validation. On deployments using the local filesystem backend, an unauthenticated request can traverse outside the intended asset directories and reach getStats or getStream, allowing arbitrary readable server files to be disclosed. Fixed in 24.05.50 and 25.03.44.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

