CVE-2021-25743 in Kubernetes
kubectl does not neutralize escape, meta or control sequences contained in the raw data it outputs to a terminal. This includes but is not limited to the unstructured string fields in objects such as Events.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Kubernetes | Kubernetes | 1.26.0 ≤ 1.25.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
kubectl does not neutralize escape, meta or control sequences contained in the raw data it outputs to a terminal. This includes but is not limited to the unstructured string fields in objects such as Events.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-25743 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-071584-L |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N |
| Published | 2022-01-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-150: CWE-150
Related attack patterns (CAPEC)
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-150
CAPEC-81 Web Server Logs Tampering via CWE-150
CAPEC-93 Log Injection-Tampering-Forging via CWE-150
CAPEC-134 Email Injection via CWE-150
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-25743 affects kubectl by not neutralizing escape, meta, or control sequences in the raw data it outputs to a terminal, potentially leading to terminal manipulation or information leakage.
An attacker could craft malicious data in Kubernetes objects, such as Events, that includes escape sequences. When kubectl outputs this data to a terminal, it could execute unintended commands or display misleading information, leading to potential terminal hijacking or data exfiltration.
Questions
What is CVE-2021-25743?
CVE-2021-25743 affects kubectl by not neutralizing escape, meta, or control sequences in the raw data it outputs to a terminal, potentially leading to terminal manipulation or information leakage.
What is the CVSS score for CVE-2021-25743?
CVE-2021-25743 has CVSS 3.0 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N. EPSS: 0.8%.
Is CVE-2021-25743 actively exploited?
No confirmed active exploitation of CVE-2021-25743 as of 2026-09-25.
How do I remediate CVE-2021-25743?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2021-25743?
CVE-2021-25743 affects Kubernetes Kubernetes.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Kubernetes","product":"Kubernetes","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.