Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-50552 EUVD-2026-36546GHSA-jr4p-4xjh-fwvw

Koel: Server-Side Request Forgery (SSRF) in radio station creation due to missing validation bail

Published Jun 12, 2026 · Updated Jun 15, 2026 · Assigned by GitHub_M

Description

Koel is a free, open-source music streaming solution. Prior to version 9.7.1, Koel contains a Server-Side Request Forgery (SSRF) vulnerability in the radio station creation endpoint (POST /api/radio/stations). The url field validation rules are declared without the bail keyword, so the HasAudioContentType rule — which issues HTTP requests to the supplied URL — still executes even after the SafeUrl rule has rejected the URL as pointing to a private/reserved address. Any authenticated, non-admin user can therefore coerce the server into making HEAD/GET requests to arbitrary internal hosts. This issue has been patched in version 9.7.1.

Affected products

VendorProductAffectedFixed
koel koel < 9.7.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phanan/koel < 9.7.1 9.7.1 GHSA-jr4p-4xjh-fwvw

References