Insufficient sanitization of user provided rsync command in SFTPGo
Published Feb 7, 2025
7.5
HIGHCVSS 3.1
EPSS 0.73%
Description
SFTPGo is an open source, event-driven file transfer solution. SFTPGo supports execution of a defined set of commands via SSH. Besides a set of default commands some optional commands can be activated, one of them being `rsync`. It is disabled in the default configuration and it is limited to the local filesystem, it does not work with cloud/remote storage backends. Due to missing sanitization of the client provided `rsync` command, an authenticated remote user can use some options of the rsync command to read or write files with the permissions of the SFTPGo server process. This issue was fixed in version v2.6.5 by checking the client provided arguments. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
-
- Version >= 0.9.5, < 2.6.5StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
github.com/drakkan/sftpgo
Go
Introduced 0 Fixed not fixedgithub.com/drakkan/sftpgo/v2
Go
Introduced 0 Fixed 2.6.5
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/drakkan/sftpgo | 0 | not fixed |
| Go | github.com/drakkan/sftpgo/v2 | 0 | 2.6.5 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Feb 7, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2025–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.73% (0.00731) | 52.66th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.67% (0.00670) | 46.95th | v5 (v2026.06.15) |
| Nov 18, 2025 | 1.40% (0.01401) | 78.78th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.24% (0.00238) | 44.91th | v4 (v2025.03.14) |
| Feb 8, 2025 | 0.04% (0.00043) | 11.75th | v3 (v2023.03.01) |
References (4)
- https://github.com/advisories/GHSA-vj7w-3m8c-6vpx Advisory
- https://github.com/drakkan/sftpgo/commit/b347ab6051f6c501da205c09315fe99cd1fa3ba1 x_refsource_MISC
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-vj7w-3m8c-6vpx x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2025-24366
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-vj7w-3m8c-6vpx | Advisory | |
| https://github.com/drakkan/sftpgo/commit/b347ab6051f6c501da205c09315fe99cd1fa3ba1 | x_refsource_MISC | |
| https://github.com/drakkan/sftpgo/security/advisories/GHSA-vj7w-3m8c-6vpx | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-24366 |
Change history (0)
No recorded changes yet.