medium6.3
CVE-2026-50552
Koel: Server-Side Request Forgery (SSRF) in radio station creation due to missing validation bail
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | phanan/koel | <= 9.7.0 | 9.7.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jr4p-4xjh-fwvw
- https://github.com/koel/koel/security/advisories/GHSA-jr4p-4xjh-fwvw
- https://nvd.nist.gov/vuln/detail/CVE-2026-50552
- https://github.com/koel/koel/pull/2549
- https://github.com/koel/koel/commit/5f6ce2cefd08f437a269236b677ad971517ccbb6
- https://github.com/koel/koel/releases/tag/v9.7.1