CVE-2026-50887 shlink has a Server-Side Request Forgery issue

Critical 9.1 Published Updated

Attackers can scan internal resources by supplying a crafted longUrl to the automatic short URL title resolution component.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-50887?

CVE-2026-50887 is a critical server-side request forgery vulnerability in n/a, published on 15 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Server-Side Request Forgery (SSRF) in the automatic short URL title resolution component of shlink v5.0.1 allows attackers to scan internal resources via supplying a crafted longUrl.

Weakness: CWE-918

Which versions are affected by CVE-2026-50887?

2 open source packages ship an affected version, including shlinkio/shlink.

PackageAffectedFixed in
shlinkio/shlink PackagistAll versions to 5.0.1None
shlinkio/shlink PackagistAll versions to 5.0.1None

How do I fix CVE-2026-50887?

No fix has been published for CVE-2026-50887 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-50887 being exploited?

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

Sources

Also known as GHSA-p85r-x2wj-mxqj.

Is CVE-2026-50887 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free