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

CVE-2026-107337: Malcolm Kiosk Flask CSRF Vulnerability

CVE-2026-107337 is a cross-site request forgery flaw in Malcolm kiosk Flask application allowing attackers to execute management commands without authentication. This post explains its impact, affected versions, and mitigation steps.

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-107337 Overview

CVE-2026-107337 affects the Malcolm network traffic analysis platform maintained by CISA. The kiosk Flask application exposes a POST /script_call/<script> endpoint without authentication and with wildcard Cross-Origin Resource Sharing (CORS(app)). An attacker can force an operator's browser to execute arbitrary management commands via Cross-Site Request Forgery (CSRF) [CWE-352]. Abusable commands include control.py --wipe, which permanently deletes captured network traffic and forensic logs, and control.py --stop, which halts security monitoring. The vulnerability is tracked under GitHub Security Advisory GHSA-w8gq-4v5x-xrrm and the CISA ICS Advisory ICSA-26-280-01.

Critical Impact

A single CSRF request can wipe all captured packet data and forensic logs or stop the Malcolm monitoring stack, destroying evidence and blinding defenders.

Affected Products

  • Malcolm network traffic analysis suite (CISA cisagov/Malcolm)
  • Malcolm kiosk Flask application component
  • Deployments exposing the kiosk interface to operator browsers

Discovery Timeline

  • 2026-10-08 - CVE-2026-107337 published to the National Vulnerability Database
  • 2026-10-08 - Last updated in NVD database

Technical Details for CVE-2026-107337

Vulnerability Analysis

The Malcolm kiosk is a Flask web application that provides operators with a browser-based control surface for the Malcolm stack. It registers a POST /script_call/<script> route that dispatches named scripts, including control.py, with attacker-controllable arguments. The route does not enforce authentication, does not require a CSRF token, and does not validate the request origin.

The application also enables wildcard CORS by invoking CORS(app) without a restrictive origin list. Any website loaded in an operator's browser can therefore issue cross-origin POST requests to the kiosk endpoint. Successful requests execute management actions on the Malcolm host, including destructive operations such as --wipe and --stop.

The result is a loss of integrity and availability for the monitoring platform. Captured PCAP data and Zeek or Suricata logs can be erased, and the sensor pipeline can be stopped, eliminating the forensic record of in-progress attacks.

Root Cause

The root cause is a missing anti-CSRF control on a state-changing endpoint, combined with permissive CORS. The handler trusts the browser session context without verifying intent via a token, custom header, or SameSite cookie binding. Classified under CWE-352: Cross-Site Request Forgery.

Attack Vector

Exploitation requires a Malcolm operator to visit or render attacker-controlled web content while the kiosk is reachable from the operator's browser. The malicious page submits a forged POST to /script_call/control.py with arguments such as --wipe or --stop. User interaction is required to trigger the browser request, but no credentials or prior access to Malcolm are needed by the attacker. See the security advisory for additional technical detail.

Detection Methods for CVE-2026-107337

Indicators of Compromise

  • Unexpected POST requests to /script_call/control.py in kiosk Flask access logs, especially with --wipe or --stop arguments.
  • Sudden loss of PCAP files, Zeek logs, or OpenSearch indices on the Malcolm host without a corresponding operator-initiated action.
  • Kiosk requests whose Origin or Referer header points to a domain outside the trusted management network.

Detection Strategies

  • Alert on any invocation of control.py with destructive flags (--wipe, --stop, --restart) that is not tied to an authenticated administrative session.
  • Monitor Flask access logs for cross-origin POST requests to /script_call/<script> and flag mismatched Origin values.
  • Correlate kiosk endpoint hits with operator workstation browser history to identify requests triggered by external pages.

Monitoring Recommendations

  • Forward kiosk Flask logs and host process execution events to a central analytics platform for retention and alerting.
  • Track the lifecycle of Malcolm containers and services to detect unexpected stop or wipe events.
  • Baseline normal operator activity on the kiosk and alert on deviations in request volume, source, or script arguments.

How to Mitigate CVE-2026-107337

Immediate Actions Required

  • Restrict network access to the Malcolm kiosk to trusted management hosts only, using host firewall rules or a reverse proxy ACL.
  • Instruct operators to use a dedicated browser session or isolated workstation for Malcolm administration until a patch is applied.
  • Disable or remove the /script_call/<script> route if the kiosk's scripted-control functionality is not required.

Patch Information

Refer to the GitHub Security Advisory GHSA-w8gq-4v5x-xrrm and the CISA ICSA-26-280-01 CSAF document for upstream fix details and fixed Malcolm versions. Upgrade all deployments to the patched release and verify the kiosk no longer accepts unauthenticated cross-origin POST requests.

Workarounds

  • Place the kiosk behind an authenticating reverse proxy that enforces session cookies with SameSite=Strict and validates the Origin header.
  • Replace the wildcard CORS(app) configuration with an explicit allowlist of trusted management origins.
  • Require a per-session anti-CSRF token on all state-changing routes and reject requests missing the token.
bash
# Example nginx reverse proxy restriction for the Malcolm kiosk
location /script_call/ {
    # Allow only the management subnet
    allow 10.10.20.0/24;
    deny all;

    # Enforce a trusted Origin header
    if ($http_origin !~* ^https://malcolm\.internal\.example$) {
        return 403;
    }

    proxy_pass http://127.0.0.1:5000;
}

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.