Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim runs FTP MGET /RECURSIVE to malicious server
-
DeliveryServer returns crafted NLST/MLSD pathname
-
ExploitClient writes file via path traversal
-
ExecutionOverwrite victim's ~/.bashrc with payload
-
ImpactCode execution on next shell/login
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to actively initiate an FTP MGET with /RECURSIVE (recursive transfer) against a malicious or compromised FTP server; the server then returns NLST or MLSD listing names that are absolute paths, tilde (~) names, or contain '..' components, which C-Kermit uses verbatim as the local filename. Affected: C-Kermit 8.0.200 through versions before 11.1.515. Limiting factors that reduce real-world risk: mandatory user interaction (the victim must choose to connect to the attacker's server and run the recursive MGET - UI:A); the written path is bounded by the invoking OS user's write permissions; and achieving code execution typically depends on overwriting a file that is later executed/sourced (e.g., ~/.bashrc). No special non-default client configuration is required beyond using the recursive MGET feature. |
| Impact | This is a moderate-severity, interaction-dependent issue rather than an urgent mass-exploitation threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) describes network reach with low complexity and no authentication on the victim side, but it critically requires active user interaction (UI:A): the victim must themselves initiate an FTP MGET /RECURSIVE (or MGET) session against an attacker-controlled or compromised FTP server. The attacker is the malicious server, not a remote intruder reaching into a listening service, so there is no unsolicited remote attack surface. Impact is integrity-only (VI:H, VC:N/VA:N) - arbitrary file write/append - which becomes code execution only via a second step such as overwriting ~/.bashrc. No CISA KEV listing and no EPSS score are present in the input, and the vendor's priority label is 'this_month' (not act_now/emergency), all consistent with a real-but-not-emergency bug. No standalone weaponized exploit is indicated; the only public trigger artifacts are regression tests in the project's own test suite against a mock FTP server. Net: a legitimate vulnerability worth patching on a normal cycle, not a high-CVSS-but-illusory issue, but also not evidence of widespread active exploitation. |
| Exploit ScenarioDerived | A victim uses C-Kermit's FTP client to run MGET /RECURSIVE against a server the attacker controls (or has compromised); the server returns NLST/MLSD listing entries containing absolute paths, tilde (~) names, or dot-dot (../) components. C-Kermit (8.0.200 up to 11.1.515) uses the server-supplied name directly as the local filename, writing or appending outside the intended download directory - for example overwriting ~/.bashrc - which yields code execution the next time that file is sourced. Exploitation requires the victim to initiate the recursive transfer (UI:A); the only public proof artifacts are the vendor's own test-suite cases against a mock FTP server, not a verified standalone exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
C-Kermit's FTP recursive transfer path (doftpget() in ckcftp.c) uses NLST/MLSD listing names from the server verbatim as the local filename, so a malicious or compromised FTP server can return absolute paths, tilde names or '..' components and cause files to be written anywhere the invoking OS user can write - including files such as ~/.bashrc, which yields code execution when later sourced. Affected builds are C-Kermit 8.0.200 through versions before 11.1.515; exploitation requires the victim to connect to the attacker's server and run 'ftp mget /recursive' (CVSS 4.0 6.9, UI:A; independently assessed as CVSS 3.1 6.9, AV:N/AC:L/PR:N/UI:R, integrity-only impact). No public exploit code specific to this traversal is identified at time of analysis and the issue is not in CISA KEV; the vendor advisory does publish step-by-step reproduction for a separate collision-bypass bug in the same file-reception code.
RemediationAI
Vendor-released patch: upgrade to C-Kermit 11.1.515 (release tag https://github.com/OpenKermit/ckermit/releases/tag/v11.1.515), which contains commit 9b1809b2ce2bcec08b7285deb1b7f0bcbef6a052 adding the ftpunsafename() check in ckcftp.c; older branches (8.0.200 through 11.1.x before .515) have no fixed release and must move to 11.1.515 or later. Until upgraded, the practical mitigation is to avoid 'ftp mget /recursive' against any FTP server that is not fully trusted, and to run recursive transfers under a dedicated unprivileged account or inside a working directory whose parent paths and home directory the account cannot write to - this does not fix the traversal but confines the write to the sandboxed location, at the cost of added operational overhead. Note that the FILE COLLISION REJECT setting and the RECEIVE CONFIRM protection added in 11.0.506 do not defend against this FTP path traversal, and that supplying an explicit AS-NAME bypasses the newly added safety check. Full details and the vendor's test coverage are in https://github.com/OpenKermit/ckermit/security/advisories/GHSA-vhrv-7jrq-95qj.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
C-Kermit is a portable, scriptable communications and file-transfer client implementing both the Kermit protocol and FTP. This is a classic CWE-22 path traversal rooted in the FTP client's directory-listing handling: when the user issues MGET with /RECURSIVE, C-Kermit enumerates remote names from NLST or MLSD and, in doftpget(), passes each server-supplied string straight to the local open path without normalizing or confining it to the current directory. Because the name is attacker-controlled, '../', leading path separators (absolute names) and '~' all resolve outside the intended destination. The upstream fix adds a new helper, ftpunsafename(), that flags a name as unsafe if it begins with a path separator or '~', or if any path component is exactly '..', and doftpget() then logs 'refused: unsafe server pathname' and skips the entry - but only when no explicit AS-NAME has been supplied by the user. The same advisory (GHSA-vhrv-7jrq-95qj) covers two closely related file-reception weaknesses classified CWE-863 (incorrect authorization): a Kermit RESEND path that clears the collision-discard flag and appends to an existing file without the RECEIVE CONFIRM prompt (present since C-Kermit 6.0.192, 1996), and a recursive GET that can skip the RECEIVE CONFIRM prompt introduced in 11.0.506. The FTP traversal itself dates to C-Kermit 8.0.200 (2001); the aggregate GHSA range therefore lists >= 6.0.192 to < 11.1.515.
Know when C Kermit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Malicious FTP server reachable over network (AV:N, AC:L) with no client-side auth (PR:N) but the victim must initiate the recursive MGET (UI:R); impact is arbitrary file write, so I:H and C:N/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
C-Kermit 8.0.200 before 11.1.515 contains a path traversal vulnerability in doftpget() in ckcftp.c that allows malicious FTP servers to write files outside the intended directory. Attackers can return absolute paths, tilde names, or dot-dot components in NLST or MLSD listings during MGET /RECURSIVE to overwrite files like .bashrc, leading to code execution.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
OS command injection in the C-Kermit server (versions before 11.1.515) lets a remote client run arbitrary shell commands
Unauthenticated remote code execution in C-Kermit's Kermit server mode lets a connecting client run shell commands on th
Heap-based buffer overflow in C-Kermit before 11.1.515 allows unauthenticated remote peers to write attacker-chosen byte
Buffer overflow in C-Kermit's FTP client getreply() routine in ckcftp.c lets an attacker-controlled or man-in-the-middle
C-Kermit's Telnet client (versions 6.0.192 through 11.0.514) writes attacker-supplied NEW-ENVIRON SEND data past the bou
Authentication bypass in C-Kermit's IKSD server (7.0.197 through 11.0.x, fixed in 11.1.515) lets an attacker who holds a
C-Kermit builds with SSL/TLS support compiled in fail to check that a Telnet peer's certificate actually names the host
TLS host name verification in C-Kermit is broken in versions 8.0.200 through 11.0.514: the client accepts a server certi
C-Kermit releases from 6.0.192 up to but not including 11.1.515 allow a malicious Kermit sender to append attacker-suppl
C-Kermit 11.0.506 through 11.1.514 allows a malicious Kermit peer or FTP server to write files the user never requested
EUVD-2026-125558
GHSA-99v6-7w9f-g2vx
NVD
CVE.org
EPSS
Exploit-DB