← Back to search

CVE-2026-42269

8.1 HIGHpublic exploit available

Published 2026-10-16 · Updated 2026-10-16

AI risk analysis

Summary
An authenticated user with migration permissions can delete arbitrary files on the server by providing a crafted exportid parameter to the data-migration deletion endpoint, as the application fails to validate the path before recursively removing files.
Exploitability
Exploitation requires valid credentials and the 'migration' permission, but otherwise is straightforward due to lack of path validation.
Blast radius
Successful exploitation allows deletion of writable files or directories, potentially causing data loss or service disruption depending on file locations and permissions.
Detection
Monitor logs for calls to the data-migration deletion endpoint with exportid values containing directory traversal sequences (e.g., '..') or unexpected absolute paths; look for subsequent file removal events in system logs.
Prioritized remediation
Upgrade to countly-server version 24.05.50 or 25.03.44 (or later) to receive the path validation fix.
path-traversalauth-bypassdeletionweb

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Weaknesses

CWE-22

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.