Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify privileged dool --devel scheduled execution
-
DeliveryGain local filesystem write access to log directory
-
ExploitPre-place symlink at expected log path targeting sensitive file
-
InstallPrivileged process invokes dool with --devel
-
C2Dool opens log path without O_NOFOLLOW
-
ExecuteKernel resolves symlink transparently
-
ImpactSensitive target file truncated and overwritten with log data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Three concurrent conditions must be met for exploitation: (1) dool must be invoked with the explicit '--devel' flag, which is a non-default development/debugging option not present in standard operational use; (2) the attacker must have local filesystem write access to the directory where dool expects to create its log file, enabling symlink pre-placement; and (3) for impact beyond files already owned by the running user, dool must be executing with elevated privileges (root or sudo). Without elevated privilege, the attacker can only redirect writes to files the dool process already has permission to overwrite - greatly limiting practical harm. The CVSS 4.0 AT:P metric confirms specific preconditions are required. Remote exploitation is not possible (AV:L). Exploitation is not automatable due to the required user or process interaction to invoke dool with --devel. |
| Impact | The CVSS 4.0 base score of 2.0 accurately reflects constrained real-world risk under typical conditions: the attack vector is local (AV:L), specific attack requirements must be met (AT:P - the '--devel' flag must be in use), passive user interaction is required (UI:P - a user or scheduled process must invoke dool), and the vulnerable-system integrity impact is rated Low (VI:L). The attack is non-automatable due to the UI:P requirement. However, the description explicitly calls out that impact scales to functionally High when dool is invoked with elevated privileges (root/sudo), at which point file targets such as /etc/passwd, /etc/cron.d/, or SSH authorized_keys become viable, making the conditional worst-case materially more severe than the base score suggests. No EPSS data was provided, so exploitation probability cannot be quantified. Neither KEV listing nor a public POC has been identified, suggesting opportunistic exploitation is currently unlikely. For environments where dool is routinely run as root - particularly in automated scripts - defenders should treat this as higher priority than the base score implies. |
| Exploit ScenarioDerived | A local unprivileged attacker observes that a cron job or administrative script regularly runs dool with the '--devel' flag as root. Before the scheduled run, the attacker creates a symbolic link at the expected log file path (e.g., /var/log/dool-debug.log -> /etc/cron.d/backdoor). When dool starts, it opens the path without O_NOFOLLOW, the kernel resolves the symlink, and dool truncates and overwrites /etc/cron.d/backdoor with log data - destroying the existing entry or enabling replacement with attacker-controlled content on the next write cycle. No public proof-of-concept exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Symlink following in Dool (versions up to and including 1.3.8) allows a local attacker to cause arbitrary file truncation and overwriting when the tool is run with the non-default '--devel' flag. The vulnerable code path opens a log file without the O_NOFOLLOW flag (CWE-59), allowing a pre-placed symlink to redirect the write to any file the dool process can access - an impact that escalates from trivial to severe if dool runs under elevated privileges such as root. No public exploit code or CISA KEV active exploitation is identified; the issue was reported by CERT-PL and addressed upstream via pull request #116.
RemediationAI
Apply the upstream fix from GitHub pull request #116 (https://github.com/scottchiefbaker/dool/pull/116) by pulling the latest commit from the repository or waiting for a tagged release that incorporates it; a specific patched version number is not confirmed at time of analysis. As a primary workaround, eliminate use of the '--devel' flag in any production or privileged context - this flag is a development/debug mode and should not be needed in operational deployments; removing it from scripts or cron jobs eliminates the vulnerable code path entirely with no functional trade-off. If dool must run with '--devel' under elevated privileges, restrict the log file directory so that unprivileged local users cannot create files or symlinks there (e.g., chmod 700 on the directory, or enforce via SELinux/AppArmor policy), which prevents symlink pre-placement. The CERT-PL advisory at https://cert.pl/en/posts/2026/08/CVE-2026-56651 provides additional context and remediation guidance.
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
Dool is a Python-based system resource statistics tool maintained by scottchiefbaker (a fork of the legacy dstat utility), identified by CPE cpe:2.3:a:scottchiefbaker:dool:*:*:*:*:*:*:*:*. The root cause is CWE-59 (Improper Link Resolution Before File Access - 'Link Following'): when the '--devel' flag is active, dool opens a log file at a predictable filesystem path using standard open() semantics without specifying O_NOFOLLOW, so the kernel will transparently follow any symbolic link present at that path. A local attacker who can write to the target directory can race the process startup to place a symlink pointing to an arbitrary file, which dool will then truncate and overwrite with log output. Notably, the GitHub PR diff provided for PR #116 shows a CSV formula injection fix rather than an O_NOFOLLOW remediation, suggesting the symlink fix may reside in a separate commit within the same PR or in an unshown portion of the diff.
Know when Dool 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
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Local-only attack requiring non-default --devel flag and symlink race condition (AC:H); attacker needs no privileges but a user must trigger execution (UI:R); impact is write-only file truncation with no confidentiality loss (I:L, C:N, A:N).
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
DescriptionCVE.org
Dool in versions up to 1.3.8 is vulnerable to symlink following when the "--devel" flag is used, as the application opens a log file without the "O_NOFOLLOW" flag. A local attacker can exploit this by creating a symlink at the expected log file path pointing to a sensitive file, causing dool to truncate and overwrite the target file with log data, which is especially impactful if dool is run with elevated privileges. The issue was addressed by pull request #116
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.
EUVD-2026-67129
GHSA-q9x7-4mx4-prwq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB