---
id: CVE-2026-42269
title: >-
  countly-server is the server-side part of Countly, a product analytics
  solution
summary: >-
  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 …
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-22
vendor: Countly
product: countly-server
affected:
  - countly-server < 24.05.50
  - 'countly-server >= 25.03, < 25.03.44'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:02:37.630'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42269'
references:
  - url: >-
      https://github.com/Countly/countly-server/blob/master/CHANGELOG.md#version-250344
    label: security-advisories@github.com
  - url: >-
      https://github.com/Countly/countly-server/commit/764e2a1d86f9af600113f77422d520338c214229
    label: security-advisories@github.com
  - url: >-
      https://github.com/Countly/countly-server/commit/b652ee8dafa91602705004d0edb602a91a0d845e
    label: security-advisories@github.com
  - url: 'https://github.com/Countly/countly-server/releases/tag/24.05.50'
    label: security-advisories@github.com
  - url: 'https://github.com/Countly/countly-server/releases/tag/25.03.44'
    label: security-advisories@github.com
  - url: >-
      https://github.com/Countly/countly-server/security/advisories/GHSA-5pmc-54j6-jcgq
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
epss: 0.00469
epssPercentile: 0.40401
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T16:32:12.813140Z'
ingestedAt: '2026-10-16T17:24:46.966Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
