Skip to main content

pyLoad EUVDEUVD-2026-120449

| CVE-2026-123813 HIGH
Insufficient Session Expiration (CWE-613)
2026-11-09 GitHub_M GHSA-jq7h-wrvp-3rgx
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to obtain login-based Flask session
  2. Delivery
    Administrator revokes role/perms via /api/set_user_permission
  3. Exploit
    Session keeps role/perms cached from login
  4. Execution
    Replay admin-only REST API calls (e.g. /api/set_config_value)
  5. Impact
    Retain revoked access for ~31-day session lifetime

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires that the attacker already possesses a valid, login-established Flask session for the target user (the session branch of apikey_auth / login_required), AND that an administrator subsequently invokes the revocation or password-change operation specifically through the REST API routes /api/set_user_permission or /api/change_password (served and documented in the OpenAPI spec at /api). Key limiting factors: the equivalent WebUI form handlers under /json/update_users and /json/change_password DO invalidate the session, so only the REST-API administration path is vulnerable; API-key-authenticated callers are unaffected because that path rereads user data from the database on every request; and there is no exposure unless a revocation or password rotation was actually attempted against an already-logged-in user. The default webui.session_lifetime of 44640 minutes (~31 days) is what lets a stale session outlive the revocation for roughly a month.

Impact

Signals are mixed and point to a real but conditional, non-mass-exploitation issue. The CVSS 3.1 base score is 7.5 (HIGH) with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H: network-reachable over the REST API, but gated by AC:H and PR:L, so it is not an unauthenticated drive-by. No EPSS score is provided in the input, and this CVE is NOT listed in CISA KEV, so there is no evidence of active exploitation. The vuln.today Decision label is 'this_week' (priority, not act_now/emergency), consistent with a serious access-control flaw that still requires a specific operator sequence rather than a wormable condition. The genuine risk driver is impact persistence: once an admin tries to revoke privileges or rotate a password through /api/set_user_permission or /api/change_password, the attacker's cached Flask session survives for webui.session_lifetime (default 44640 minutes, about 31 days), defeating the very containment action the admin intended. In practice this is a targeted insider/revoked-user risk, not widespread opportunistic exploitation - a meaningful priority where pyLoad is multi-user and privilege revocation is actually used, but lower urgency in single-admin deployments. Note the AC:H rating reflects a precondition outside the attacker's control (an administrator must have initiated a revocation or password change); the supplied sources do not describe any race, timing or memory-corruption trigger, so AC:H should not be read as a mechanism.

Exploit ScenarioDerived

A user who already holds a valid login-based Flask session is demoted or has their password rotated by an administrator through /api/set_user_permission or /api/change_password; because session authorization uses role and permission values copied at login by set_session, the stale session keeps returning 200 on admin endpoints and can still write admin-only options such as reconnect.script via /api/set_config_value. The GHSA advisory documents a reproducible methodology executed against the released pyload-ng 0.5.0b3.dev101 wheel with paired control runs, but no packaged standalone exploit code is published. AC:H reflects dependence on an administrator revocation action the attacker does not control, and PR:L reflects the required pre-existing authenticated session.

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

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

Alert me

AnalysisAIv1 – Nov 09, 2026

Stale Flask sessions in pyLoad (pyload-ng) up to 0.5.0b3.dev101 allow an authenticated low-privileged user to keep permissions an administrator has already revoked, or to keep using a session opened with a password that has already been changed. The failure is confined to the REST administration routes /api/set_user_permission and /api/change_password, which update the database but never invalidate the Flask session that carries the old role and permission values copied at login. The equivalent WebUI form handlers (/json/update_users, /json/change_password) do clear sessions and are not affected, and API-key callers are unaffected because that path re-reads user data from the database; with the default webui.session_lifetime of 44640 minutes a stale session can survive the revocation for roughly a month. No active exploitation is confirmed (not in CISA KEV) and no third-party exploit code has been publicly released, though the advisory documents a manual reproduction against the released wheel.

RemediationAI

