CVE-2009-5012
Improper Access Control in pyftpdlib
CVE-2009-5012 is a medium vulnerability (CVSS 4.0) in G.rodola Pyftpdlib, published October 19, 2010. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.01%, the 63rd percentile. Fixed in pyftpdlib 0.5.2.
- Severity
- 4.0 MediumCVSS 2.0, NVD
- Exploit chance
- 1.01%EPSS, 63rd percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
0.5.2pyftpdlib +4 more
Description
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pyftpdlibPyPI | through 0.5.1 | 0.5.2 |
python-pyftpdlibDebian:12 | before 0.5.2-1 | 0.5.2-1 |
python-pyftpdlibDebian:13 | before 0.5.2-1 | 0.5.2-1 |
python-pyftpdlibDebian:14 | before 0.5.2-1 | 0.5.2-1 |
pyftpdlibPyPI | before 0.5.2, plus listed versions 0.2.00.3.00.4.00.5.00.5.1 | 0.5.2 |
What each source reports
NVD Score used 4.0
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
CVE-2009-5012- CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE ListNo score
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
CVE-2009-5012- Updated
- 2026-11-02
EUVDEUVD-2010-0027No score
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
EUVD-2010-0027- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h4g7-8m7r-87r9 7.1
Improper Access Control in pyftpdlib
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
GHSA-h4g7-8m7r-87r9- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-284
- Updated
- 2026-11-02
OSVGHSA-h4g7-8m7r-87r9 7.1
Improper Access Control in pyftpdlib
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
GHSA-h4g7-8m7r-87r9- CVSS 4.0
- 7.1 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-284
- Updated
- 2026-11-02
OSVNo score
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
CVE-2009-5012- Updated
- 2026-11-02
OSVDEBIAN-CVE-2009-5012No score
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
DEBIAN-CVE-2009-5012- Updated
- 2026-11-02
OSVPYSEC-2010-9No score
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
- Record
PYSEC-2010-9- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
code.google.com/p/pyftpdlib/source/browse/trunk/HISTORY
code.google.com/p/pyftpdlib/source/detail?r=596
code.google.com/p/pyftpdlib/source/diff?spec=svn596&r=596&format=side&path=/trunk/pyftpdlib/ftpserver.py
code.google.com/p/pyftpdlib/issues/detail?id=114
nvd.nist.gov/vuln/detail/CVE-2009-5012
github.com/pypa/advisory-database/tree/main/vulns/pyftpdlib/PYSEC-2010-9.yaml
github.com/advisories/GHSA-h4g7-8m7r-87r9
security-tracker.debian.org/tracker/CVE-2009-5012
github.com/giampaolo/pyftpdlib