Authentication bypassin Canonical Python-apt.
No public exploit found; not on exploited lists.
Python-apt doesn't check if hashes are signed in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py or in `_fetch_archives()` of apt/cache.py in version 1.9.3ubuntu2 and earlier. This allows downloads from unsigned repositories which shouldn't be allowed and has been fixed in verisions 1.9.5, 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0~beta1ubuntu0.16.04.7, 0.9.3.5ubuntu3+esm2, and 0.8.3ubuntu7.5.
- Upgrade Python-apt to 0.8.3ubuntu7.5, 0.9.3.5ubuntu3+esm2, 1.1.0~beta1ubuntu0.16.04.7, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2 or later, whichever matches your release line.
- Upgrade python-apt (PyPI) to 0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2, 1.9.5 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Aug 2019CVE ID reserved by canonical.
- 26 Mar 2020Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Python-apt vulnerabilities
Same weakness: Improper authentication
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
Patchminder. CVE-2019-15796: Authentication bypass in Canonical Python-apt. https://patchminder.com/cve/cve-2019-15796/ (accessed 5 December 2026).