Summary
CVE-2026-123816 is an improper authentication vulnerability (CWE-287) in pyLoad, the open-source Python download manager. A flaw in API key validation caching lets an unauthenticated remote attacker inherit the permissions of a legitimate API key. It is rated High severity (CVSS 8.1).
Technical details
- Root cause:
Api.check_apikeycaches successful validation results inself._apikey_cacheusing only the attacker-controlledkey_id. - On a cache hit, the code never compares the supplied key (
apikey[-43:]) to the stored hash withhmac.compare_digest. - Trigger conditions: a legitimate key must already have populated the cache. The attacker then submits a forged API key carrying the same
key_id. - Key identifiers are small sequential integers, so an attacker can enumerate active IDs.
- Attack vector: network, no privileges and no user interaction required. The attack complexity is rated high.
- Impact: the attacker inherits the cached key owner’s permissions for the 300-second cache lifetime. Confidentiality, integrity and availability impact are all rated high.
Affected software
- pyLoad versions before 0.5.0b3.dev101
Severity
- CVSS v3.1 base score: 8.1 (High)
- Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade pyLoad to version 0.5.0b3.dev101 or later.
- No workarounds were listed in the sources reviewed. Until patched, restrict network access to the pyLoad web interface and API to trusted networks only.

