CVE-2018-4106: Command Injection

Published Mar 29, 2018
·
Updated

Terminal. A command injection issue existed in the handling of Bracketed Paste Mode. This issue was addressed through improved validation of special characters.

Other sources

An issue was discovered in certain Apple products. macOS before 10.13.4 is affected. The issue involves the Bracketed Paste Mode of the "Terminal" component. It allows user-assisted attackers to inject arbitrary commands within pasted content.

Credit

Simon Hosie

Affected Software

4 affected componentsFixes available
Apple macOS High Sierra<10.13.4
10.13.4
Apple Sierra
Apple El Capitan
Apple iOS and macOS<10.13.4

Event History

Apr 3, 2018
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-4106?

CVE-2018-4106 is a command injection vulnerability in the Bracketed Paste Mode of the Terminal component in macOS before 10.13.4.

2

What is the severity of CVE-2018-4106?

CVE-2018-4106 has a severity rating of 8.8, which is considered high.

3

Which versions of macOS are affected by CVE-2018-4106?

macOS before 10.13.4 (High Sierra) is affected by CVE-2018-4106.

4

How can user-assisted attackers exploit CVE-2018-4106?

User-assisted attackers can inject arbitrary commands within pasted content using the Bracketed Paste Mode.

5

Are there any references or sources for CVE-2018-4106?

Yes, you can find more information on CVE-2018-4106 from the following sources: [SecurityFocus](http://www.securityfocus.com/bid/103582), [SecurityTracker](http://www.securitytracker.com/id/1040608), and [Apple Support](https://support.apple.com/HT208692).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203