Servers and applications
CVE-2026-122261
Authenticated SSRF in GitHub/GitLab source integration: redirect + DNS-rebind bypass of the `SafeExternalUrl` allowlist lets a low-privileged user reach internal services and cloud metadata (IMDS)
- Severity
- Medium 6.8
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 4.4.0
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N- Also known as
- GHSA-2x2h-2379-g78m
- Sources
- Project advisories (GitHub)
Description
Coolify validates the api_url / html_url of a Git source (GitHub App / GitLab) with the SafeExternalUrl rule, which resolves DNS and rejects private, loopback, and link-local targets - but only at input-validation time. The code that later performs the outbound HTTP request to that URL (the Http::GitHub / Http::GitLab client macros, and the GitHub App manifest callback handler) does not apply the hardened option bundle SafeWebhookUrl::httpClientOptions() that Coolify uses on its webhook/S3 egress. That bundle sets allow_redirects => false and pins the validated host to its resolved IPs via CURLOPT_RESOLVE. Because the Git-source client omits it, the request:
- follows HTTP redirects (Guzzle default of up to 5 hops), and
- re-resolves DNS at request time (no pinning),
so any authenticated user whose api_url host is public at validation time can force the Coolify server to send a request to an arbitrary internal or link-local address at request time - via a 302 Location: redirect or…
Affected software
| Software | Affected versions |
|---|---|
CoolifyServers and applications · github:coollabsio/coolify |
|
About Coolify
An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
- Docker Hub pulls
- 5,885,689Docker Hub, 29 Nov 2026
- GitHub stars
- 67,230GitHub, 29 Nov 2026
- Forks
- 6,132GitHub, 29 Nov 2026
- Latest release
- v4.7.10GitHub, 29 Nov 2026
- Released
- 28 Nov 2026GitHub
- License
- Apache-2.0GitHub
- First published on GitHub
- 25 Jan 2021GitHub
Source code Website Docker image
Vulnerabilities in Coolify
- In our list
- 83
- Published in the last 12 months
- 71
- Critical, last 12 months
- 14
- High, last 12 months
- 30
- Known exploited
- 0
- CVE-2026-48739Cross-tenant Docker network and server attach in Coolify via `Project\Shared\Destination` LivewireCritical 9.9 1 Dec 2026
- CVE-2026-53936Reusable Invitation Magic Link Tokens Enable Unauthenticated Account TakeoverMedium 4.8 1 Dec 2026
- CVE-2026-53775Unauthenticated GitHub Source Takeover via `/webhooks/source/github/redirect` & `/install`Medium 6.5 1 Dec 2026
- CVE-2026-59812SSRF: SafeWebhookUrl bypassed by IPv4-mapped IPv6, IPv6 ULA, DNS rebinding, K8s cluster.localMedium 6.4 1 Dec 2026
- CVE-2026-48740Cross-tenant Environment deletion and existence disclosure in Coolify via `DeleteEnvironment` LivewireMedium 6.3 1 Dec 2026
- CVE-2026-48738Cross-tenant GitHub App installation-token mint in Coolify via `Project\New\GithubPrivateRepository` LivewireHigh 8.5 1 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-122261
- GitHub Advisory Database https://github.com/advisories/GHSA-2x2h-2379-g78m
- github.com https://github.com/coollabsio/coolify/security/advisories/GHSA-2x2h-2379-g78m