Incorrect AuthorizationWeakness · CWE-863

CVE-2026-34047

CRITICAL · 9.9 CVSS v3.1 Published 2026-07-07
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable Zero-click Patch available 7 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, terminal WebSocket bootstrap routes did not enforce the expected authorization middleware, allowing an authenticated user to access terminal functionality for resources outside the authorized scope and potentially execute commands. This issue is fixed in version 4.0.0-beta.471.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Coolify prior to 4.0.0-beta.471 has an authorization bypass in terminal WebSocket bootstrap routes. The routes failed to enforce expected authorization middleware, allowing authenticated users to access terminal functionality for resources outside their authorized scope and potentially execute arbitrary commands.

MitigationUpgrade Coolify to version 4.0.0-beta.471 or later to apply the authorization middleware fix.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Coolify installation and version
    Run 'coolify --version' from the command line, or check the Coolify dashboard UI for the version number typically displayed in the footer or settings page
    Affected if The installed version is below 4.0.0-beta.471 (e.g., 4.0.0-beta.450, 4.0.0-beta.300, 3.x.x)
  2. Verify terminal WebSocket endpoint is accessible
    Check if WebSocket routes for terminal functionality are exposed by reviewing the Coolify API endpoints or examining the application's route configuration for paths matching '/terminal' or '/ws/terminal' patterns
    Affected if Terminal WebSocket routes exist and are reachable without additional authorization enforcement beyond basic authentication
  3. Confirm authenticated user access to terminal features
    Log into Coolify as a standard authenticated user and attempt to access the terminal feature for a resource (such as a deployed application or database) that the user does not have explicit permissions to manage
    Affected if An authenticated user can access terminal functionality for resources outside their defined authorization scope
  4. Check for presence of authorization middleware on terminal routes
    Review Coolify's route definitions or middleware configuration files (typically in the application source under routes/ or bootstrap/ directories) to verify if terminal WebSocket routes explicitly enforce the 'authorization' or 'resource-permission' middleware
    Affected if Terminal WebSocket bootstrap routes do not include or fail to execute authorization middleware checks

A Coolify installation is affected if it runs a version prior to 4.0.0-beta.471 and the terminal WebSocket functionality is accessible to authenticated users who should not have access to those terminal resources.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Patch available Apply the vendor patch
Vendor patch github.com →
Interim mitigation

Upgrade Coolify to version 4.0.0-beta.471 or later to apply the authorization middleware fix.

Recommended fix Moderate confidence

4.0.0-beta.471

  1. Identify current Coolify installation version using `coolify --version` or checking the admin panel
  2. Back up all Coolify data and configurations before upgrading
  3. Upgrade Coolify to version 4.0.0-beta.471 or later by following the official upgrade instructions at https://coolify.io/docs
  4. Verify the upgrade was successful by checking the version again
  5. Test terminal WebSocket functionality to confirm the authorization middleware is now properly enforced
Caveat Upgrading to a beta version may introduce instability or new features with unknown behavior; test in a staging environment first

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get the patch applied

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-34047 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-34047 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data