CVE-2026-21439Badkeys
Low 2.0
Follow: this CVE · Badkeys · Badkeys We alert you by email or Slack (account required).
- Priority
- 12
- CVSS 4.0
- 2.0
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 6, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-150
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
badkeys is a tool and library for checking cryptographic public keys for known vulnerabilities. In versions 0.0.15 and below, 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. This issue is fixed in version 0.0.16.
What to do
- Apply the vendor's security update for Badkeys.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | badkeys |
< 0.0.16 |
0.0.16 |
pip install "badkeys>=0.0.16" |
| PyPI | badkeys |
< 0.0.16 |
0.0.16 |
pip install "badkeys>=0.0.16" |
Per OSV / GitHub Advisories (GHSA-wjpc-4f29-83h3, PYSEC-2026-1212). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| badkeys | badkeys | < 0.0.16 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Third Party Advisory