Skip to main content

pyLoad CVE-2026-123816

| EUVDEUVD-2026-120452 HIGH
Improper Authentication (CWE-287)
2026-11-09 GitHub_M GHSA-r44w-v6gf-x3p6
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enumerate sequential key_id values
  2. Delivery
    Wait for legitimate request to populate cache
  3. Exploit
    Send forged pl_<key_id> API key
  4. Execution
    Cache-hit path skips secret verification
  5. Impact
    Inherit cached owner's permissions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the default 300-second API-key cache in Api.check_apikey() already contains a valid entry for the targeted key_id - i.e. a legitimate holder of that key must have made an authenticated API request within the previous five minutes. The default TTL is always active because the webui path (src/pyload/webui/app/helpers.py) calls api.check_apikey(api_key) without a ttl. The attacker needs no valid secret: key_id values are small sequential integers (1, 2, 3, …) and trivially enumerable, and the key format (pl_<key_id><43-char secret>) is reconstructable from source. Limiting factors that reduce real-world risk: the cache must be warm (bounded 300-second window per key_id), so the target must be an actively-used deployment, and the inherited privileges are only those of whichever key owner populated the cache. The control test in the advisory confirms that before any legitimate request populates the cache the forged key correctly returns 401, isolating the flaw strictly to the cache-hit path.

Impact

This is a genuine, high-priority authentication bypass (CWE-287) rather than an inflated high-CVSS score. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H = 8.1) is internally consistent with the mechanism: fully remote (AV:N), unauthenticated (PR:N) - which is the entire point, since the flaw lets a forged key bypass secret verification - with full C/I/A impact because the attacker inherits the cached key owner's permissions (typically an administrator in the advisory's own reproduction). The AC:H is justified and honest: exploitation is not unconditional, it depends on the 300-second cache already holding a valid entry for the enumerated key_id, which the attacker does not directly control. Weighing the signals: KEV status is NO (not listed by CISA), so there is no confirmed active exploitation; no EPSS score was supplied, so widespread-exploitation probability cannot be quantified from the input; and the GitHub Security Advisory includes full step-by-step reproduction but the input does not mark it as confirmed working exploit code, so a public PoC reference exists but is not verified as a weaponized exploit. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a serious but not actively-exploited bug. The main real-world dampener is prevalence: pyLoad is a niche open-source download manager, so even though the flaw is easy to trigger on any actively-used deployment, the installed base is small. Net: patch within the week as the decision label indicates; this is a real, easily-exploitable bypass whose urgency is bounded mainly by product footprint, not by technical difficulty.

Exploit ScenarioDerived

On an actively-used pyLoad instance, a legitimate user authenticates to the API, populating the key_id-indexed cache. Within the next 300 seconds an unauthenticated remote attacker sends a request with a forged key of the form pl_1<key_id> plus any 43-character string; because the cache-hit path never compares the secret via hmac.compare_digest, the forged key is accepted and the attacker inherits the cached owner's permissions. key_id values are small sequential integers and the key format is reconstructable from source, so the attacker simply enumerates active identifiers; a public PoC reference (full reproduction steps in the GHSA advisory) exists but is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

pyLoad's API authentication can be bypassed remotely by presenting a forged API key that reuses a legitimate key identifier, granting the attacker whatever permissions the real key owner holds. The bypass works because Api.check_apikey() caches successful validations under the attacker-controllable key_id alone, so during the default 300-second cache window the supplied secret is never compared against the stored hash via hmac.compare_digest; key identifiers are small sequential integers and the key format is reconstructable from source, making the identifier easy to guess. This is unauthenticated (PR:N) but AC:H, since the cache must already hold an entry for the targeted key - meaning a legitimate user of that key must have made an authenticated request in the preceding five minutes (per the advisory, a forged key is correctly rejected with 401 while the cache is cold); the advisory publishes reproduction steps for the forgery, no CISA KEV entry exists, and version 0.5.0b3.dev101 fixes the flaw.

RemediationAI

Vendor-released patch: upgrade pyLoad/pyload-ng to 0.5.0b3.dev101 or later (for example pip install --upgrade 'pyload-ng>=0.5.0b3.dev101'), which re-keys _apikey_cache on the complete API key and corrects cache eviction in delete_apikey() and remove_user() so a deleted key's entry cannot be inherited - see https://github.com/pyload/pyload/security/advisories/GHSA-r44w-v6gf-x3p6 and commit https://github.com/pyload/pyload/commit/00d1372510f915f843b1574a3f1b28fbb724a42e. The committed change is confined to src/pyload/core/api/__init__.py plus a docstring edit in src/pyload/webui/app/helpers.py, so backporting the cache-key change is a practical option for frozen deployments. The advisory does not document a configuration-only workaround; the security invariant it states is that the key secret must be validated on every authenticated request regardless of cache hit or miss, and the code path that skips that check is only removed by the fix. Until an upgrade is deployed, reduce exposure by restricting the API and webui to trusted networks or a reverse-proxy allowlist, with the trade-off that any legitimate remote client loses API access; note that simply shortening the cache lifetime narrows the 300-second window but does not restore secret verification on the cache-hit path, so it is not a complete mitigation.

