All reports
Medium

sftpgo vulnerable to brute force takeover of OpenID Connect session cookies

Affected versions

Version ranges need review.

Affected versions
>=2.3.0 <2.6.4
Fixed version
2.6.4
Affected versions
>= 2.3.0, < 2.6.4
Fixed version
2.6.4
Affected versions
*
Fixed version
Not reported

Exploitation

CVE-2024-52801

Probability of exploitation in the next 30 days: 0.41%

FIRST EPSS · 2026-11-18

Description

Impact

The OpenID Connect implementation, in the affected SFTPGo versions, allows authenticated users to brute force session cookies and thereby gain access to other users' data, since the cookies are generated predictably using the xid library and are therefore unique but not cryptographically secure.

Patches

This issue was fixed in version v2.6.4, where cookies are opaque and cryptographically secure strings.

References

https://github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6

Links

Credits

  • denisvr72