Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid session token via prior compromise
-
DeliveryVictim detects breach and changes password
-
ExploitSession token remains active in better-auth table
-
ExecutionReplay token against Dokploy API
-
PersistAccess deployment secrets and infrastructure configuration
-
ImpactMaintain persistent unauthorized access for up to 3 days
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | The attacker must possess a valid better-auth.session_token for a target Dokploy account obtained through a prior compromise vector - this vulnerability does not provide initial access. Exploitation is bounded by the session TTL of up to three days from the token's issuance, not from the password change event. The attack is limited to authenticated session replay; the attacker cannot escalate beyond the privileges of the compromised account. Only Dokploy instances running versions prior to 0.29.6 are affected. There are no non-default configuration requirements - any standard Dokploy deployment with user accounts is susceptible. |
| Impact | The NVD CVSS score of 5.9 with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N accurately reflects the bounded real-world risk. AC:H is appropriate because successful exploitation requires a prior session token compromise - this is a persistence extender, not an initial-access vulnerability. The High confidentiality impact (C:H) reflects that the attacker retains full account-level access including access to deployment secrets, environment variables, and infrastructure controls managed through Dokploy. No EPSS data was provided in the input; exploitation probability cannot be quantified independently. The vulnerability is not listed in the CISA KEV catalog, and no public exploit code has been identified. The primary threat scenario is incident response failure: a victim who discovers a compromise and changes their password believes the attacker is evicted, when in reality the attacker's session remains valid for up to three days. For self-hosted PaaS deployments this is a meaningful dwell-time extension. |
| Exploit ScenarioDerived | An attacker who has obtained a Dokploy better-auth.session_token through phishing, network interception, or prior host compromise uses that token to authenticate to the Dokploy API. After the victim detects the compromise and changes their password expecting to evict the attacker, the stolen session token continues to authenticate API requests for up to three additional days, allowing the attacker to access deployment configurations, environment variables, and infrastructure credentials managed by the Dokploy instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Session token invalidation failure in Dokploy allows a stolen better-auth.session_token to persist for up to three days after a victim changes their password, providing an attacker with continued authenticated access even after the victim has attempted to remediate a compromised account. All self-hosted Dokploy deployments prior to version 0.29.6 running the unpatched user.update tRPC procedure are affected. No public exploit identified at time of analysis, but the attack requires only a previously obtained session token and no further interaction from the victim.
RemediationAI
Upgrade to Dokploy 0.29.6, which modifies the user.update procedure to revoke existing session tokens upon password change. The upstream fix is available at https://github.com/Dokploy/dokploy/commit/a07106d649991ea09892220873ea3243766c3e08 and the security advisory is at https://github.com/Dokploy/dokploy/security/advisories/GHSA-rr9m-w87g-46f3. For deployments unable to upgrade immediately, a compensating control is to manually purge the better-auth.session_token table rows for affected users through direct database access after any suspected compromise or forced password reset event; note this will log out all active sessions for those users including legitimate ones. Restricting network access to the Dokploy management interface to trusted IP ranges also reduces the attack surface by limiting where stolen session tokens can be replayed from.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in apps/dokploy/server/api/routers/user.ts, specifically the user.update tRPC procedure, which modifies the account.password column in the database without simultaneously revoking active rows in the better-auth.session_token table. The better-auth library manages session lifecycle with a configurable TTL - in this case up to three days - but Dokploy's password change flow does not invoke the session revocation API, leaving orphaned tokens fully valid. CWE-613 (Insufficient Session Expiration) precisely describes this pattern: when a credential change does not cascade to session invalidation, an attacker who captured a token before the password change retains full session-level access until natural TTL expiry. The affected product is confirmed via CPE cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* covering all versions prior to 0.29.6.
Know when Dokploy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
AC:H reflects the required pre-condition of possessing a stolen session token; C:H for full account access; I:N and A:N as the flaw only extends existing session validity.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.6, Dokploy's user.update procedure in apps/dokploy/server/api/routers/user.ts updates account.password without deleting other rows from session, allowing a compromised better-auth.session_token session to remain valid for up to three days after a password change. This issue is fixed in version 0.29.6.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate
Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c
Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete
Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing
Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o
Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs
Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on
EUVD-2026-60477
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB