Path traversal in countly-server lets users delete files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
countly-server before 24.05.50 and from 25.03 before 25.03.44 is affected. The data migration deletion route passes a user-supplied exportid into a file path without validation, so the path resolves outside the import directory and is removed recursively (CWE-22). An authenticated application administrator or user with migration permission can delete writable files or directory trees, causing data loss or service disruption.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade countly-server to version 24.05.50 or 25.03.44, which fix this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA countly-server (Countly) Fixed in 24.05.50, 25.03.44
Timeline
- 2026-10-16 Threatist record created from CVE-2026-42269
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: MEDIUM → LOW
References
Other 6
- https://github.com/Countly/countly-server/security/advisories/GHSA-5pmc-54j6-jcgq
- https://github.com/Countly/countly-server/commit/764e2a1d86f9af600113f77422d520338c214229
- https://github.com/Countly/countly-server/commit/b652ee8dafa91602705004d0edb602a91a0d845e
- https://github.com/Countly/countly-server/blob/master/CHANGELOG.md#version-250344
- https://github.com/Countly/countly-server/releases/tag/24.05.50
- https://github.com/Countly/countly-server/releases/tag/25.03.44
More Countly vulnerabilities
- TI-2026-75341 Stored XSS in countly-server feedback upload exposes global admin session CVSS 3.1CRITICAL 9.0
- TI-2026-75340 Unauthenticated denial of service in countly-server image routes CVSS 3.1HIGH 7.5
- TI-2026-75338 Path traversal in countly-server exposes arbitrary server files CVSS 3.1HIGH 7.5
- TI-2026-59922 Incorrect authorization in countly-server CVSS 4.0HIGH 7.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences