patchminder
Exploited in the wild · CISA KEV Shellshock CVE-2014-6271

Remote code executionin GNU Bourne-Again Shell (Bash).

Published 24 Sep 2014 · Updated 22 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 28 Jan 2022.

On CISA's listAttack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 100.0% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
In plain words

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.

What to do now
  • CISA requires US federal agencies to fix it by 28 Jul 2022.

Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 9 Sep 2014
    CVE ID reserved by debian.
  2. 24 Sep 2014
    Published in the CVE List.
  3. 24 Sep 2014
    First public proof of concept on GitHub.
  4. 24 Sep 2014
    Metasploit module: Apache mod_cgi Bash Environment Variable Injection (Shellshock) Scanner.
  5. 28 Jan 2022
    Added to CISA's Known Exploited Vulnerabilities list.
  6. 22 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
10 modules
Nuclei scan template
Available
Exploit-DB
21 entries
GitHub proof of concepts
98 repositories
MetasploitApache mod_cgi Bash Environment Variable Injection (Shellshock) Scannerrank normalLinked once a fix or workaround is known.
MetasploitDHCP Client Bash Environment Variable Code Injection (Shellshock)rank normalLinked once a fix or workaround is known.
MetasploitAdvantech Switch Bash Environment Variable Code Injection (Shellshock)rank excellentLinked once a fix or workaround is known.
MetasploitIPFire Bash Environment Variable Injection (Shellshock)rank excellentLinked once a fix or workaround is known.
MetasploitPure-FTPd External Authentication Bash Environment Variable Code Injection (Shellshock)rank excellentLinked once a fix or workaround is known.
MetasploitApache mod_cgi Bash Environment Variable Code Injection (Shellshock)rank excellentLinked once a fix or workaround is known.
MetasploitCUPS Filter Bash Environment Variable Code Injection (Shellshock)rank excellentLinked once a fix or workaround is known.
MetasploitOS X VMWare Fusion Privilege Escalation via Bash Environment Code Injection (Shellshock)rank normalLinked once a fix or workaround is known.
MetasploitDhclient Bash Environment Variable Injection (Shellshock)rank excellentLinked once a fix or workaround is known.
MetasploitQmail SMTP Bash Environment Variable Injection (Shellshock)rank normalLinked once a fix or workaround is known.
NucleiShellShock · Remote Code Executiondetection templateLinked once a fix or workaround is known.
Exploit-DBEDB-ID 38849remote exploit for cgi, published 2 Dec 2015, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 34777remote exploit for cgi, published 25 Sep 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 39918remote exploit for cgi, published 10 Jun 2016, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 40619remote exploit for cgi, published 21 Oct 2016Linked once a fix or workaround is known.
Exploit-DBEDB-ID 34895web application exploit for cgi, published 6 Oct 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 34839web application exploit for cgi, published 1 Oct 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 36503remote exploit for hardware, published 26 Mar 2015Linked once a fix or workaround is known.
Exploit-DBEDB-ID 36504remote exploit for hardware, published 26 Mar 2015Linked once a fix or workaround is known.
Exploit-DBEDB-ID 40938local exploit for linux, published 18 Dec 2016, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 34900remote exploit for linux, published 6 Oct 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 35115remote exploit for linux, published 29 Oct 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 34765remote exploit for linux, published 25 Sep 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 34766remote exploit for linux, published 25 Sep 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 34860remote exploit for linux, published 2 Oct 2014Linked once a fix or workaround is known.
Exploit-DBEDB-ID 34879remote exploit for linux, published 4 Oct 2014Linked once a fix or workaround is known.
Exploit-DBEDB-ID 34896remote exploit for linux, published 6 Oct 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 34862remote exploit for linux, published 2 Oct 2014, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 42938remote exploit for linux, published 2 Oct 2017, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 37816web application exploit for multiple, published 18 Aug 2015Linked once a fix or workaround is known.
Exploit-DBEDB-ID 36609web application exploit for multiple, published 2 Apr 2015Linked once a fix or workaround is known.
Exploit-DBEDB-ID 35146web application exploit for php, published 3 Nov 2014Linked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

10 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Bourne-Again Shell (Bash) vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2014-6271: Remote code execution in GNU Bourne-Again Shell (Bash). https://patchminder.com/cve/cve-2014-6271/ (accessed 5 December 2026).