PyPI: pyftpdlib

CVE-2009-5012

Safety vulnerability ID: SFTY-20101019-67294

Safety legacy ID: pyup.io-54046

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.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Improper Access Control in pyftpdlib

Advisory

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.

Affected Package

Affecting pyftpdlib package, versions>=0,<0.5.2

Also affects

---

How to Fix

Upgradepyftpdlibto0.5.2or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more