Skip to main content
Vulnerability Database/CVE-2026-97863

CVE-2026-97863: MISP Modules Shell Injection RCE Vulnerability

CVE-2026-97863 is a shell injection RCE flaw in MISP modules that allows attackers to inject commands via crafted attributes in exported scripts. This article covers the technical details, impact on Cisco fireSIGHT deployments, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97863 Overview

CVE-2026-97863 is a shell command injection vulnerability in the cisco_firesight_manager_ACL_rule_export module of misp-modules. The module generates a .sh script that calls the Cisco fireSIGHT Manager API using interpolated configuration and MISP attribute values. Those values are placed inside single-quoted shell strings without any escaping, so a single-quote character in an attacker-submitted attribute (such as ip-dst or url) breaks out of the quoting context. When an analyst later runs the exported script, the injected commands execute with the analyst's privileges. The module also contained a NameError denial-of-service defect when the request payload lacked a config key.

Critical Impact

An attacker who can submit MISP events can inject arbitrary shell commands into exported scripts, exposing fireSIGHT Manager credentials or compromising the analyst workstation when the script is run.

Affected Products

  • misp-modules — cisco_firesight_manager_ACL_rule_export export module (versions prior to commit 625b5490)
  • MISP deployments that enable the Cisco fireSIGHT Manager ACL export module
  • Analyst workstations that execute exported .sh scripts generated by the module

Discovery Timeline

  • 2026-09-25 - CVE-2026-97863 published to the National Vulnerability Database
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97863

Vulnerability Analysis

The flaw is an OS command injection weakness [CWE-78] in a Python export module that constructs a Bash script via string interpolation. The module embeds untrusted MISP attribute values (destination IPs, URLs, event info comments) and configuration values (IP address, login, password, domain ID, policy ID) into single-quoted shell variable assignments. Because no escaping is applied, any value containing a ' character terminates the string and lets subsequent characters be parsed as shell syntax. The impact materializes only when a security analyst executes the generated .sh file unmodified, at which point injected commands run with the analyst's privileges.

Root Cause

The root cause is missing output encoding for a shell context. Values destined for a Bash script must be quoted using a routine such as Python's shlex.quote, which safely wraps arguments for shell execution. The upstream fix imports shlex and routes interpolated values through shell-safe quoting. A secondary defect assigned the local variable config only inside a conditional branch while referencing it unconditionally afterward, raising a NameError and producing a denial-of-service condition when the config key was absent from the request payload.

Attack Vector

Exploitation requires standard MISP event-submission privileges. An attacker submits an event or attribute whose value contains a single quote followed by arbitrary shell syntax. When an analyst exports ACL rules through the vulnerable module and runs the resulting script, the injected commands execute locally. The attacker needs no authentication bypass, but relies on victim interaction (running the script).

python
# Security patch excerpt - misp_modules/modules/export_mod/cisco_firesight_manager_ACL_rule_export.py
 import base64
 import json
+import shlex
 from urllib.parse import quote

 misperrors = {"error": "Error"}

Source: GitHub MISP Modules Commit 625b5490

The patch introduces shlex so that interpolated values are shell-escaped before being written into the generated .sh output, closing the injection path.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-97863

Indicators of Compromise

  • MISP attribute values of type ip-dst, url, or event info containing single-quote characters followed by shell metacharacters such as ;, |, $(, or backticks
  • Exported .sh scripts from cisco_firesight_manager_ACL_rule_export that contain unexpected commands outside the module's standard curl calls to the fireSIGHT API
  • Unexplained outbound network connections or new processes spawned by an analyst shell session shortly after running an exported ACL script

Detection Strategies

  • Review MISP event submissions for attribute values containing ' combined with shell control characters prior to export operations
  • Perform static review (grep, diff against a known template) of generated .sh artifacts before execution to confirm only expected API calls are present
  • Alert on process-execution telemetry showing bash or sh interpreting scripts under analyst home directories that then spawn unexpected child processes

Monitoring Recommendations

  • Enable shell audit logging (PROMPT_COMMAND, auditd rules on execve) on analyst workstations that handle MISP exports
  • Monitor the misp-modules host for unexpected file writes or outbound connections originating from the export worker
  • Track MISP module version and commit hash in configuration management to detect unpatched deployments

How to Mitigate CVE-2026-97863

Immediate Actions Required

  • Update misp-modules to a version that includes commit 625b5490 or later, which applies shlex quoting to interpolated values
  • Instruct analysts to inspect any exported .sh script before execution and run it under a least-privileged account rather than a workstation administrator session
  • Audit historical MISP attributes for payloads containing single quotes combined with shell syntax and quarantine affected events

Patch Information

The fix is available in the upstream misp-modules repository as commit 625b54908efbd6acc8343aa3370d401dd370e748, which adds import shlex and shell-escapes interpolated values in misp_modules/modules/export_mod/cisco_firesight_manager_ACL_rule_export.py. See the GitHub MISP Modules Commit for the full diff.

Workarounds

  • Disable the cisco_firesight_manager_ACL_rule_export module in the misp-modules configuration until the patched version is deployed
  • Restrict MISP event-submission privileges to vetted users and enforce input validation that rejects attribute values containing single-quote characters when the Cisco export workflow is in use
  • Execute exported scripts only inside an isolated virtual machine or container with no access to production fireSIGHT Manager credentials
bash
# Verify the installed misp-modules commit includes the shlex fix
cd /path/to/misp-modules
git log --oneline | grep 625b5490

# Inspect a generated export script before running it
less ./cisco_firesight_export_<event_id>.sh
grep -nE "[;|&\$\`]" ./cisco_firesight_export_<event_id>.sh

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.