# CVE-2026-126345: basic-ftp: Uncaught TypeError in MLSD directory-listing parser via \_\_proto\_\_ fact name causes DoS in Client.list()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-12 · Modified: 2026-11-16
- Aliases: GHSA-5pm8-86m8-9m6r, CGA-3m23-5rpf-gh7g, CGA-5cgh-2h42-qcf2, CGA-6h45-6965-gq25, CGA-g8v8-98ff-87jv, CGA-rrjr-34c8-h3r4, CGA-vp35-9847-2hfx, CGA-8m7w-pg4w-hfp9, CGA-q5mp-gmpm-4j2q, CGA-vv76-2xpc-w23q, CGA-2c32-7h7f-7fjm, CGA-3666-7j3v-jj74, CGA-3jrg-vc7q-vq3r, CGA-3p79-r4w7-mqmw, CGA-48p8-h4jm-gw5c, CGA-4jfh-7frf-mf66, CGA-55v9-95c8-g98x, CGA-56hp-9j6c-m5fc, CGA-5q98-9cx5-m8g5, CGA-5w27-hfj4-cm67, CGA-6jp4-qc89-pjp7, CGA-6wh6-v6pw-5vxx, CGA-728m-gj33-j8cw, CGA-7345-m7j4-2mrf, CGA-73pp-962v-cj4p, CGA-75q4-gxv4-xcw8, CGA-794q-24rj-xqmx, CGA-7g6v-p952-8g2w, CGA-7g73-77gc-wgcc, CGA-7ph5-479c-4j82, CGA-9f2w-pr77-7w28, CGA-chr5-x577-69vg, CGA-cpfm-prr2-fchq, CGA-fc44-mmw3-4xg6, CGA-fjwg-2v78-569x, CGA-ggx5-rhc8-qhrh, CGA-gm5m-fgrc-m5p8, CGA-gx4j-jjgw-6gw9, CGA-hmj9-2fwq-w9r7, CGA-hwg3-w6p7-6m98, CGA-hxgq-h77m-wjvw, CGA-jmrp-3gxp-f364, CGA-mp6w-fx39-87qj, CGA-mq23-j672-mwvg, CGA-mwq3-2c93-mg8q, CGA-q499-r6p3-xrhj, CGA-qvr8-r4w2-6wwq, CGA-r5gp-87hf-f67f, CGA-rrm9-8r6w-rp72, CGA-v285-26hr-xmjw, CGA-v3h8-w8f2-7hpp, CGA-v98f-9826-3qc2, CGA-vp2r-2v8c-vxhj, CGA-x78h-9rf3-6qwh, CGA-xcww-jmfq-v9m3, CGA-xq3p-pj4r-xg47, CGA-gr9f-3c98-6g4g, CGA-fvx8-q427-5mpq, DEBIAN-CVE-2026-126345, CGA-6vgf-vjq4-x8xm, CGA-7m58-563v-wvgq
- Record: https://cvemate.com/vulnerability/CVE-2026-126345 · JSON: https://cvemate.com/vulnerability/CVE-2026-126345/json

## Description

```text
basic-ftp is an FTP client for Node.js. Prior to 6.2.4, the MLSD directory-listing parser in src/parseListMLSD.ts uses untrusted fact names from the FTP server as keys in the plain-object factHandlersByName dictionary without checking that the resolved property is an own handler. A fact named __proto__ therefore resolves to Object.prototype, bypasses the missing-handler guard, and is called as though it were a function, producing a TypeError. The error propagates through Client.list() and APIs that depend on it because it is not an FTPError. A malicious or compromised FTP server, or an on-path attacker on a plaintext FTP session, can make the affected operation reject, and the Node.js process terminates under the default behavior in Node.js 15 and later only if the application leaves that rejection unhandled. This issue is fixed in version 6.2.4.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.567%, percentile 48.445%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 30)

- chainguard code-server (Chainguard): \< 4.145.2-r1 \| All versions (No fix recorded)
- chainguard gemini-cli (Chainguard): All versions (No fix recorded) \| \< 0.68.0-r1
- chainguard mcp-mongodb (Chainguard): All versions (No fix recorded) \| \< 3.2.2-r3
- chainguard opensearch-dashboards-2-fips-security-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 2.19.7-r9
- chainguard opensearch-dashboards-2-security-dashboards-plugin (Chainguard): All versions (No fix recorded)
- chainguard opensearch-dashboards-3-fips-security-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 3.9.0-r10
- chainguard opensearch-dashboards-3-security-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 3.9.0-r12
- chainguard wazuh-dashboard-alerting-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-alerting-dashboards-plugin-fips (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-anomaly-detection-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-anomaly-detection-dashboards-plugin-fips (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-maps (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-maps-fips (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-notifications (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-notifications-fips (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-reporting (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-reporting-fips (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-visualizations (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-dashboards-visualizations-fips (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4
- chainguard wazuh-dashboard-index-management-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 4.14.10-r4

## References

- <https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5pm8-86m8-9m6r>
- <https://github.com/patrickjuchli/basic-ftp/commit/a22664a45d889f7d281e5bdd212c68c0a58d0ae6>
- <https://github.com/patrickjuchli/basic-ftp/releases/tag/v6.2.4>
- <https://github.com/patrickjuchli/basic-ftp>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126345.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126345>
- <https://security-tracker.debian.org/tracker/CVE-2026-126345>

---

Data as of 2026-12-05T08:03:44.751Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
