{"id":"CVE-2026-41582","kind":"vulnerability","aliases":["CVE-2026-41582"],"related":[],"title":"Countly server: unauthenticated path traversal reads arbitrary server files","description":"countly-server is the server-side part of Countly, a product analytics solution. Prior to 24.05.50 and 25.03.44, public image and screenshot routes implemented in frontend/express/app.js, plugins/star-rating/frontend/app.js, and plugins/dashboards/frontend/app.js concatenate attacker-controlled wildcard paths without containment validation. On deployments using the local filesystem backend, an unauthenticated request can traverse outside the intended asset directories and reach getStats or getStream in api/utils/countlyFs.js, allowing arbitrary readable server files to be disclosed. The affected routes include /appimages/*, /memberimages/*, */screenshots/*, /star-rating/images/*, and /dashboards/images/screenshots/*. This issue is fixed in versions 24.05.50 and 25.03.44.","summary":"Countly's public image and screenshot routes concatenate user-supplied wildcard paths without containment checks, so on local filesystem storage an unauthenticated request can escape the asset directory. An attacker can read arbitrary files the Countly process can access.","severity":"high","cvss":7.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["analytics","countly","node.js","package","self-hosted"],"not_affected_if":["external-storage-backend","managed-hosting","patched-version"],"how_to_check":"- Check the installed countly-server version against `24.05.50` and `25.03.44`.\n- Confirm the deployment uses the local filesystem backend for assets rather than external storage.\n- Test whether `/appimages/../../../../etc/passwd` or a similar path is returned by the server (run only against systems you own).","fix":"- Upgrade countly-server to `24.05.50` or `25.03.44`, whichever matches your release line.\n- Until patched, restrict public access to the affected routes at the reverse proxy.","status":"open","published_at":"2026-10-16T16:17:23+00:00","first_seen_at":"2026-10-23T21:57:13+00:00","triaged_at":"2026-10-25T03:25:06+00:00","updated_at":"2026-10-25T03:25:06+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T03:25:06Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade countly-server to `24.05.50` or `25.03.44`, whichever matches your release line.\n- Until patched, restrict public access to the affected routes at the reverse proxy.","reach":"internet","title":"Countly server: unauthenticated path traversal reads arbitrary server files","impact":"high","summary":"Countly's public image and screenshot routes concatenate user-supplied wildcard paths without containment checks, so on local filesystem storage an unauthenticated request can escape the asset directory. An attacker can read arbitrary files the Countly process can access.","category":"package","nicknames":[],"who_cares":["countly","self-hosted","node.js","analytics"],"confidence":0.8,"needs_auth":"no","worst_case":"Unauthenticated attacker reads arbitrary server files readable by the Countly process","analyst_note":"Confirm the exact fixed version per release line and whether any public exploit or proof-of-concept exists; the sources give only the NVD entry.","how_to_check":"- Check the installed countly-server version against `24.05.50` and `25.03.44`.\n- Confirm the deployment uses the local filesystem backend for assets rather than external storage.\n- Test whether `/appimages/../../../../etc/passwd` or a similar path is returned by the server (run only against systems you own).","needs_analyst":true,"not_affected_if":["patched-version","managed-hosting","external-storage-backend"],"who_is_affected":"Self-hosted Countly servers below `24.05.50` or `25.03.44` that store assets on the local filesystem are exposed, since the traversal targets the local asset path handling. The affected routes include /appimages/*, /memberimages/*, */screenshots/*, /star-rating/images/*, and /dashboards/images/screenshots/*. Teams on a patched release, or using only external object storage, can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000683,"input_tokens":3481,"output_tokens":670,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':11A,14A '-41582':12A,15A '/appimages':139C '/dashboards/images/screenshots':144C '/memberimages':140C '/screenshots':141C '/star-rating/images':142C '24.05.50':80C,151C '25.03.44':82C,153C 'access':62B 'affect':136C 'allow':127C 'analyt':16B,76C 'api/utils/countlyfs.js':126C 'arbitrari':7A,56B,128C 'asset':50B,118C 'attack':53B,96C 'attacker-control':95C 'backend':109C 'check':38B 'concaten':30B,94C 'contain':37B,101C 'control':97C 'count':1A,17B,23B,59B,64C,73C 'countly-serv':63C 'cve':10A,13A 'deploy':104C 'directori':51B,119C 'disclos':134C 'escap':48B 'file':9A,57B,131C 'filesystem':42B,108C 'fix':148C 'frontend/express/app.js':90C 'getstat':122C 'getstream':124C 'host':22B 'imag':26B,84C 'implement':88C 'includ':138C 'intend':117C 'issu':146C 'local':41B,107C 'node.js':18B 'outsid':115C 'packag':19B 'part':71C 'path':4A,35B,99C 'plugins/dashboards/frontend/app.js':93C 'plugins/star-rating/frontend/app.js':91C 'prior':78C 'process':60B 'product':75C 'public':25B,83C 'reach':121C 'read':6A,55B 'readabl':129C 'request':46B,112C 'rout':29B,87C,137C 'screenshot':28B,86C 'self':21B 'self-host':20B 'server':2A,8A,65C,69C,130C 'server-sid':68C 'side':70C 'solut':77C 'storag':43B 'suppli':33B 'travers':5A,114C 'unauthent':3A,45B,111C 'use':105C 'user':32B 'user-suppli':31B 'valid':102C 'version':150C 'wildcard':34B,98C 'without':36B,100C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted Countly servers below `24.05.50` or `25.03.44` that store assets on the local filesystem are exposed, since the traversal targets the local asset path handling. The affected routes include /appimages/*, /memberimages/*, */screenshots/*, /star-rating/images/*, and /dashboards/images/screenshots/*. Teams on a patched release, or using only external object storage, can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-16T16:17:23+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-41582","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41582","severity":null,"published_at":"2026-10-16T16:17:23+00:00","modified_at":"2026-10-19T13:16:58+00:00","first_seen_at":"2026-10-23T21:57:13+00:00","fetched_at":"2026-10-23T22:28:55+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}