Published CVE
CVE-2026-123816 Authentication Bypass Through Improper API-Key Cache Validation
- Product
- pyLoad
- Affected releases
- 0.5.0b3 (vendor advisory). The CVE record lists versions before 0.5.0b3.dev101.
- Fixed releases
- 0.5.0b3.dev101
- GitHub advisory
- CVSS 3.1 · 8.1 High
- CVE record
- CVSS 3.1 · 8.1 High
- Reporter
- NIRTEM (nirtem)
Overview
Security researcher NIRTEM identified an authentication bypass vulnerability in pyLoad, an open-source download management application. The vulnerability originated from improper API-key validation within the authentication caching mechanism.
Under specific conditions, the application could accept an invalid API key and associate the request with an already authenticated user’s identity.
Technical background
API keys are security credentials used to authenticate requests between clients and applications. Their confidentiality and correct validation are essential for preventing unauthorized access.
To improve performance, applications may cache successful authentication results. However, cached authentication decisions must remain bound to the exact credential being validated.
Root cause
The vulnerable implementation relied on an API-key identifier as the cache lookup key instead of securely binding the cached result to the complete credential.
When a previously validated identifier remained in the cache, subsequent requests could be accepted without independently verifying the secret component of the supplied API key.
This created an authentication logic flaw that undermined the security boundary between identifying a credential and proving possession of that credential.
Security impact
Successful exploitation could allow unauthorized authentication under an existing identity and access to the privileges associated with that identity.
The impact could be substantial when the affected API key belonged to an account with elevated privileges.
Research methodology
Trace where an authentication decision is cached and identify which credential properties remain bound to the result.
Research capabilities
Authentication review, cache design and credential lifecycle analysis.
Remediation principles
Authentication caching must not bypass credential verification. Cached authentication results should be cryptographically bound to the complete API key or a secure derivative of it.
Research credit
Reported by NIRTEM (nirtem), as acknowledged in the official GitHub Security Advisory.