Skip to main content

Dool EUVDEUVD-2026-67129

| CVE-2026-56651 LOW
Improper Link Resolution Before File Access (CWE-59)
2026-08-27 CERT-PL GHSA-q9x7-4mx4-prwq
2.0
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify privileged dool --devel scheduled execution
  2. Delivery
    Gain local filesystem write access to log directory
  3. Exploit
    Pre-place symlink at expected log path targeting sensitive file
  4. Install
    Privileged process invokes dool with --devel
  5. C2
    Dool opens log path without O_NOFOLLOW
  6. Execute
    Kernel resolves symlink transparently
  7. Impact
    Sensitive 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

dool 0 ≤1.3.8

Affected Packages

euvd dool no fix

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

Vendor (CERT-PL) PRIMARY 2.0 LOW
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
vuln.today AI 2.5 LOW

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).

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche Python monitoring tool, niche fork of dstat with limited enterprise footprint
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy