Missing authorization exposes Git provider credentials in Dokploy dokploy

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-86059?

CVE-2026-86059 is a vulnerability classified as Exposure of Sensitive Information to an Unauthorized Actor and Missing Authorization, affecting dokploy (affected versions: < 0.29.13). This vulnerability is rated Critical, with a CVSS score of 9.6. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, Dokploy organization members without Git provider access can retrieve plaintext provider credentials through github.one, gitlab.one, gitea.one, and bitbucket.one because those protected procedures return full provider rows without applying getAccessibleGitProviderIds or an organization check. The application.one route also returns nested GitHub, GitLab, Gitea, and Bitbucket relations from findApplicationById with GitHub App private keys, OAuth tokens, client secrets, webhook secrets, and app passwords even when hasGitProviderAccess is false. A member with application read access or a provider identifier can therefore bypass per-member provider assignment and use the exposed credentials to access private repositories or manipulate external workflows. This issue is fixed in version 0.29.13.

Affected products and scope

The supplied affected facts classify Dokploy dokploy versions < 0.29.13 as affected.

  • Deployments with multiple members and Git providers that are not shared with all members are the priority population for review.
  • The vendor advisory inspected explicitly confirms <= 0.29.8, but its page still displays no patched version.
  • Release v0.29.13 lists fixes for credential disclosure through cross-organization IDOR on the .one endpoints and through application.one.
  • The difference between the older advisory boundary and the record's < 0.29.13 boundary is not evidence that versions between those points are safe. Use the normalized boundary for triage and verify the provenance of each deployment.

Technical details

Dokploy resolves Git providers through protected tRPC procedures such as github.one, gitlab.one, gitea.one, and bitbucket.one, but these procedures do not apply getAccessibleGitProviderIds or check organizationId before returning full provider rows. An authenticated member can therefore submit a valid provider identifier and receive secret fields from a provider they are not entitled to use. The related repository, branch, and connection-test handlers are also described by the vendor advisory as following the same missing-authorization pattern.

The application.one route creates a second disclosure path. findApplicationById loads nested GitHub, GitLab, Gitea, and Bitbucket relations with secret fields, and the response still returns those relations even when hasGitProviderAccess is false. Exposed data can include GitHub App private keys, OAuth access or refresh tokens, client secrets, webhook secrets, Bitbucket app passwords, and API tokens.

The supported attack precondition is an authenticated Dokploy account with application or service read access, or knowledge of a provider identifier. The hasGitProviderAccess value only describes the authorization state in the response and does not itself remove secret fields. Available evidence does not establish that every deployment configuration stores or returns every listed credential type; the actual exposure depends on the configured Git providers.

Exploitability

  • Reachability: The issue is reachable through Dokploy network APIs.
  • Authentication and privilege: The attacker needs an authenticated account, typically an organization member with application or service read access, or a provider identifier. The attacker does not need the corresponding Git provider entitlement.
  • Complexity and interaction: The record describes low complexity and no user interaction.
  • Result: Plaintext credentials can be returned by the .one routes or by nested Git provider relations in application.one.
  • Public status: The vendor advisory contains a public proof of concept and the record marks a public exploit as present. The record does not establish use in a specific campaign, identify a victim, or confirm a particular breach.

Technical impact

The direct technical result is credential disclosure from Dokploy's protected scope to external Git providers. A member with only application or service read access can receive a private key, token, or secret even when hasGitProviderAccess is false; if the credential has suitable scope, the consequence may extend to private repository read or write access, installation-token access, webhook forgery, or workflow manipulation.

The issue weakens both credential confidentiality and the integrity of external resources, while breaking the expected separation between service read access and Git provider ownership. The actual level of access depends on each credential's scope and the configured integration. The record does not establish an availability effect, use of the credentials, or a specific breach.

Business impact

  • Confidentiality: Low-privileged Dokploy members may receive credentials belonging to another member or to a provider that was not shared with them.
  • Source integrity: Depending on credential scope, an attacker may read or modify private repositories, create or change workflows, or affect external Git integration processes.
  • Tenant isolation: Provider identifiers can bypass per-member provider assignment; under some conditions, the missing organization check also creates risk of cross-organization exposure.
  • Operations: Exposed credentials may require revocation or rotation of Git provider integrations and review of related repositories, webhooks, and workflows.
  • Limit: The record does not confirm that exposed credentials were used, identify a specific affected organization, or establish an availability impact.

Remediation

  1. Upgrade each affected Dokploy deployment to the exact version 0.29.13, which the record identifies as fixed.
  2. Confirm that the deployed build includes both fix groups: Git provider read routes must check organization scope and entitlement before returning data, and application.one must exclude secret columns from nested Git provider relations.
  3. Treat credentials that may have been returned to an unauthorized member as potentially exposed. Revoke or rotate the relevant GitHub App private keys, OAuth tokens, client secrets, webhook secrets, Bitbucket app passwords, and API tokens.
  4. Review Dokploy audit records and Git provider logs for requests to providers, repositories, webhooks, or workflows after the credentials may have been accessible.
  5. After remediation, test with an organization member who has no Git provider access. Confirm that .one requests are rejected and that application.one returns only non-sensitive metadata. Do not infer the status of another branch or release without corresponding evidence.

Detection

  1. Inventory every Dokploy deployment, container, or package and compare its version with the affected boundary in affected_summary. Do not treat the absence of log evidence as proof that a deployment is safe.
  2. Identify organizations with multiple members, Git providers that are not shared with all members, or enterprise assignments that restrict provider access.
  3. Review reverse-proxy and application logs for authenticated requests to github.one, gitlab.one, gitea.one, bitbucket.one, related provider read routes, and application.one. This is precautionary monitoring, not a known indicator that proves credentials were retrieved.
  4. In a test environment, confirm that application.one responses no longer contain Git provider secret fields and that requests for providers outside the member's entitlement are rejected.
  5. If exposure cannot be ruled out, identify the related GitHub App private keys, OAuth tokens, client secrets, webhook secrets, app passwords, and API tokens for rotation or revocation.
Sources (11)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.