CVE-2026-54494 Koel: Full-read SSRF via podcast enclosure URL: isPublicHost() filter_var guard does not reject NAT64 (64:ff9b::/96) or 6to4 (2002::/16) IPv6-transition wrappers of internal IPv4
Authenticated users can exploit IPv6 transition wrappers to bypass SSRF protections and read internal network data in Koel.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-54494?
CVE-2026-54494 is a medium-severity server-side request forgery vulnerability in koel, published on 19 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Koel is a free, open-source music streaming solution. Prior to 9.7.1, App\Helpers\Network::isPublicHost() uses filter_var() with FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE, which treats NAT64 64:ff9b::/96 and 6to4 2002::/16 wrappers of private, loopback, or link-local IPv4 addresses as public. An authenticated user can place such an address in a podcast RSS <enclosure url> and reach app/Values/Podcast/EpisodePlayable.php through EpisodePlayable::createForEpisode(), where isSafeUrl() accepts the target and Http::sink($file)->get($url) fetches it. On a host with NAT64 or 6to4 routing, Koel can request internal services or cloud metadata and return the response body to the user. This issue is fixed in version 9.7.1
Weakness: CWE-918
Which versions are affected by CVE-2026-54494?
2 open source packages ship an affected version, including phanan/koel.
| Package | Affected | Fixed in |
|---|---|---|
phanan/koel Packagist | All versions | 9.7.1 |
phanan/koel Packagist | All versions | 9.7.1 |
How do I fix CVE-2026-54494?
Upgrade phanan/koel to 9.7.1 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-54494 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54494 exists.
Sources
Also known as GHSA-rjg7-r26h-cfp2.