Home / drakkan / sftpgo / CVE-2024-52309
CVE-2024-52309: is it exploited, and which versions of drakkan sftpgo are affected and fixed?
CVE-2024-52309 is an improper input validation vulnerability in drakkan sftpgo. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: github.com/drakkan/sftpgo/v2 from 2.4.0 before 2.6.3 and sftpgo from 2.4.0 before 2.6.3 (GitHub advisory GHSA-49cc-xrjf-9qf7). Fixed in 2.6.3 (GitHub advisory GHSA-49cc-xrjf-9qf7). Severity: Medium (5.1, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-52309?
SFTPGo allows administrators to restrict command execution from the EventManager
SFTPGo is a full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob. One powerful feature of SFTPGo is the ability to have the EventManager execute scripts or run applications in response to certain events. This feature is very common in all software similar to SFTPGo and is generally unrestricted. However, any SFTPGo administrator with permission to run a script has access to the underlying OS/container with the same permissions as the user running SFTPGo. This is unexpected for some SFTPGo administrators who think that there is a clear distinction between accessing the system shell and accessing the SFTPGo WebAdmin UI. To avoid this confusion, running system commands is disabled by default in 2.6.3, and an allow list has been added so that system administrators configuring SFTPGo must explicitly define which commands are allowed to be configured from the WebAdmin UI.
From the CVE record by GitHub_M, last updated November 21, 2024, 20:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| drakkan | sftpgo | >= 2.4.0, < 2.6.3 |
As the CVE record by GitHub_M states it, last updated November 21, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/drakkan/sftpgo/v2 | >= 2.4.0, < 2.6.3 | 2.6.3 | GHSA-49cc-xrjf-9qf7 |
| Go | sftpgo | >= 2.4.0, < 2.6.3 | 2.6.3 | GHSA-49cc-xrjf-9qf7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 2, 2024. Summary: SFTPGo allows administrators to restrict command execution from the EventManager.
How severe is CVE-2024-52309?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-52309 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 21, 2024)
- EPSS
- 0.62% probability of exploitation activity in the next 30 days, percentile 51.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-49cc-xrjf-9qf7 x_refsource_CONFIRM
- https://github.com/drakkan/sftpgo/commit/88b1850b5806eee81150873d4e565144b21021fb x_refsource_MISC
- https://github.com/drakkan/sftpgo/commit/b524da11e9466d05fe03304713ee1c61bb276ec4 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 6, 2024
- Published
- November 21, 2024, 17:11 UTC
- CVE record updated
- November 21, 2024, 20:40 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:06 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect sftpgo?
- Oct 13, 2026CVE-2026-103028 drakkan sftpgo: incorrect authorization
- Oct 13, 2026CVE-2026-77375 drakkan sftpgo: improper array index validation
- Aug 20, 2026CVE-2026-49244 drakkan sftpgo: path traversal (reading or writing files outside the intended folder)
- Aug 20, 2026CVE-2026-49245 drakkan sftpgo: cross-site scripting (XSS)
- Jul 30, 2026CVE-2026-10031 drakkan SFTPGo: incorrect authorization
- Mar 13, 2026CVE-2026-30915 drakkan sftpgo: path traversal (reading or writing files outside the intended folder)
- Mar 13, 2026CVE-2026-30914 drakkan sftpgo: path traversal (reading or writing files outside the intended folder)
- Feb 7, 2025CVE-2025-24366 drakkan sftpgo: OS command injection
Questions about CVE-2024-52309
Is CVE-2024-52309 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of drakkan sftpgo are affected by CVE-2024-52309?
github.com/drakkan/sftpgo/v2 from 2.4.0 before 2.6.3 and sftpgo from 2.4.0 before 2.6.3, per the GitHub advisory GHSA-49cc-xrjf-9qf7. The tables above give every range the sources list.
Which version fixes CVE-2024-52309?
2.6.3, per the GitHub advisory GHSA-49cc-xrjf-9qf7. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-52309?
Medium (5.1, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-52309?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.