CVE-2026-50552 Koel: Server-Side Request Forgery (SSRF) in radio station creation due to missing validation bail
Authenticated users can exploit missing validation to force the Koel server to make requests to internal hosts via radio station creation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-50552?
CVE-2026-50552 is a medium-severity server-side request forgery vulnerability in koel, published on 12 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-918
Which versions are affected by CVE-2026-50552?
2 open source packages ship an affected version, including phanan/koel.
| Package | Affected | Fixed in |
|---|---|---|
phanan/koel Packagist | All versions | 9.7.1 |
phanan/koel Packagist | All versions | 9.7.1 |
How do I fix CVE-2026-50552?
Upgrade phanan/koel to 9.7.1 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-50552 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50552 exists.
Sources
Also known as GHSA-jr4p-4xjh-fwvw.