# CVE-2026-42269: Countly Server path traversal in data migration deletion

Source: https://junglewise.ai/threats/cve-2026-42269-countly-server-is-the-server-side-part-of-countly-a-product  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-16. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-42269 · Severity: high · CVSS 8.1 · Published 2026-10-16

Countly Server is a product analytics platform that collects and analyzes user behavior data. An authenticated administrator or user with migration permissions can exploit a path traversal flaw in the data-migration deletion feature to delete arbitrary files and directories on the server, causing data loss or complete service disruption.

Technologies: [Countly-Server](https://junglewise.ai/threats/technologies/countly-server). Vendors: [Countly](https://junglewise.ai/threats/vendors/countly).

## Quick answers

**Is CVE-2026-42269 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-42269 being exploited in the wild.

**How severe is CVE-2026-42269?** High severity, with a CVSS score of 8.1, published 16 October 2026.

**Which products and versions are affected?** Countly-Server before 24.05.50 and 25.03.44.

**Is there a fix for CVE-2026-42269?** Yes: fixed in 24.05.50, 25.03.44. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-42269 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-42269?** Check whether you run Countly-Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 24.05.50, 25.03.44

## Technical details

The data-migration deletion route in plugins/data_migration/api/api.js passes an unsanitized user-controlled exportid parameter to a path concatenation operation without validation, allowing traversal outside the intended import directory. An attacker with authentication and migration permissions can craft a malicious exportid containing path traversal sequences (e.g., ../) to target and recursively delete files or directory trees via the clean_up_data function.

## Affected products

- Countly Server before 24.05.50 and 25.03.44

## Timeline

- 2026-10-16: disclosed

## References

- [https://github.com/Countly/countly-server/blob/master/CHANGELOG.md](https://github.com/Countly/countly-server/blob/master/CHANGELOG.md)
- [https://github.com/Countly/countly-server/commit/764e2a1d86f9af600113f77422d520338c214229](https://github.com/Countly/countly-server/commit/764e2a1d86f9af600113f77422d520338c214229)

## Related threats

- [Countly countly-server stored XSS in star-rating feedback upload](https://junglewise.ai/threats/cve-2026-44977-countly-server-is-the-server-side-part-of-countly-a-product)
- [Countly Server unhandled stream error in image routes DoS](https://junglewise.ai/threats/cve-2026-42270-countly-server-is-the-server-side-part-of-countly-a-product)
- [Countly countly-server path traversal in image routes](https://junglewise.ai/threats/cve-2026-41582-countly-server-is-the-server-side-part-of-countly-a-product)
