CVE-2026-41896 PUBLISHED

Coolify: Unauthenticated Deployment Trigger via Webhook HMAC Bypass with Null Secret

Assigner: GitHub_M
Reserved: 22.04.2026 Published: 29.06.2026 Updated: 30.06.2026

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, the HMAC key is the application's manual_webhook_secret_github field, which is used by Coolify's webhook endpoints to validate incoming requests, is nullable with no default — meaning newly created applications have a null webhook secret. 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=<hash_hmac('sha256', payload, '')>, an unauthenticated attacker can forge a valid signature and trigger deployments. This vulnerability is fixed in 4.0.0-beta.474.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS Score: 7.5

Product Status

Vendor coollabsio
Product coolify
Versions
  • Version < 4.0.0-beta.474 is affected

References

Problem Types

  • CWE-287: Improper Authentication CWE