mediumCVSS 6.4Vulnerability

GHSA-8q6q-m837-fv64

## Summary Koel's Subsonic `createPodcastChannel.view` endpoint accepts a user supplied podcast feed URL and fetches it server-side before applying the safe URL checks that are used for podcast episode enclosure URLs. An authenticated Subsonic API user can provide a loopback or internal URL as the feed URL and cause the Koel backend to issue a request to that address. A related redirect gap exists in the podcast stream helper: `PodcastService::getStreamableUrl()` validates only the original URL, then lets Guzzle follow redirects and accepts the final redirected URL without re-validating it. ## Impact An attacker with any valid Koel account and Subsonic API key can trigger server-side requests from the Koel host to loopback or internal network services. This can be used for blind SSRF against internal HTTP endpoints reachable by the Koel deployment. If an internal service returns valid RSS/XML or permissive CORS responses, parts of the response or final URL may be reflected back through normal podcast or stream behavior. ## Reproduction 1. Start Koel v9.6.0 or current main and create a normal user. 2. Obtain the user's Subsonic API key. 3. Start a local canary HTTP server on the Koel host at `127.0.0.1:8103` that records requests and returns this minimal RSS feed: ```xml <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>Internal Canary Feed</title> <link>https://example.com/</link> <description>Internal feed SSRF canary</description> <item> <title>Episode One</title> <guid>koel-internal-canary-episode-1</guid> <pubDate>Mon, 01 Jun 2026 12:00:00 GMT</pubDate> <enclosure url="https://example.com/episode.mp3" length="1" type="audio/mpeg" /> </item> </channel> </rss> ``` 4. Send an authenticated Subsonic request: ```http GET /rest/createPodcastChannel.view?apiKey=<SUBSONIC_API_KEY>&f=json&url=http://127.0.0.1:8103/feed.xml HTTP/1.1 Host: koel.example ``` 5. The endpoint returns a successf

Properties

ghsa_id
GHSA-8q6q-m837-fv64
severity
medium
summary
Koel has SSRF through Authenticated Subsonic podcast feed URLs
cvss_score
6.4
cve_id
GHSA-8q6q-m837-fv64
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
is_ghsa_only
true
ghsa_published
2026-07-15T17:31:12Z
source_url
https://github.com/advisories/GHSA-8q6q-m837-fv64
ghsa_updated
2026-07-15T17:31:13Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]composer/phanan/koel

AFFECTS (1)

[Software]composer/phanan/koel

HAS_WEAKNESS (1)

[Weakness]Server-Side Request Forgery (SSRF)

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-8q6q-m837-fv64 (CVSS 6.4) — Ninja Signal Threat Intelligence | Ninja Signal