Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. badkeys
  4. ›
  5. CVE-2026-21439

CVE-2026-21439: badkeys vulnerable to ASCII control character injection on console via malformed input

January 5, 2026 (updated January 6, 2026)

An attacker may inject content with ASCII control characters like vertical tabs, ANSI escape sequences, etc., that can create misleading output of the badkeys command-line tool. This impacts scanning DKIM keys (both --dkim and --dkim-dns), SSH keys (--ssh-lines mode), and filenames in various modes.

References

  • github.com/advisories/GHSA-wjpc-4f29-83h3
  • github.com/badkeys/badkeys
  • github.com/badkeys/badkeys/commit/635a2f3b1b50a895d8b09ec8629efc06189f349a
  • github.com/badkeys/badkeys/commit/de631f69f040974bb5fb442cdab9a1d904c64087
  • github.com/badkeys/badkeys/issues/40
  • github.com/badkeys/badkeys/security/advisories/GHSA-wjpc-4f29-83h3
  • nvd.nist.gov/vuln/detail/CVE-2026-21439

Code Behaviors & Features

Detect and mitigate CVE-2026-21439 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.16

Fixed versions

  • 0.0.16

Solution

Upgrade to version 0.0.16 or above.

Impact 4 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences

Source file

pypi/badkeys/CVE-2026-21439.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:14 +0000.