MEDIUM 5.0

CVE-2026-27881: Coolify Broken Object-Level Authorization in Deployment API

Coolify, an open-source platform for managing servers and applications, contains an authorization flaw that allows any authenticated API user to view deployment information belonging to other teams. An attacker with valid API credentials can retrieve sensitive deployment details—such as configuration, status, and metadata—for deployments they should not have access to by simply guessing or enumerating valid deployment identifiers. The vulnerability exists in versions prior to 4.0.0-beta.464 and is resolved in that release.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.0 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Weaknesses (CWE)
CWE-639
Affected products
0 configuration(s)
Published / Modified
2026-06-30 / 2026-06-30

NVD description (verbatim)

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.464, `GET /api/v1/deployments/{uuid}` in DeployController.php retrieves deployment details without validating that the deployment belongs to the authenticated user's team. Any authenticated API user can read deployment records from other teams by providing a valid deployment UUID. This vulnerability is fixed in 4.0.0-beta.464.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability resides in the GET /api/v1/deployments/{uuid} endpoint within DeployController.php. The endpoint retrieves deployment records based on a provided UUID parameter but fails to enforce team-level access control. Specifically, the code does not validate that the requesting user's team owns or has authorization to access the queried deployment before returning the response. This is a classic broken object-level authorization (CWE-639) flaw. An attacker can enumerate or discover deployment UUIDs through various means and request deployment details without restriction, leading to information disclosure across team boundaries.

Business impact

For organizations self-hosting Coolify in multi-tenant or team-based environments, this vulnerability creates a data confidentiality breach risk. Sensitive deployment configurations, database credentials (if included in the response), environment variables, and application metadata could be exposed to unauthorized API consumers within the same Coolify instance. In regulated industries, such cross-team data exposure may violate compliance requirements. The impact is amplified in shared hosting scenarios where multiple customer organizations run on a single Coolify deployment.

Affected systems

All Coolify installations prior to version 4.0.0-beta.464 are affected. Any organization running an older 4.0.0-beta release (up to and including beta.463) or earlier stable versions should be considered vulnerable if the API is accessible to authenticated users. Self-hosted instances are at direct risk; the open-source nature of Coolify means the scope depends on adoption rates in target environments.

Exploitability

Exploitation requires valid API credentials, placing this in the CVSS 'Low privilege' category. The attack is straightforward: an authenticated user simply crafts API requests with deployment UUIDs from other teams. No complex interaction, special conditions, or user interaction is necessary. The primary barrier to exploitation is obtaining legitimate API access; once an attacker has credentials (via phishing, lateral movement, or as a low-privileged team member), enumeration and data extraction can be rapid and automated. The CVSS score of 5.0 (Medium) reflects this balance.

Remediation

Upgrade Coolify to version 4.0.0-beta.464 or later. Verify the patch has been applied and the deployment service has been restarted. After patching, audit API access logs to detect any unauthorized deployment queries from the period prior to update. Establish API rate limiting and monitoring to detect future enumeration attempts. Consider implementing API key rotation policies to minimize the window of exposure if credentials were compromised.

Patch guidance

Deploy version 4.0.0-beta.464 or any subsequent release. Refer to the official Coolify GitHub repository and release notes to confirm patch availability and deployment steps for your environment. Given the beta status of current releases, review the changelog to understand any breaking changes or migration steps. Test the update in a non-production environment first, especially if you are running a stable release prior to the 4.0.0-beta line.

Detection guidance

Monitor API logs for repeated GET requests to /api/v1/deployments/{uuid} endpoints with varying UUIDs, particularly from single API clients or users querying deployments outside their team. Implement Web Application Firewall (WAF) rules to flag suspicious enumeration patterns. If you have retained request logs from before patching, search for requests where the deployment UUID does not match the authenticating user's team ownership. Consider adding rate limiting to the deployment endpoint to slow brute-force enumeration.

Why prioritize this

Although assigned a Medium CVSS score, this vulnerability should be prioritized for immediate patching in any multi-tenant Coolify deployment. Information disclosure of deployment configurations is a significant risk in shared environments, and the fix is straightforward. Unpatched instances expose customer data across organizational boundaries, creating legal and operational risk. Prioritize instances with multiple teams or external API users.

Risk score, explained

The CVSS 3.1 score of 5.0 reflects a network-accessible vulnerability requiring only low-privilege authentication (PR:L), with no user interaction, affecting the confidentiality of deployment information (C:L) while not impacting integrity or availability. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the vulnerable component. While not critical, the exposure of multi-tenant deployment metadata and potential credential leakage justifies Medium severity and swift remediation.

Frequently asked questions

Can an attacker read database credentials or secrets from deployment details?

Potentially, depending on what deployment metadata Coolify returns in the API response. If environment variables, database connection strings, or API keys are included in the deployment details endpoint, an attacker could harvest them. Review what fields are returned by the endpoint and consider filtering sensitive data from API responses even after patching.

Do we need to rotate API keys if this vulnerability was exploited?

Yes. If you cannot confirm that your Coolify instance was not accessed by unauthorized parties, treat all API keys generated before the patch date as compromised and rotate them. Verify access logs first to determine the scope of potential exposure.

Is there a workaround if we cannot patch immediately?

Restrict API access to trusted networks only using a firewall or reverse proxy. Disable the Coolify API entirely if it is not actively used. Implement strict monitoring on the /deployments endpoint. However, these are temporary measures; upgrade to 4.0.0-beta.464 as soon as feasible.

Does this vulnerability affect self-hosted single-team deployments?

In a single-team environment, there is only one team, so enumeration of UUIDs will always return data owned by that team. However, the authorization flaw still represents a code quality issue and may interact poorly with future features or configurations. Patch to maintain security posture and reduce technical debt.

This analysis is provided for informational purposes and reflects the facts of the vulnerability as of the publication date. Organizations should verify patch availability, compatibility, and deployment timelines against official Coolify release notes and their own testing. SEC.co makes no warranty regarding the completeness or accuracy of this intelligence in specific operational contexts. Always consult vendor security advisories and your security team before making patching decisions. Source: NVD (public-domain), retrieved 2026-08-09. Analysis generated by SEC.co (claude-haiku-4-5).