ADVISORIES

PyPA Advisory Database

PYSEC-2026-783

aptdaemon Information Disclosure via Improper Input Validation in Transaction class

Details

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

EcosystemPackageAffected versions
PyPIaptdaemon
All versions before 1.1.1 (fixed in 1.1.1)

References