AzuraCast: Path Traversal in `currentDirectory` Parameter Enables Remote Code Execution via Media Upload
AzuraCast
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| azuracast/azuracast Packagist |
|
|
Original description
AzuraCast is a self-hosted, all-in-one web radio management suite. Prior to version 0.23.6, the currentDirectory request parameter in the Flow.js media upload endpoint (POST /api/station/{station_id}/files/upload) is not sanitized for path traversal sequences. When combined with a local filesystem storage backend (the default), an authenticated user with media management permissions can write arbitrary files outside the station's media storage directory, achieving remote code execution by writing a PHP webshell to the web root. This issue has been patched in version 0.23.6.
From the CVE record · GitHub_M
References
- github.com/AzuraCast/AzuraCast/security/advisories/GHSA-vp2f-cqqp-478jVendor advisory
- github.com/AzuraCast/AzuraCast/commit/18c793b4427eb49e67a2fea99a89f1c9d9dd808dPatch
- github.com/AzuraCast/AzuraCast/releases/tag/0.23.6
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42605.json
- nvd.nist.gov/vuln/detail/CVE-2026-42605
- github.com/AzuraCast/AzuraCast