Skip to main content

Koel EUVDEUVD-2026-36546

| CVE-2026-50552 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-06-12 GitHub_M GHSA-jr4p-4xjh-fwvw
6.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as any Koel user
  2. Delivery
    POST /api/radio/stations with internal URL
  3. Exploit
    SafeUrl rejects but HasAudioContentType fires
  4. Execution
    Server issues HEAD/GET to internal host
  5. Persist
    Observe response or infer host liveness
  6. Impact
    Probe internal network topology

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated session for any non-admin Koel user account - the POST /api/radio/stations endpoint is accessible to regular users. No elevated privileges, special configuration, or non-default deployment mode is needed beyond having an account. The Koel instance must be running a version prior to 9.7.1. The SSRF reach is limited to HEAD/GET HTTP requests; protocols other than HTTP/HTTPS are not usable through this vector because the SafeUrl rule enforces scheme restrictions. Exploitation is further constrained by the server's outbound network policy: if the host has no route to internal targets (e.g., cloud-isolated deployment), the SSRF has no useful reach. DNS rebinding is a separately noted risk in the removed SafeHttp.php code but is not directly demonstrated by this CVE.

Impact

The CVSS 3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) reflects a medium-severity finding. The PR:L metric is consistent with the description requiring an authenticated non-admin account, which represents a real but non-trivial access barrier. EPSS at 0.04% (12th percentile) signals low exploitation probability in the near term, and there is no CISA KEV listing and no known public proof-of-concept. The combination of low EPSS, no KEV, and required authentication means this vulnerability is not a top-priority emergency for most deployments. However, for Koel instances exposed to the internet or to untrusted users (e.g., shared family/community servers), the ability of any logged-in user to probe the internal network is a meaningful lateral-movement enabler. The A:L metric in the vendor CVSS may overstate availability impact given that the exploit path is limited to HEAD/GET requests; C:L and I:L are more defensible. No conflicting signals exist between CVSS and description - network vector and low-privilege requirements are consistent throughout.

Exploit ScenarioDerived

An authenticated Koel user (no admin privileges required) submits a POST request to /api/radio/stations with the url field set to an internal address such as http://192.168.1.1/ or http://169.254.169.254/latest/meta-data/ (AWS IMDSv1). SafeUrl rejects the URL but, lacking the bail keyword, HasAudioContentType proceeds to issue an HTTP HEAD or GET request to that address, allowing the attacker to probe live internal hosts and potentially extract response headers or trigger state changes on internal HTTP services. No public proof-of-concept is known at time of analysis, but the vulnerability is straightforward to exploit with a standard HTTP client given a valid session token.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 12, 2026

SSRF in Koel's radio station creation endpoint (POST /api/radio/stations) allows any authenticated non-admin user to coerce the server into issuing HEAD/GET requests to arbitrary internal hosts. The root cause is a missing Laravel bail keyword in the URL field validation chain: the SafeUrl rule correctly rejects private/reserved addresses, but without bail, the subsequent HasAudioContentType rule still executes and makes an outbound HTTP request to the attacker-supplied URL. Vendor-released patch version 9.7.1 resolves the issue; no public exploit or CISA KEV listing exists at time of analysis.

RemediationAI

Upgrade Koel to version 9.7.1, which resolves the issue by adding the bail modifier to the URL field validation rules in app/Ai/Tools/AddRadioStation.php, ensuring that HasAudioContentType never executes when SafeUrl has already rejected a private or reserved URL. The exact fix commit is available at https://github.com/koel/koel/commit/5f6ce2cefd08f437a269236b677ad971517ccbb6. If immediate upgrade is not possible, a targeted workaround is to restrict access to the POST /api/radio/stations endpoint at the application firewall or reverse-proxy layer for untrusted user roles, accepting the trade-off that radio station creation will be unavailable for those users. Network-level egress filtering on the Koel server host to block outbound connections to RFC 1918, loopback (127.0.0.0/8), and link-local (169.254.0.0/16) ranges will also contain the SSRF reach without disabling the feature, though this should be considered defense-in-depth rather than a primary fix. Vendor advisory: https://github.com/koel/koel/security/advisories/GHSA-jr4p-4xjh-fwvw.

Affected VersionsENISA

koel < 9.7.1

Affected Packages

composer phanan/koel fix: 9.7.1
euvd koel fix: 9.7.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Koel is a PHP/Laravel-based music streaming application. The affected endpoint is POST /api/radio/stations, which accepts a url field for internet radio streams. Laravel's validation pipeline by default executes all declared rules in sequence unless the bail modifier is prepended, which stops further rule evaluation on the first failure. The SafeUrl rule performs DNS-based checks to reject URLs resolving to private or reserved IP ranges (RFC 1918, loopback, link-local) without making network connections. The HasAudioContentType rule, however, issues a live HTTP HEAD or GET request to validate audio content type. Without bail, HasAudioContentType fires regardless of SafeUrl's rejection, constituting a classic SSRF bypass of input validation (CWE-918). Affected products per CPE: cpe:2.3:a:koel:koel:*:*:*:*:*:*:*:* covering all versions prior to 9.7.1. The commit diff also removes Network.php and SafeHttp.php helper classes previously used for SSRF-safe redirect validation, indicating a broader refactor of the outbound HTTP defense surface alongside the primary fix.

Know when Koel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 5.4 MEDIUM

Network-reachable endpoint requiring authenticated low-privilege user (PR:L); SSRF via HEAD/GET enables internal network probing (C:L) with minor side-effect risk on internal services (I:L); availability impact not substantiated for read-only HTTP requests.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 12, 2026 - 21:01 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy