# CVE-2021-36370: An issue was discovered in Midnight Commander through 4.8.26.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.99%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-08-30T18:37:23.000Z
- Modified: 2026-06-17T03:58:45.687Z
- Weaknesses: CWE-287
- Assigned by: mitre

## Description

An issue was discovered in Midnight Commander through 4.8.26. When establishing an SFTP connection, the fingerprint of the server is neither checked nor displayed. As a result, a user connects to the server without the ability to verify its authenticity.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- midnight-commander midnight_commander: up to 4.8.26

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c> (exploit, third-party-advisory)
- <https://github.com/MidnightCommander/mc/blob/5c1d3c55dd15356ec7d079084d904b7b0fd58d3e/src/vfs/sftpfs/connection.c#L484> (exploit, third-party-advisory)
- <https://docs.ssh-mitm.at/CVE-2021-36370.html> (exploit, third-party-advisory)
- <https://sourceforge.net/projects/mcwin32/files/> (product, third-party-advisory)
- <https://midnight-commander.org/> (vendor-advisory)
- <https://mail.gnome.org/archives/mc-devel/2021-August/msg00008.html> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-36370](https://www.cve.org/CVERecord?id=CVE-2021-36370), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-36370](https://nvd.nist.gov/vuln/detail/CVE-2021-36370), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36370 · Whole record: https://cve.day/CVE-2021-36370.json · Rebuilt by cve.day 2026-11-25T22:58:03.558Z
