# CVE-2026-35586: pyload-ng authorization bypass in SSL configuration

Source: https://junglewise.ai/threats/cve-2026-35586-pyload-ng-authorization-bypass-in-ssl-configuration  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-08. Updated: 2026-06-08  
License: CC BY 4.0 with a link back

CVE-2026-35586 · Severity: medium · CVSS 6.8 · Published 2026-04-08

A vulnerability in the pyload-ng download manager allows users with limited settings permissions to bypass administrative restrictions and change the server's SSL certificate and key files. By pointing the server to malicious certificate files, an attacker can perform man-in-the-middle attacks to intercept sensitive data, including administrator credentials, when the server restarts. This could lead to a full takeover of the pyload-ng instance and exposure of all user data.

Technologies: [pyLoad Next Generation](https://junglewise.ai/threats/technologies/pyload-next-generation), [pyload-ng (PyPI)](https://junglewise.ai/threats/technologies/pyload-ng). Vendors: [pyLoad](https://junglewise.ai/threats/vendors/pyload), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-35586 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-35586 being exploited in the wild.

**How severe is CVE-2026-35586?** Medium severity, with a CVSS score of 6.8, published 8 April 2026.

**Which products and versions are affected?** pyLoad Next Generation < 0.5.0b3.dev97; pyload-ng (PyPI) < 0.5.0b3.dev97, ECOSYSTEM:introduced=0,fixed=0.5.0b3.dev97.

**Is there a fix for CVE-2026-35586?** Yes. pyload-ng (PyPI): upgrade to 0.5.0b3.dev97 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-35586 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-35586?** Check whether you run pyLoad Next Generation or pyload-ng (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pyload-ng (PyPI): upgrade to 0.5.0b3.dev97 or later

  ```sh
  pip install "pyload-ng>=0.5.0b3.dev97"
  ```


## Technical details

An authorization bypass (CWE-863) exists in `src/pyload/core/api/__init__.py` due to a naming mismatch in the `ADMIN_ONLY_CORE_OPTIONS` set. The set incorrectly references `ssl_cert` and `ssl_key` instead of the actual configuration keys `ssl_certfile` and `ssl_keyfile`, while `ssl_certchain` is missing entirely. A network-based attacker with low privileges (SETTINGS permission) can submit a `save_config` request to overwrite these file paths. Upon server restart, the application loads the attacker-specified files, enabling Man-in-the-Middle (MitM) attacks and credential theft. The issue is fixed in version 0.5.0b3.dev97.

## Affected products

- pyload pyload-ng < 0.5.0b3.dev97

## Identifiers

- CVE-2026-35586
- GHSA-ppvx-rwh9-7rj7
- PYSEC-2026-123

## Timeline

- 2026-04-04: disclosed
- 2026-04-07: advisory: NVD publication date
- 2026-04-08: patched: GitHub Advisory published and reviewed

## References

- [https://api.github.com/users/offset](https://api.github.com/users/offset)
- [https://github.com/offset](https://github.com/offset)
- [https://api.github.com/users/offset/gists%7B/gist_id%7D](https://api.github.com/users/offset/gists%7B/gist_id%7D)
- [https://api.github.com/users/offset/repos](https://api.github.com/users/offset/repos)
- [https://avatars.githubusercontent.com/u/114768995?v=4](https://avatars.githubusercontent.com/u/114768995?v=4)
- [https://api.github.com/users/offset/events%7B/privacy%7D](https://api.github.com/users/offset/events%7B/privacy%7D)

## Related threats

- [pyLoad unauthenticated template access and information disclosure](https://junglewise.ai/threats/cve-2026-75597-pyload-unauthenticated-access-to-web-path-filename-bypasses)
- [pyLoad API denial of service in multipart file upload handling](https://junglewise.ai/threats/cve-2026-48484-pyload-lack-of-input-size-validation-leads-to-denial-of-service)
- [pyload-ng authentication bypass in getUserData/get_userdata](https://junglewise.ai/threats/pyload-ng-getuserdata-get-userdata-exposed-at-perms-any-allow-any-cd197c9d)
- [pyLoad rate-limit bypass and audit-log spoofing via X-Forwarded-For header](https://junglewise.ai/threats/pyload-rate-limit-bypass-and-audit-log-spoofing-via-trusted-client-0df0fd12)
- [pyLoad session invalidation bypass in privilege revocation and password change](https://junglewise.ai/threats/pyload-privilege-revocation-and-password-change-through-the-rest-api-do-8e7301ba)
