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.
Published: 2026-10-16
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: Arbitrary file and directory deletion
Action: Immediate Patch
AI Analysis

Impact

An authenticated delete_import request in Countly server versions prior to 24.05.50 and 25.03.44 lacks proper path validation. The endpoint forwards a user‑controlled export identifier to a cleanup routine that concatenates the identifier into a filesystem path and invokes a recursive removal. An application administrator or any user with migration permissions can thus craft a request that causes the server to delete arbitrary writable files or entire directory trees, resulting in data loss or service disruption. The vulnerability is a classic path traversal flaw (CWE‑22).

Affected Systems

Countly server, specifically all releases older than 24.05.50 and 25.03.44, are affected. The problem resides in the plugins/data_migration API handling of export identifiers.

Risk and Exploitability

The vulnerability is rated a high CVSS score of 8.1 and is not currently listed in the CISA KEV catalog. Exploitation requires authenticated access with migration privileges, so the attack is limited to privileged users. Once the flaw is leveraged, an attacker can delete critical configuration files or data directories, causing permanent loss and downtime. The lack of an EPSS score means the precise likelihood of exploitation is uncertain, but any environment exposing the delete_import endpoint to administrators or migration users represents a significant risk.

Generated by OpenCVE AI on October 16, 2026 at 17:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Countly server to version 24.05.50 or newer, or 25.03.44 or newer, to receive the path‑validation fix.
  • Restrict the migration permission to only trusted administrators and audit who is granted that role.
  • Ensure the service user running Countly has no write permissions to directories that should not be deletable by the application, providing an additional layer of protection if the URL remains exposed.

Generated by OpenCVE AI on October 16, 2026 at 17:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title countly-server: Path Traversal in delete_import Endpoint Allows Arbitrary File and Directory Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T17:05:51.713Z

Reserved: 2026-04-26T11:53:27.706Z

Link: CVE-2026-42269

cve-icon Vulnrichment

Updated: 2026-10-16T16:32:13.803Z

cve-icon NVD

Status : Received

Published: 2026-10-16T16:17:23.783

Modified: 2026-10-16T18:17:57.747

Link: CVE-2026-42269

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T18:00:16Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')