# 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.

- **Severity:** Medium 5.3 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 19 Aug 2026
- **Updated:** 25 Aug 2026
- **Also known as:** GHSA-rjg7-r26h-cfp2

## 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 (Server-Side Request Forgery)

## Which versions are affected by CVE-2026-54494?

2 open source packages ship an affected version, including phanan/koel.


| Package | Ecosystem | 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.

## Is CVE-2026-54494 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54494 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-54494 and fix it if it is affected.

What it is: 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.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54494 exists.

Affected packages and fixed versions:
- phanan/koel (Packagist): affected all versions; fixed in 9.7.1
- phanan/koel (Packagist): affected all versions; fixed in 9.7.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-54494/ (Markdown: https://insights.sbomify.com/CVE-2026-54494/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-54494
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-54494
- OSV: https://osv.dev/vulnerability/CVE-2026-54494

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-54494/
Summaries are generated and may contain mistakes; the official description above is the record.
