Cola Dnslog
CVE-2025-57403
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Cola Dnslog server
-
DeliveryCraft DNS TXT query with traversal/absolute path
-
ExploitApplication joins path via os.path.join
-
ExecutionServer reads out-of-bounds file
-
ImpactSensitive file contents disclosed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
|
| Exploitation Conditions | Exploitation requires that a Cola Dnslog v1.3.2 server be deployed and reachable as the authoritative/handling DNS resolver for attacker-controlled queries, and that it processes TXT-record lookups - the code path that concatenates the requested name into a filesystem path via os.path.join. No authentication or user interaction is required (PR:N/UI:N), and default configurations are affected since the vulnerable path handling is inherent to TXT query processing. The primary practical limit on exploitation is deployment scarcity: the product is a niche self-hosted DNSLog tool, so reachable instances are uncommon, and impact is confined to confidentiality (arbitrary file read) with no write or denial-of-service capability. |
| Impact | Multiple signals point to a genuine but niche-impact file-disclosure flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N = 7.5 HIGH) indicates remote, low-complexity, unauthenticated exploitation with high confidentiality impact and no integrity/availability effect - consistent with a read-only directory traversal. POC/exploit code is publicly available (referenced GitHub issue #29 and a public gist), which lowers the barrier to exploitation and raises operational risk. However, this is NOT CISA KEV-listed and no EPSS score was provided in the input, so there is no evidence of widespread active exploitation - the publicly available exploit indicates feasibility, not confirmed in-the-wild use. The most important mitigating factor is prevalence: Cola Dnslog is an obscure open-source DNSLog utility (typically self-hosted by security researchers for out-of-band testing), not enterprise software, so the real-world attack surface is small. Net: a legitimately exploitable, POC-backed high-CVSS confidentiality bug, but the low deployment footprint means it is a lower real-world priority than its 7.5 score suggests for most organizations. No conflicting signals in the CVSS vector itself; EPSS and KEV data were simply not supplied. |
| Exploit ScenarioDerived | An attacker sends a specially crafted DNS TXT-record query to a target Cola Dnslog server where the queried name encodes a traversal sequence (e.g. ../../) or an absolute path. Because the application concatenates the attacker-controlled portion into a filesystem path via os.path.join, the server reads and returns a file outside the intended base directory, disclosing sensitive content. Public exploit material exists (a gist and the upstream GitHub issue), so no original research is required to reproduce it. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Directory traversal in Cola Dnslog 1.3.2 allows unauthenticated remote attackers to read arbitrary files from the host, because TXT-record DNS queries are concatenated into a filesystem path with os.path.join instead of being validated. Affected deployments are self-hosted instances acting as the DNS resolver for a domain; the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, 7.5) confirms remote, no-authentication exploitation with impact limited to confidentiality. Publicly available exploit code exists (a published gist and a GitHub issue), but there is no indication of confirmed active exploitation, and the practical risk is bounded by the niche nature of the product - reachable instances are uncommon, and no write or denial-of-service capability is involved.
RemediationAI
No vendor-released patch identified at time of analysis: the only references supplied are exploit-oriented (the public gist and upstream issue 29), and no fixed version number is provided, so upgrade only to a version the vendor explicitly marks as fixed and treat any such release as the authoritative fix. Until a patch is confirmed, apply compensating controls that directly reduce exposure of the TXT-record code path. Restrict DNS reachability: only allow UDP/TCP 53 queries from trusted networks or from the specific targets being tested, rather than exposing the resolver to the internet - the trade-off is that public callbacks used for SSRF/blind-injection testing will no longer work from external sources. Run Cola Dnslog as an unprivileged, dedicated service account inside a container or chroot whose filesystem view contains only its own data directory, which limits arbitrary file reads to that sandbox at the cost of some operational complexity and possible breakage of features that expect host-level paths. Disable or disable-external-access to the TXT-record handler if it is not needed, since the vulnerable logic is tied to TXT query processing, though this removes a capability some detection workflows rely on. Because no patch exists, add request logging and file-access monitoring around the DNS service so traversal attempts and unexpected reads are detectable, accepting the residual risk that detection happens after disclosure. Consult https://github.com/AbelChe/cola_dnslog/issues/29 for vendor/maintainer guidance before applying changes.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cola Dnslog is a self-hosted DNS log / DNS callback tool used to observe out-of-band DNS interactions (commonly for blind SSRF, XXE, or RCE detection). The flaw is rooted in CWE-23 (Relative Path Traversal) and lives in the code path that handles DNS TXT record lookups: the application takes the requested name (or a portion of the URL-like query string) and joins it to a base directory using os.path.join without sanitizing traversal sequences or absolute paths. Because os.path.join discards the base path when the supplied component is absolute, and because '../' sequences are not normalized or rejected, an attacker fully controls the resulting file path. Since the vulnerable handling is inherent to TXT query processing, default installations are exposed; the CPE cpe:2.3:a:abelche:cola_dnslog:1.3.2 pins the affected release, and the corresponding upstream issue (GitHub AbelChe/cola_dnslog issue 29) documents the behavior. No file-write primitive or crash condition is involved - the impact is arbitrary file read on the resolver host.
Know when Cola Dnslog 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:L/PR:N/UI:N/S:U/C:H/I:N/A:N
DNS query is network-reachable and unauthenticated (AV:N/PR:N/UI:N), traversal is straightforward (AC:L), and the flaw only reads files, so C:H with I:N/A:N.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Cola Dnslog v1.3.2 is vulnerable to Directory Traversal. When a DNS query for a TXT record is processed, the application concatenates the requested URL (or a portion of it) directly with a base path using os.path.join. This bypass allows directory traversal or absolute path injection, leading to the potential exposure of sensitive information.
Executive ViewAI
Self-hosted instances of Cola Dnslog 1.3.2, a niche DNS logging utility, can be abused by any remote party without credentials to read arbitrary files from the underlying host, including configuration files and potentially credentials or DNS keys. Because no vendor patch is currently available, any internet-reachable deployment remains exposed until it is isolated or replaced, and leadership should treat this as an unmitigated exposure for the small number of teams running the tool as an authoritative DNS resolver. Business impact is contained by the product's limited adoption and the read-only nature of the flaw, but the confidentiality loss on an affected host can still be significant.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict DNS port access to trusted sources, front the resolver with a filtering proxy, run the service in a container or chroot as a low-privilege account with a restricted file system view, rotate any secrets or keys readable by that account, monitor and alert on TXT queries containing traversal sequences, and plan migration to a maintained alternative.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB