Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyftpdlib
  4. ›
  5. CVE-2009-5012

CVE-2009-5012: Improper Access Control in pyftpdlib

May 2, 2022 (updated October 31, 2025)

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.

References

  • github.com/advisories/GHSA-h4g7-8m7r-87r9
  • github.com/giampaolo/pyftpdlib
  • github.com/pypa/advisory-database/tree/main/vulns/pyftpdlib/PYSEC-2010-9.yaml
  • nvd.nist.gov/vuln/detail/CVE-2009-5012

Code Behaviors & Features

Detect and mitigate CVE-2009-5012 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.5.2

Fixed versions

  • 0.5.2

Solution

Upgrade to version 0.5.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

pypi/pyftpdlib/CVE-2009-5012.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:23 +0000.