CVE-2026-72871

Dokploy: Unauthenticated Git Provider Injection via GitHub OAuth Callback

Published Aug 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the unauthenticated /api/providers/github/setup route in apps/dokploy/pages/api/providers/github/setup.ts trusts gh_init organizationId and userId values from the state parameter and calls createGithub in packages/server/src/services/github.ts, allowing an attacker to insert a GitHub App provider containing client_secret, webhook_secret, and PEM private key material into another organization. This issue is fixed in version 0.29.13.

Analysis

AI-generated

Technical impact

Dokploy, a self-hosted Platform as a Service, contained an unauthenticated API endpoint that accepted a state parameter holding organization and user identifiers and then created a GitHub App provider using the supplied data. An attacker could manipulate this parameter to inject a provider containing a client_secret, webhook_secret, and PEM private key. This vulnerability allows the attacker to place sensitive material within another organization’s GitHub App configuration, potentially enabling unauthorized access to that organization’s repositories and automated services. The underlying weakness is the misuse of client‑side state data without authentication, classified as CWE‑306.

Affected Systems

The issue is present in Dokploy versions before 0.29.13 and was fixed in the 0.29.13 release. It affects any deployment of Dokploy that has the /api/providers/github/setup route exposed without authentication or proper state validation.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity flaw, and the lack of an EPSS score implies no current data on exploit prevalence. Since the route is unauthenticated, the attack can be performed by anyone who can reach the Dokploy instance, making it a low‑barrier injection scenario. The vulnerability is not listed in CISA's KEV catalog at this time, but the potential to compromise an entire organization’s GitHub integration warrants immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Dokploy 0.29.13 or later to apply the vendor fix.
  • If an upgrade is not immediately possible, restrict the /api/providers/github/setup endpoint to authenticated users or a secure IP whitelist to prevent unauthenticated access.
  • Sanitize or remove the usage of the state parameter for creating provider configurations, ensuring that only trusted, validated data is accepted to prevent injection of sensitive secrets.

Generated by OpenCVE AI on August 10, 2026 at 20:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the unauthenticated /api/providers/github/setup route in apps/dokploy/pages/api/providers/github/setup.ts trusts gh_init organizationId and userId values from the state parameter and calls createGithub in packages/server/src/services/github.ts, allowing an attacker to insert a GitHub App provider containing client_secret, webhook_secret, and PEM private key material into another organization. This issue is fixed in version 0.29.13.
Title Dokploy: Unauthenticated Git Provider Injection via GitHub OAuth Callback
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 10, 2026, 7:49 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 7:17 PM
Modified
Sep 8, 2026, 8:54 PM