{"answers":{"affected":"1 open source package ship an affected version, including basic-ftp.","exploited":"There is no known exploitation of CVE-2026-126346 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls FTPContext.send(), Client.login() or downloadTo(). Many projects that include it are not exposed.","fix":"Upgrade basic-ftp to 6.2.3 or later.","what":"CVE-2026-126346 is a medium-severity denial of service vulnerability in patrickjuchli basic-ftp, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-126346 and fix it if it is affected.\n\nWhat it is: CVE-2026-126346 is a medium-severity denial of service vulnerability in patrickjuchli basic-ftp, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-126346 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls FTPContext.send(), Client.login() or downloadTo(). Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- basic-ftp (npm): affected all versions; fixed in 6.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to FTPContext.send(), Client.login() or downloadTo() and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-126346/ (Markdown: https://insights.sbomify.com/CVE-2026-126346/index.md)","id":"CVE-2026-126346","markdown":"https://insights.sbomify.com/CVE-2026-126346/index.md","name":"CVE-2026-126346","record":{"aliases":["GHSA-r4jh-29pc-gfqr"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js FTP client","requires_auth":"none","requires_specific_call":true,"summary":"Attacker-influenced passwords or download paths with CR/LF crash Node.js processes using basic-ftp; apps passing untrusted input to it should care.","user_interaction":"not_required","vuln_class":"denial_of_service","vulnerable_functions":["FTPContext.send()","Client.login()","downloadTo()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"},{"id":"CWE-248","name":"Uncaught Exception"}],"description":"basic-ftp is an FTP client for Node.js. Prior to 6.2.3, FTPContext.send() throws when a command contains carriage return, line feed, or NUL characters, but calls made from response handlers execute synchronously inside the control socket's data event without an exception boundary. In Client.login(), an attacker-influenced password reaches the PASS command after a server sends a 331 response, and in a resumed download an attacker-influenced remote path reaches the RETR command after a 350 response to REST. The resulting exception does not reject client.access() or downloadTo(), escapes ordinary promise error handling, and terminates the Node.js process, while the validation guard still prevents command injection. This issue is fixed in version 6.2.3.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"basic-ftp: Uncaught exception crashes the Node.js process when a password (or resumed-download path) contains CR/LF","id":"CVE-2026-126346","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":1,"n_references":3,"next":{"headline":"Tornado: Open redirect via triple-slash redirect paths","id":"CVE-2026-126347"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["6.2.3"],"introduced":["0"],"last_affected":[],"package":"basic-ftp","purl":null,"source":"GHSA-r4jh-29pc-gfqr"}],"prev":{"headline":"basic-ftp: Uncaught TypeError in MLSD directory-listing parser via __proto__ fact name causes DoS in Client.list()","id":"CVE-2026-126345"},"products":["basic-ftp"],"published":"2026-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-11-12","vendors":["patrickjuchli"]},"summary":"Attacker-influenced passwords or download paths with CR/LF crash Node.js processes using basic-ftp; apps passing untrusted input to it should care.","url":"https://insights.sbomify.com/CVE-2026-126346/"}