All vulnerabilities

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
Weakness
CWE-350Server-side request forgery (CWE-918)
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…

From coollabsio/coolify's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
CoolifyServers and applications · github:coollabsio/coolify
  • Every version before 4.4.0

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.

From its GitHub repository.
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

References