{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-36071","published":"2022-09-02T18:15:12.150000Z","last_modified":"2026-06-17T04:52:51.387000Z","status":"Modified","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-287","CWE-916"],"cpes":[{"criteria":"cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*","part":"a","vendor":"sftpgo_project","product":"sftpgo","version_start_including":"2.2.0","version_end_excluding":"2.3.4"}],"cpes_truncated":false,"vendors":["sftpgo_project"],"products":["sftpgo_project/sftpgo"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.00601,"percentile":0.42897,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2022-0964","ecosystem":"Go","name":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-54qx-8p8w-xhg8","ecosystem":"Go","name":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","ranges":[{"introduced":"2.2.0","fixed":"2.3.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0964","ecosystem":"Go","name":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","ranges":[{"introduced":"2.2.0","fixed":"2.3.4"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":49,"links":{"html_es":"/es/cve/CVE-2022-36071/","html_en":"/en/cve/CVE-2022-36071/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-36071","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-36071"},"untrusted":{"vendor_name":"Sftpgo Project","product_name":"Sftpgo","desc_en":"SFTPGo is configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support. SFTPGo WebAdmin and WebClient support login using TOTP (Time-based One Time Passwords) as a secondary authentication factor. Because TOTPs are often configured on mobile devices that can be lost, stolen or damaged, SFTPGo also supports recovery codes. These are a set of one time use codes that can be used instead of the TOTP. In SFTPGo versions from version 2.2.0 to 2.3.3 recovery codes can be generated before enabling two-factor authentication. An attacker who knows the user's password could potentially generate some recovery codes and then bypass two-factor authentication after it is enabled on the account at a later time. This issue has been fixed in version 2.3.4. Recovery codes can now only be generated after enabling two-factor authentication and are deleted after disabling it.","affected":[{"untrusted_vendor":"drakkan","untrusted_product":"sftpgo","versions":[]}],"references":[{"url":"https://github.com/drakkan/sftpgo/issues/965","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-54qx-8p8w-xhg8","tags":["Mitigation","Third Party Advisory"]}]}}