CVE-2026-41896: CWE-287: Improper Authentication in coollabsio coolify
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.
AI Analysis
Technical Summary
Coolify's webhook endpoints rely on an HMAC key derived from the manual_webhook_secret_github field to validate incoming requests. Before version 4.0.0-beta.474, this field is nullable and defaults to null for new applications. Since PHP's hash_hmac() function silently converts a null key to an empty string, the server computes a predictable HMAC signature using an empty key. An attacker can generate this signature independently and send a forged X-Hub-Signature-256 header to bypass authentication and trigger deployments without authorization. The vulnerability is addressed in version 4.0.0-beta.474 by ensuring the webhook secret is properly set and not nullable.
Potential Impact
An unauthenticated attacker can forge valid webhook signatures due to the null HMAC key being treated as an empty string. This allows the attacker to trigger unauthorized deployments on affected Coolify instances, leading to potential unauthorized code execution or application manipulation. The vulnerability does not impact confidentiality or availability directly but compromises integrity by allowing unauthorized deployment triggers.
Mitigation Recommendations
This vulnerability is fixed in Coolify version 4.0.0-beta.474. Users should upgrade to this version or later to ensure the webhook secret is properly set and the HMAC key is not nullable. There is no official patch or temporary fix other than upgrading. Until upgraded, users should manually ensure that the manual_webhook_secret_github field is set to a non-null, strong secret to prevent exploitation.
CVE-2026-41896: CWE-287: Improper Authentication in coollabsio coolify
Description
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/coollabsio/coolifyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Coolify's webhook endpoints rely on an HMAC key derived from the manual_webhook_secret_github field to validate incoming requests. Before version 4.0.0-beta.474, this field is nullable and defaults to null for new applications. Since PHP's hash_hmac() function silently converts a null key to an empty string, the server computes a predictable HMAC signature using an empty key. An attacker can generate this signature independently and send a forged X-Hub-Signature-256 header to bypass authentication and trigger deployments without authorization. The vulnerability is addressed in version 4.0.0-beta.474 by ensuring the webhook secret is properly set and not nullable.
Potential Impact
An unauthenticated attacker can forge valid webhook signatures due to the null HMAC key being treated as an empty string. This allows the attacker to trigger unauthorized deployments on affected Coolify instances, leading to potential unauthorized code execution or application manipulation. The vulnerability does not impact confidentiality or availability directly but compromises integrity by allowing unauthorized deployment triggers.
Mitigation Recommendations
This vulnerability is fixed in Coolify version 4.0.0-beta.474. Users should upgrade to this version or later to ensure the webhook secret is properly set and the HMAC key is not nullable. There is no official patch or temporary fix other than upgrading. Until upgraded, users should manually ensure that the manual_webhook_secret_github field is set to a non-null, strong secret to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-22T15:11:54.671Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a42de5d27e9c79719807160
Added to database: 06/29/2026, 21:06:37 UTC
Last enriched: 07/06/2026, 22:27:56 UTC
Last updated: 08/13/2026, 04:04:41 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.