# CVE-2026-123816: pyLoad: Authentication bypass in API key validation (check_apikey cache)

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-09T16:43:55.000Z
- Modified: 2026-11-10T17:17:24.393Z
- Also known as: GHSA-r44w-v6gf-x3p6
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev101, Api.check_apikey caches successful validation in self._apikey_cache using only the attacker-controlled key_id. After a legitimate key populates the cache, a forged API key with the same key_id reaches the cache-hit path without comparing apikey[-43:] to the stored hash through hmac.compare_digest. Key identifiers are small sequential integers, so an unauthenticated remote attacker can enumerate an active identifier and inherit the cached key owner's permissions during the 300-second cache lifetime. This issue is fixed in version 0.5.0b3.dev101.

(As written by CVE List.)

## Affected

- pyload pyload: < 0.5.0b3.dev101
- pyload-ng (PyPI): before 0.5.0b3.dev101

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pyload/pyload/security/advisories/GHSA-r44w-v6gf-x3p6> (exploit, web)
- <https://github.com/pyload/pyload/commit/00d1372510f915f843b1574a3f1b28fbb724a42e> (web)
- <https://github.com/pyload/pyload> (package)

## Sources

- CVE List: [CVE-2026-123816](https://www.cve.org/CVERecord?id=CVE-2026-123816), CVE Terms of Use, modified 2026-11-10
- GitHub Advisory Database: [GHSA-r44w-v6gf-x3p6](https://github.com/advisories/GHSA-r44w-v6gf-x3p6), CC-BY-4.0, modified 2026-11-09
- NVD: [CVE-2026-123816](https://nvd.nist.gov/vuln/detail/CVE-2026-123816), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-123816 · Whole record: https://cve.day/CVE-2026-123816.json · Rebuilt by cve.day 2026-11-25T22:59:49.669Z
