Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2014-6278: Shellshock: GNU Bash Environment Function Parsing Command Injection

Published Sep 30, 2014 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS99.7%100th percentile
CISA KEVYesAdded Oct 2, 2025
In the wildActivePer CISA KEV
Vendor
GNU Project
IdentifiersCVE-2014-6278CWE-78 · Improper Neutralization of Special…

CVE-2014-6278 is an operating system command injection vulnerability in GNU Bash through 4.3 bash43-026, belonging to the Shellshock vulnerability family. Bash improperly parses function definitions supplied in environment-variable values, allowing crafted environment data to trigger arbitrary command execution when Bash is invoked. The vulnerability remains after incomplete fixes for CVE-2014-6271, CVE-2014-7169, and CVE-2014-6277. Demonstrated exposure paths include Apache HTTP Server mod_cgi and mod_cgid, OpenSSH sshd ForceCommand, and scripts invoked by certain DHCP clients, where attacker-controlled environment data crosses a security boundary.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary commands to execute with the privileges of the affected Bash process or calling application. Consequences can include sensitive-data disclosure, unauthorized modification or deletion of data, installation of malicious software, and service disruption. Privileged invocation can result in full system compromise; execution as root is not inherent to the vulnerability. Successful exploitation has been documented in operations enabled by Integrity Technology Group.

Mitigation

If you can’t patch tonight, do this now.

Pending patching, disable unnecessary exposed services and CGI functionality, restrict network and SSH access to trusted users and systems, and enforce least privilege for applications invoking Bash. Prevent untrusted input from reaching the environment of Bash processes wherever feasible. These measures reduce exposure but are not a complete substitute for patching; restricting SSH alone does not address CGI, DHCP, or other invocation paths.

Remediation

Patch, then assume compromise.

Install operating-system or appliance-vendor updates that explicitly address CVE-2014-6278 and the related Shellshock vulnerabilities; earlier Shellshock fixes alone are insufficient. Update embedded Bash copies in appliances, deployment images, virtual machines, and pre-boot environments as applicable, rather than updating only the host operating system. Use vendor-supported fixed packages or firmware, since no universal fixed upstream version is established here. Replace unsupported affected products if security updates are unavailable.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 5 not yet analyzed, such as Exploit-DB entries.

View more in app →
cups_bash_env_exec.rbThis repository contains a single Metasploit module (modules/exploits/multi/http/cups_bash_env_exec.rb) that exploits the Shellshock vulnerability (CVE-2014-6271 and CVE-2014-6278) in Bash via the CUPS printing system. The exploit works by injecting a malicious payload into the PRINTER_INFO or PRINTER_LOCATION environment variables when adding a new printer through the CUPS web interface. The payload is executed by Bash when the CUPS filter is triggered (e.g., by printing a test page), allowing for arbitrary command execution on the target system. The module requires valid CUPS credentials and targets the CUPS web interface, typically accessible on port 631 over HTTPS. The exploit is weaponized, leveraging Metasploit's payload system to deliver arbitrary shell commands. The code is written in Ruby and is structured as a standard Metasploit exploit module, with functions for adding and deleting printers, printing test pages, and handling authentication. The main network endpoints targeted are the CUPS admin and printer HTTP(S) endpoints.Disclosed Sep 24, 2014 · Framework: metasploit · ruby · networkWeaponizedapache_mod_cgi_bash_env_exec.rbThis repository contains a single Metasploit module: 'apache_mod_cgi_bash_env_exec.rb', which exploits the Shellshock vulnerability (CVE-2014-6271 and CVE-2014-6278) in Bash when invoked via CGI scripts on Apache HTTP servers. The exploit works by sending a specially crafted HTTP request (default method: GET) to a user-specified CGI script (TARGETURI), injecting a malicious Bash function definition into a chosen HTTP header (default: User-Agent). This triggers arbitrary command execution on the server if it is vulnerable. The module supports both x86 and x86_64 Linux targets and uses Metasploit's CmdStager to deliver payloads, typically resulting in a remote shell. The module is highly configurable, allowing the attacker to specify the HTTP method, header, and other parameters. The only fingerprintable endpoint is the CGI script path, which must be known or guessed by the attacker. The code is weaponized, as it is part of the Metasploit framework and supports customizable payloads.Disclosed Sep 24, 2014 · Framework: metasploit · ruby · networkWeaponized
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
GNU ProjectBashapplication
FAQ

Frequently asked questions

Is CVE-2014-6278 exploited in the wild?
Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 2, 2025.
Is there a public exploit for CVE-2014-6278?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2014-6278, the earliest disclosed Sep 24, 2014.
Is there a patch for CVE-2014-6278?
Install operating-system or appliance-vendor updates that explicitly address CVE-2014-6278 and the related Shellshock vulnerabilities; earlier Shellshock fixes alone are insufficient. Update embedded Bash copies in appliances, deployment images, virtual machines, and pre-boot environments as applicable, rather than updating only the host operating system.
What products are affected by CVE-2014-6278?
GNU Project Bash.
How severe is CVE-2014-6278?
CVE-2014-6278 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 99.7% (100th percentile) as of Nov 27, 2026.
Activity feed

Recent activity

55 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+37 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity12Community discussion across Reddit, Mastodon, and other social sources.