Upgrade to pyload-ng 0.5.0b3.dev102 or later, which is the first build containing commit 3e726ba271a6b1015e3a0ea6dc7e46a8f71a62ad; the fix makes core API operations (change_password, set_user_permission, remove_user) invoke a session invalidator wired to clear_all_user_sessions, so both the REST and WebUI paths now terminate the affected user's sessions. Per the vendor advisory at https://github.com/pyload/pyload/security/advisories/GHSA-jq7h-wrvp-3rgx, updating is the complete fix. If upgrading must be deferred, perform revocations and password rotations through the WebUI form handlers (/json/update_users and /json/change_password) rather than /api/set_user_permission or /api/change_password, since those handlers already clear the target user's session files - the trade-off is that any automation calling the REST routes must be repointed and that the underlying stale-session class remains until the patch is applied. Additionally, restrict network access to the /api administration endpoints so only trusted administrators can reach them (reduces the window in which a demoted user can act before an admin next uses the WebUI path), and lower webui.session_lifetime from its 44640-minute default so any stale session expires in hours rather than about a month - the trade-off is more frequent re-login for legitimate users. Manually clearing the Flask server-side session files under SESSION_FILE_DIR for the affected username will terminate a stale session immediately, but this is a one-off action that must be repeated after each API-driven revocation.

Affected VersionsENISA

pyload < 0.5.0b3.dev102

Affected Packages

pypi pyload-ng no fix
euvd pyload fix: 0.5.0b3.dev102

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

pyLoad is a Python download manager whose WebUI is a Flask application. Authorization is decided from values written into the Flask session at login: set_session in webui/app/helpers.py copies the user's role and permission bitmask once, and both login_required and the session branch of apikey_auth subsequently read role and permissions back from the session object rather than from the user database. The root cause is CWE-613 (Insufficient Session Expiration): a credential or authorization state change does not terminate sessions bound to the superseded state, so the session outlives the change for the configured webui.session_lifetime (default 44640 minutes, about 31 days). An earlier advisory, GHSA-66hx-chf7-3332, addressed the same class by calling clear_all_user_sessions, but that call was added only in webui/app/blueprints/json_blueprint.py at the WebUI form handlers; Api.set_user_permission and Api.change_password in core/api/__init__.py write the database and return, and both are exported over /api/<func> and listed in the OpenAPI spec served at /api. The upstream fix (commit 3e726ba2) adds a set_session_invalidator hook to the core API, wires it in webui/app/__init__.py to clear_all_user_sessions, calls it from remove_user, change_password and a new atomic database method set_user_permission (which returns whether values actually changed), and removes the now-redundant blueprint-level invalidation calls. API-key authentication is structurally unaffected because that branch re-reads the user record from the database on every request; only session-authenticated callers hold stale authorization.

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 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

AC:H because exploitation depends on an administrator-initiated revocation/password change outside the attacker's control; PR:L because a pre-existing authenticated session is required; C/I/A:H as retained admin access enables config writes and full control.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/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
Low
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:07 cve.org
HIGH 7.5

DescriptionCVE.org

pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev102, pyLoad does not invalidate existing Flask sessions when an administrator changes a user's permissions or password through /api/set_user_permission or /api/change_password. Api.set_user_permission and Api.change_password update the database, but session authorization continues to use role and permission values copied at login by set_session in webui/app/helpers.py. A user can therefore retain revoked privileges or continue using a session established with an old password for the configured session lifetime. API-key authentication is not affected because that path rereads user data from the database. This issue is fixed in version 0.5.0b3.dev102.

Technical POC Analysis

CWE-613, Insufficient Session Expiration.

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

CVE-2026-123813 is a high-severity vulnerability in pyLoad (pyload-ng) up to 0.5.0b3.dev101 that allows low-privileged authenticated users to retain administrative permissions after they have been revoked or to keep using sessions even after a password change. This can undermine access controls and delay incident response, potentially exposing sensitive download management functions-security and IT leadership should prioritize mitigation because the flaw weakens the effectiveness of privilege revocation and could prolong unauthorized access for up to a month.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: reducing webui.session_lifetime to a minimal value (e.g., 5-15 minutes) to limit the window of stale session validity; enforcing that all user permission changes and password resets are performed exclusively through the WebUI form handlers (/json/update_users and /json/change_password) which properly clear sessions; restricting access to pyLoad's administrative interfaces to trusted networks or VPN; and actively monitoring for anomalous session usage or repeated access after permission revocation.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% 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.3%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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