Read the docs
TI-2022-16494 Aliases CVE-2022-36071GHSA-54qx-8p8w-xhg8

Recovery codes abuse in SFTPGo

Priority HIGH 71CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00547 46th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed sftpgo (drakkan): 2.3.4github.com/drakkan/sftpgo/v2 (Go): 2.3.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
drakkansftpgo2.2.0 to before 2.3.42.3.4Patch availableCNA
—github.com/drakkan/sftpgo/v2 (Go)2.2.0 to before 2.3.42.3.4Patch availableGHSA-54qx-8p8w-xhg8
  • sftpgo Vendordrakkan Affected 2.2.0 to before 2.3.4 Fixed in 2.3.4 Patch available CNA
  • github.com/drakkan/sftpgo/v2 (Go) Vendor— Affected 2.2.0 to before 2.3.4 Fixed in 2.3.4 Patch available GHSA-54qx-8p8w-xhg8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*2.2.0 to before 2.3.4Vulnerabledrakkan
  • cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:* Versions 2.2.0 to before 2.3.4 Vulnerable ·drakkan

Remediation

  • Fix · CNA sftpgo (drakkan) Fixed in 2.3.4
  • Fix · GHSA-54qx-8p8w-xhg8 github.com/drakkan/sftpgo/v2 (Go) Fixed in 2.3.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-36071
  2. 2026-10-03 Alias added: GHSA-54qx-8p8w-xhg8

References

  • TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
  • TI-2022-18599 XSS Vulnerabilities in WebClient CVSS 3.1MEDIUM 6.1
  • TI-2026-23740 SFTPGo has a Path Traversal and Permission Bypass via Path Normalization Discrepancy CVSS 4.0MEDIUM 5.3
  • TI-2026-23741 SFTPGo improperly sanitizes placeholders in group home directories/key prefixes CVSS 4.0MEDIUM 5.3

Sources