CVE-2026-41896
Beschrijving NL
Coolify is een open-source en zelf-hostable tool voor het beheren van servers, applicaties en databases. Voor 4.0.0-beta.474 is de HMAC-sleutel het veld manual_webhook_secret_github van de applicatie, dat wordt gebruikt door de webhook-eindpunten van Coolify om inkomende verzoeken te valideren, is nullable zonder standaard — wat betekent dat nieuw gemaakte applicaties een null webhook-geheim hebben. De hash_hmac () -functie van PHP dwingt stilletjes een null-sleutel tot een lege tekenreeks ''. Dus wanneer het geheim null is, berekent de server hash_hmac('sha256', $payload, '') — een deterministische waarde die elke aanvaller onafhankelijk kan berekenen. Door X-Hub-Signature-256: sha256= te verzenden, kan een niet-geverifieerde aanvaller een geldige handtekening vervalsen en implementaties activeren. Deze kwetsbaarheid is opgelost in 4.0.0-beta.474.
Origineel (Engels) tonen
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=, an unauthenticated attacker can forge a valid signature and trigger deployments. This vulnerability is fixed in 4.0.0-beta.474.