CVE-2018-1000523: Improper Input Validation in topydo

topydo Updated 02 Oct 2025

Summary

26/06/2018
No i
High
8.1

CVE-2018-1000523: topydo contains a CWE-20: Improper Input Validation vulnerability in ListFormatParser::parse, file topydo/lib/ListFormat.py line 292 as of d4f843dac71308b2f29a7c2cdc76f055c3841523 that can result in Injection of arbitrar... Affects topydo versions 0.1 – 0.9. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

topydo is a Python package available on PyPI that provides a command-line interface for managing todo.txt files. It allows users to create, update, and organize their tasks in a simple text format. The package is widely used for personal task management and project tracking.

Vulnerability Detail

The ListFormatParser::parse function in topydo's ListFormat module is affected by an Improper Input Validation vulnerability (CWE-20). This vulnerability allows an attacker to inject arbitrary bytes, including terminal escape code sequences, into the terminal. To exploit this vulnerability, the victim must open a specially crafted todo.txt file with at least one maliciously crafted line. This can lead to various attacks, such as command injection or displaying malicious content on the victim's terminal.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can manually inspect their todo.txt files and remove any suspicious or malicious lines. It is important to exercise caution when opening todo.txt files from untrusted sources. Additionally, users can consider using alternative todo.txt management tools that are not affected by this vulnerability.

Conclusion

In conclusion, topydo is affected by an Improper Input Validation vulnerability that allows for the injection of arbitrary bytes into the terminal. Users are advised to update to the latest version of topydo to mitigate this vulnerability. Alternatively, users can manually inspect their todo.txt files and exercise caution when opening files from untrusted sources. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for topydo →

Share this vulnerability

FAQ

topydo is a Python package that provides a command-line interface for managing todo.txt files. It allows users to create, update, and organize their tasks in a simple text format.

This vulnerability allows an attacker to inject arbitrary bytes, including terminal escape code sequences, into the victim's terminal. This can lead to various attacks, such as command injection or displaying malicious content on the terminal.

To fix this vulnerability, it is recommended to update to the latest version of topydo, which includes a patch for this issue. The updated version ensures proper input validation and sanitization to prevent the injection of arbitrary bytes.

As a temporary workaround, users can manually inspect their todo.txt files and remove any suspicious or malicious lines. It is also advisable to exercise caution when opening todo.txt files from untrusted sources.

Yes, there are alternative todo.txt management tools available that are not affected by this vulnerability. Users can consider using those tools until topydo is updated with the fix.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback