Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M
CVE-2026-50552Koel: Server-Side Request Forgery (SSRF) in radio station creation due to missing validation bail
Medium 6.3
In plain English
A medium-severity server-side request forgery in koel from koel. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | phanan/koel | 9.7.1 | GHSA-jr4p-4xjh-fwvw |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/koel/koel/security/advisories/GHSA-jr4p-4xjh-fwvw x_refsource_CONFIRM
- https://github.com/koel/koel/commit/5f6ce2cefd08f437a269236b677ad971517ccbb6 x_refsource_MISC