Affected VersionsENISA

pyload < 0.5.0b3.dev101

Affected Packages

pypi pyload-ng fix: 0.5.0b3.dev101
euvd pyload fix: 0.5.0b3.dev101

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-287 (Improper Authentication) in pyLoad's API key layer, which spans src/pyload/core/api/__init__.py (Api.check_apikey) and src/pyload/core/database/apikey_database.py (check_apikey, _check_key). Keys use the form pl_<key_id><43-character secret>, and key_id values are small sequential integers assigned at creation. Successful validations were stored in self._apikey_cache as {key_id: (timestamp, cached_data)}, with key_id parsed directly from the user-supplied header rather than derived from a trusted lookup; on a hit within the TTL only expires_at was checked, and the cached record (id, user_id, name, created_at, expires_at, last_used) intentionally omits key_hash, so the secret cannot be re-verified on that path. Real secret verification, hmac.compare_digest(apikey[-43:], stored_hash), lives only in _check_key() and is reached solely on a cache miss through the database layer. The webui decorator in src/pyload/webui/app/helpers.py calls api.check_apikey(api_key) without a ttl argument, so the 300-second default cache is always in effect on normal API requests. The upstream commit changes the cache key to the full apikey string, populates and evicts entries by that key, and rewrites delete_apikey()/remove_user() invalidation to match on the cached record's id field so stale entries for a deleted key can no longer be inherited. The AC:H in the assessed vector reflects the warm-cache prerequisite rather than any cryptographic weakness in the HMAC comparison itself.

Know when Pyload gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Remote and unauthenticated (AV:N/PR:N) since a forged key bypasses secret checks; AC:H because success depends on the cache already holding a valid entry the attacker cannot directly control; full C/I/A as the attacker inherits the owner's permissions.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 22:03 EUVD
CVE Published
Nov 09, 2026 - 21:15 cve.org
HIGH 8.1

DescriptionCVE.org

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.

Technical POC Analysis

CWE-287, Improper Authentication.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

pyLoad, a download manager used to fetch content from the internet, is exposed to an authentication bypass that lets an attacker impersonate any valid API key holder and inherit their privileges. The condition is timing-dependent: a legitimate key holder must have used the API within the preceding five-minute window, but when that condition is met an attacker can act with that user's permissions. Leadership should care because compromise of a key holder's account can lead to unauthorized downloads, configuration changes, and potential use of the host as a pivot point, and no official patch is currently available - interim controls are required.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis (fix version 0.5.0b3.dev101 noted, not yet released). Interim mitigations: restrict API access to trusted networks or require an additional authenticating layer; disable or reduce the API key cache window where configurable; rotate API keys and monitor for forged-key activity. Note: a public PoC reference exists; it is not verified as working exploit code. No public exploit identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche open-source Python download manager, limited enterprise footprint
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Pyload

View all
CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

CVE-2023-0297 CRITICAL POC
9.8 Jan 14

Code Injection in GitHub repository pyload/pyload prior to 0.5.0b3.dev31. Rated critical severity (CVSS 9.8), this vulne

CVE-2023-0435 CRITICAL POC
9.8 Jan 22

Excessive Attack Surface in GitHub repository pyload/pyload prior to 0.5.0b3.dev41. Rated critical severity (CVSS 9.8),

CVE-2023-47890 HIGH POC
8.8 Jan 08

pyLoad 0.5.0 is vulnerable to Unrestricted File Upload. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2023-0434 HIGH POC
7.5 Jan 22

Improper Input Validation in GitHub repository pyload/pyload prior to 0.5.0b3.dev40. Rated high severity (CVSS 7.5), thi

CVE-2023-0509 HIGH POC
7.4 Jan 26

Improper Certificate Validation in GitHub repository pyload/pyload prior to 0.5.0b3.dev44. Rated high severity (CVSS 7.4

CVE-2024-32880 HIGH POC
7.2 Apr 26

pyload is an open-source Download Manager written in pure Python. Rated high severity (CVSS 7.2), this vulnerability is

CVE-2023-0227 MEDIUM POC
6.5 Jan 12

Insufficient Session Expiration in GitHub repository pyload/pyload prior to 0.5.0b3.dev36. Rated medium severity (CVSS 6

CVE-2024-1240 MEDIUM POC
6.1 Nov 15

An open redirection vulnerability exists in pyload/pyload version 0.5.0. Rated medium severity (CVSS 6.1), this vulnerab

CVE-2024-24808 MEDIUM POC
6.1 Feb 06

pyLoad is an open-source Download Manager written in pure Python. Rated medium severity (CVSS 6.1), this vulnerability i

CVE-2026-123815 CRITICAL
9.4 Nov 09

Archive extraction in pyLoad through 0.5.0b3.dev101 allows an authenticated user holding ADD and STATUS permissions to c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy