Description
SABnzbd is an open source automated Usenet download tool. Prior to 5.1.0Beta3, orphan-job management in `sabnzbd/api.py` accepts the user-controlled `value` parameter without path confinement before `os.path.join()` with `download_dir`. An absolute path discards that base directory. An attacker with a valid API key can invoke `mode=status` with `name=delete_orphan` to reach `_api_delete_orphan` and `remove_all()` in `sabnzbd/filesystem.py`, which uses `shutil.rmtree()` for recursive deletion. The advisory also identifies `_api_add_orphan` and `_api_delete_all_orphan` as affected by the path-validation issue, while its concrete arbitrary-deletion trace is through `_api_delete_orphan`. The API key is stored in plaintext in `sabnzbd.ini`. The attacker can delete files or directories writable by the SABnzbd process, including configuration, queue data, and downloads, but system files outside the regular user's ownership are not affected. This issue is fixed in version 5.1.0Beta3.
Published: 2026-10-30
Score: 7 High
EPSS: n/a
KEV: No
Impact: Arbitrary File Deletion
Action: Immediate Patch
AI Analysis

Impact

A path‑traversal flaw in SABnzbd’s orphan‑job API allows a user controlling the $value parameter to escape the configured download directory and supply an absolute path. When an attacker with a valid API key calls the delete_orphan command, the internal routine uses shutil.rmtree() to recursively delete the target, removing files or directories writable by the SABnzbd process. The vulnerability is identified as CWE‑22 and results in data loss and potential service disruption, but it does not grant system‑level access or data exfiltration.

Affected Systems

SABnzbd, the open‑source Usenet downloader, is vulnerable in all releases before version 5.1.0Beta3. The issue is fixed in 5.1.0Beta3 and later.

Risk and Exploitability

The CVSS score of 7 indicates a high severity; the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a valid API key, which is stored in plaintext in the sabnzbd.ini file, so an attacker who can obtain the key can trigger the deletion routine via the delete_orphan endpoint. The attack path is straightforward: supply an absolute path, bypass the download directory restriction, invoke delete_orphan, and the process removes any writable file or directory, including configuration files, queue data, and downloads.

Generated by OpenCVE AI on October 30, 2026 at 22:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SABnzbd to version 5.1.0Beta3 or later, where the path validation has been corrected.
  • Disable or remove orphan‑job deletion capabilities from the API if they are not required, such as by blocking the delete_orphan endpoint with configuration or firewall rules.
  • Run SABnzbd with the lowest privilege level required and ensure the process does not write files outside its designated download directory; move sensitive configuration files to a secure, non‑writable location.

Generated by OpenCVE AI on October 30, 2026 at 22:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Sabnzbd
Sabnzbd sabnzbd
Vendors & Products Sabnzbd
Sabnzbd sabnzbd

Fri, 30 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Description SABnzbd is an open source automated Usenet download tool. Prior to 5.1.0Beta3, orphan-job management in `sabnzbd/api.py` accepts the user-controlled `value` parameter without path confinement before `os.path.join()` with `download_dir`. An absolute path discards that base directory. An attacker with a valid API key can invoke `mode=status` with `name=delete_orphan` to reach `_api_delete_orphan` and `remove_all()` in `sabnzbd/filesystem.py`, which uses `shutil.rmtree()` for recursive deletion. The advisory also identifies `_api_add_orphan` and `_api_delete_all_orphan` as affected by the path-validation issue, while its concrete arbitrary-deletion trace is through `_api_delete_orphan`. The API key is stored in plaintext in `sabnzbd.ini`. The attacker can delete files or directories writable by the SABnzbd process, including configuration, queue data, and downloads, but system files outside the regular user's ownership are not affected. This issue is fixed in version 5.1.0Beta3.
Title SABnzbd: Orphan-job path traversal permits arbitrary file deletion
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-30T20:45:43.462Z

Reserved: 2026-07-14T22:48:09.779Z

Link: CVE-2026-62965

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T21:17:14.993

Modified: 2026-10-30T21:17:14.993

Link: CVE-2026-62965

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T22:45:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')