{"id":"CVE-2026-41582","state":"PUBLISHED","title":"countly-server: Unauthenticated Path Traversal via Public Image and Screenshot Routes Leads to Read Internal 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.","publishedAt":"2026-10-16T16:03:39.860Z","updatedAt":"2026-10-19T12:37:13.079Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Countly countly-server"],"affected":[{"vendor":"Countly","product":"countly-server","versions":[{"version":"< 24.05.50","status":"affected"},{"version":">= 25.03, < 25.03.44","status":"affected"}]}],"references":["https://github.com/Countly/countly-server/security/advisories/GHSA-fqgp-6rm9-8696","https://github.com/Countly/countly-server/commit/405cb229ed37c744f6d61c42bf86fee5a7ee3530","https://github.com/Countly/countly-server/commit/8004d29d3c789b70a79bf6e0380f0d546dbf42a9","https://github.com/Countly/countly-server/releases/tag/24.05.50","https://github.com/Countly/countly-server/releases/tag/25.03.44"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41582.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41582","state":"PUBLISHED","datePublished":"2026-10-16T16:03:39.860Z","dateUpdated":"2026-10-19T12:37:13.079Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-21T14:15:21.959Z"},"containers":{"cna":{"title":"countly-server: Unauthenticated Path Traversal via Public Image and Screenshot Routes Leads to Read Internal Files","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Countly","product":"countly-server","versions":[{"version":"< 24.05.50","status":"affected"},{"version":">= 25.03, < 25.03.44","status":"affected"}]}],"references":[{"url":"https://github.com/Countly/countly-server/security/advisories/GHSA-fqgp-6rm9-8696","name":"https://github.com/Countly/countly-server/security/advisories/GHSA-fqgp-6rm9-8696","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Countly/countly-server/commit/405cb229ed37c744f6d61c42bf86fee5a7ee3530","name":"https://github.com/Countly/countly-server/commit/405cb229ed37c744f6d61c42bf86fee5a7ee3530","tags":["x_refsource_MISC"]},{"url":"https://github.com/Countly/countly-server/commit/8004d29d3c789b70a79bf6e0380f0d546dbf42a9","name":"https://github.com/Countly/countly-server/commit/8004d29d3c789b70a79bf6e0380f0d546dbf42a9","tags":["x_refsource_MISC"]},{"url":"https://github.com/Countly/countly-server/releases/tag/24.05.50","name":"https://github.com/Countly/countly-server/releases/tag/24.05.50","tags":["x_refsource_MISC"]},{"url":"https://github.com/Countly/countly-server/releases/tag/25.03.44","name":"https://github.com/Countly/countly-server/releases/tag/25.03.44","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-16T16:03:39.860Z"},"source":{"advisory":"GHSA-fqgp-6rm9-8696","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Countly/countly-server/security/advisories/GHSA-fqgp-6rm9-8696","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-19T12:35:23.231913Z","id":"CVE-2026-41582","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T12:37:13.079Z"}}]}}}