Skip to main content
EPSS 0.2%top 93%

Gptline: NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary (CVE-2026-78680)

0
High
Published: 09/02/2026 (09/02/2026, 09:04:31 UTC)
Source: GCVE Database
Product: gptline

Description

NLTK versions up to 3.10.2 contain a vulnerability where the Graphviz 'dot' binary is invoked by its bare name without validating its absolute path. This allows an attacker who can place a malicious 'dot' executable in the current working directory or a writable directory on the PATH to execute arbitrary code. The issue affects the functions nltk.parse.dependencygraph.dot2img and nltk.translate.api.AlignedSent._repr_svg_. The vulnerability has been fixed by ensuring that the validated absolute path returned by nltk.internals.find_binary is used instead of the bare binary name.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Homebrewmore threats →ghsa
gptline
pkg:brew/gptline
Affected versions
>=1.0.8 <1.0.8_23

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 02:16:57 UTC

Technical Analysis

Two NLTK components executed the Graphviz 'dot' program by its bare name, causing process creation to resolve the binary via the search path or current working directory on Windows, rather than a validated absolute path. This allows an attacker with write access to the current working directory or a relative PATH entry to execute arbitrary code by placing a malicious 'dot' binary. The affected functions are nltk.parse.dependencygraph.dot2img and nltk.translate.api.AlignedSent._repr_svg_. The vulnerability is addressed by using nltk.internals.find_binary, which refuses CWD-relative matches and returns only trusted absolute paths. The fix prevents execution of attacker-controlled binaries in place of Graphviz's 'dot'.

Potential Impact

An attacker who can write a file named 'dot' in the current working directory or a writable directory on the PATH can execute arbitrary code with the privileges of the user running the NLTK code. This can lead to full compromise of the affected environment. The vulnerability is local and requires the attacker to have write access to the filesystem locations that influence binary resolution. The CVSS score is 7.8 (high), reflecting high confidentiality, integrity, and availability impact with low attack complexity and no user interaction required.

Mitigation Recommendations

A patch is available that fixes this vulnerability by ensuring the absolute validated path to the 'dot' binary is used instead of the bare name. Users should upgrade to NLTK version 3.10.3 or later where this issue is fixed. The fix rejects binaries resolved from the current working directory or relative PATH entries, preventing execution of attacker-controlled binaries. No additional mitigation is required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-54xp-3ww7-6wjg
Osv Schema Version
1.4.0
Aliases
["CVE-2026-78680"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a8d9af0acd9273b493e19f9

Added to database: 08/25/2026, 13:38:56 UTC

Last enriched: 09/18/2026, 02:16:57 UTC

Last updated: 10/09/2026, 06:48:19 UTC

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses