{"answers":{"affected":"2 open source packages ship an affected version, including phanan/koel.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50552 exists.","fix":"Upgrade phanan/koel to 9.7.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-50552 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50552 exists.\n\nAffected packages and fixed versions:\n- phanan/koel (Packagist): affected all versions; fixed in 9.7.1\n- phanan/koel (Packagist): affected all versions; fixed in 9.7.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50552/ (Markdown: https://insights.sbomify.com/CVE-2026-50552/index.md)","id":"CVE-2026-50552","markdown":"https://insights.sbomify.com/CVE-2026-50552/index.md","name":"CVE-2026-50552","record":{"aliases":["GHSA-jr4p-4xjh-fwvw"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Koel music streaming","requires_auth":"low_privilege","summary":"Authenticated users can exploit missing validation to force the Koel server to make requests to internal hosts via radio station creation.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Koel: Server-Side Request Forgery (SSRF) in radio station creation due to missing validation bail","id":"CVE-2026-50552","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Note Mark: Path traversal via unsanitized book/note slug in migrate export (sibling of GHSA-g49p)","id":"CVE-2026-50553"},"packages":[{"ecosystem":"Packagist","fixed":["9.7.1"],"introduced":["0"],"last_affected":[],"package":"phanan/koel","purl":null,"source":"GHSA-jr4p-4xjh-fwvw"},{"ecosystem":"Packagist","fixed":["9.7.1"],"introduced":["0"],"last_affected":[],"package":"phanan/koel","purl":"pkg:composer/phanan/koel","source":"GHSA-jr4p-4xjh-fwvw"}],"prev":{"headline":"SiYuan: Stored XSS to RCE via Unsanitized Attribute View Asset Cell Content","id":"CVE-2026-50551"},"products":["koel"],"published":"2026-06-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-15","vendors":["koel"]},"summary":"Authenticated users can exploit missing validation to force the Koel server to make requests to internal hosts via radio station creation.","url":"https://insights.sbomify.com/CVE-2026-50552/"}