CVE-2020-15703 — aptdaemon
MEDIUMCVE-2020-15703 is a medium-severity (CVSS 4) Path Traversal vulnerability in aptdaemon. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for aptdaemon — see the affected versions and patch details below.
aptdaemon Information Disclosure via Improper Input Validation in Transaction class
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
aptdaemonReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
There is no input validation on the Locale property in an apt transaction. An unprivileged user can supply a full path to a writable directory, which lets aptd read a file as root. Having a symlink in place results in an error message if the file exists, and no error otherwise. This way an unprivileged user can check for the existence of any files on the system as root.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | aptdaemon | all versions | 1.1.1pip install --upgrade 'aptdaemon==1.1.1' |
Affected Products
aptdaemonaptdaemon_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for aptdaemon, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update aptdaemon to 1.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-15703 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2020-15703 in your dependencies?
Find it across PyPI, including transitive dependencies.