SwiftTerm vulnerable to arbitrary command execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
SwiftTerm is a Xterm/VT100 Terminal emulator. Prior to commit a94e6b24d24ce9680ad79884992e1dff8e150a31, an attacker could modify the window title via a certain character escape sequence and then insert it back to the command line in the user's terminal, e.g. when the user views a file containing the malicious sequence, which could allow the attacker to execute arbitrary commands. Version a94e6b24d24ce9680ad79884992e1dff8e150a31 contains a patch for this issue. There are no known workarounds available.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| migueldeicaza | SwiftTerm | < a94e6b24d24ce9680ad79884992e1dff8e150a31 | — | No fix listed | CNA |
| — | github.com/migueldeicaza/SwiftTerm (SwiftURL) | before 1.2.0 | 1.2.0 | Patch available | GHSA-jq43-q8mx-r7mq |
- SwiftTerm Vendormigueldeicaza Affected < a94e6b24d24ce9680ad79884992e1dff8e150a31 Fixed in — No fix listed CNA
- github.com/migueldeicaza/SwiftTerm (SwiftURL) Vendor— Affected before 1.2.0 Fixed in 1.2.0 Patch available GHSA-jq43-q8mx-r7mq
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:swiftterm_project:swiftterm:*:*:*:*:*:*:*:* | before 2022-12-02 | Vulnerable | Swiftterm Project |
- cpe:2.3:a:swiftterm_project:swiftterm:*:*:*:*:*:*:*:* Versions before 2022-12-02 Vulnerable ·Swiftterm Project
Remediation
- Fix · GHSA-jq43-q8mx-r7mq github.com/migueldeicaza/SwiftTerm (SwiftURL) Fixed in 1.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23465
- 2026-10-03 Alias added: GHSA-jq43-q8mx-r7mq
References
Sources
- CVE-2022-23465 · CVE Program
- CVE-2022-23465 · NVD
- FIRST EPSS
- GHSA-jq43-q8mx-r7mq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences