# CVE-2024-52801: Brute force takeover of OpenID Connect session cookies in sftpgo

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA: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): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2024-11-29T18:26:06.163Z
- Modified: 2026-06-17T08:07:39.197Z
- Also known as: GHSA-6943-qr24-82vx, GO-2024-3300
- Weaknesses: CWE-327
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

sftpgo is a full-featured and highly configurable event-driven file transfer solution. Server protocols: SFTP, HTTP/S, FTP/S, WebDAV. The OpenID Connect implementation 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. This issue was fixed in version v2.6.4, where cookies are opaque and cryptographically secure strings. All users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- drakkan sftpgo: >= 2.3.0, < 2.6.4
- github.com/drakkan/sftpgo/v2 (Go): from 2.3.0 before 2.6.4
- github.com/drakkan/sftpgo (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/drakkan/sftpgo/security/advisories/GHSA-6943-qr24-82vx> (advisory, web)
- <https://github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6> (fix, web)
- <https://github.com/rs/xid> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52801> (advisory)
- <https://github.com/drakkan/sftpgo> (package)

## Sources

- CVE List: [CVE-2024-52801](https://www.cve.org/CVERecord?id=CVE-2024-52801), CVE Terms of Use, modified 2024-12-02
- GitHub Advisory Database: [GHSA-6943-qr24-82vx](https://github.com/advisories/GHSA-6943-qr24-82vx), CC-BY-4.0, modified 2024-12-02
- Go Vulnerability Database: [GO-2024-3300](https://pkg.go.dev/vuln/GO-2024-3300), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-52801](https://nvd.nist.gov/vuln/detail/CVE-2024-52801), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52801 · Whole record: https://cve.day/CVE-2024-52801.json · Rebuilt by cve.day 2026-11-25T22:58:49.551Z
