All vulnerabilities

Servers and applications

CVE-2026-41896

Unauthenticated Deployment Trigger via Webhook HMAC Bypass with Null Secret

Severity
High 7.5
Published
25 Jun 2026
Last changed
25 Jun 2026
Added to UpHeron
22 Oct 2026
Fixed in
4.0.0-beta.474
Exploit chance
0.3% in the next 30 daysHigher than 20% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper authentication (CWE-287)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Also known as
GHSA-w8wm-r924-f65v
Sources
Project advisories (GitHub)

Description

Coolify's webhook endpoints validate incoming requests using HMAC-SHA256 signatures. The HMAC key is the application's manual_webhook_secret_github field, which is nullable with no default — meaning newly created applications have a null webhook secret.

Here's the problem: PHP's hash_hmac() function silently coerces a null key to an empty string ''. So when the secret is null, the server computes hash_hmac('sha256', $payload, '') — a deterministic value that any attacker can calculate independently. By sending X-Hub-Signature-256: sha256=, an unauthenticated attacker can forge a valid signature and trigger deployments.

This affects all three webhook controllers (GitHub, Bitbucket, Gitea). The GitHub path is the most common since Coolify primarily integrates with GitHub repositories.

The default configuration is vulnerable — a user must explicitly navigate to the application settings and set a webhook secret to be protected.

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.0.0-beta.474

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
4,970,195Docker Hub, 15 Nov 2026
GitHub stars
66,095GitHub, 15 Nov 2026
Forks
5,989GitHub, 15 Nov 2026
Latest release
v4.7.5GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
25 Jan 2021GitHub

References