Download automation often uses metadata to decide where completed files should live. CVE-2026-133238 shows the risk of treating an NZB field as a safe path fragment. The SABnzbd advisory says crafted propername, episodename or job-name %dn values could make the Sorter write files outside the configured Complete folder.
The flaw affects SABnzbd through 5.1.3 and is fixed in 5.2.0. The severity in the reviewed advisory is low, but a file write outside the download root can still overwrite configuration, place content in a web root or interfere with another service that shares the volume.
The post-processing boundary
SABnzbd's Sorter moves and renames completed downloads according to user-defined patterns. The patterns can include directory names derived from the job. A path is assembled from the destination root and those metadata values.
The security property should be that the final path remains below the Complete folder, regardless of the characters in the NZB. A lexical check for .. is not enough when absolute paths, duplicated separators or platform-specific prefixes can change interpretation. The final resolved path is the relevant object.
An attacker who can submit or influence an NZB job may use the Sorter as a limited file write. The useful target depends on which account runs SABnzbd and what it can reach. A service account with write access to web content or application configuration turns the path traversal into a stronger persistence path.
Remediation
Upgrade to SABnzbd 5.2.0 or later. Review sorting patterns and rename templates after the update. Test the exact templates used in production, because the application-specific path construction is where the bug appeared.
Run SABnzbd as a dedicated account with a private download volume. Do not mount the application code directory, web root or credential store into that namespace. Give the process a write boundary that contains the download and post-processing trees only.
Restrict API access and remote job submission. If the SABnzbd interface is reachable from an untrusted network, require authentication and put it behind a network policy. Anyone who can create jobs with attacker-controlled names is already part of the threat model for this CVE.
Investigation
Review SABnzbd history and logs for unusual propername, episodename or %dn values. Look for files created outside the Complete folder during sorting. Compare file modification times in startup, web and configuration directories with job history.
If an unexpected file appeared in an executable or served path, collect the file hash and host process logs before deleting it. Review the SABnzbd service account's ability to reach other mounted volumes and rotate credentials that were readable from that account.
Verification
Use a test NZB with names containing parent-directory components and absolute paths. Confirm that post-processing writes only under the Complete folder and that a rejected path does not leave a partial file. Keep the negative test across future sorting-template changes.