Skip to main content

CVE-2026-25817

HIGH
Code Injection (CWE-94)
2026-03-13 cve@mitre.org
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege credentials
  2. Exploit
    Submit crafted input to command injection endpoint
  3. Execution
    Bypass OS command neutralization
  4. Impact
    Execute arbitrary commands as gateway process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Valid low-privilege credentials required for HMS Networks Ewon Flexy (firmware <15.0s4), Cosy+ (firmware 22.xx <22.1s6, or 23.xx <23.0s3). Attacker must authenticate to gateway before exploiting OS command injection vulnerability.

Impact

Despite the high CVSS score of 8.8, the real-world exploitation risk appears moderate. The EPSS score of 0.06% (18th percentile) indicates very low probability of active exploitation. The attack requires authentication (PR:L) which significantly limits the threat actor pool. The vulnerability is not in CISA's KEV catalog, suggesting no observed exploitation in the wild. The network-based attack vector (AV:N) with no user interaction (UI:N) makes it automatable post-authentication. The high impact ratings (C:H/I:H/A:H) reflect potential for full system compromise, making this a priority for organizations with internet-exposed devices or weak credential management.

Exploit ScenarioDerived

An attacker who has obtained valid credentials (through phishing, credential stuffing, or insider threat) connects to the Ewon gateway's management interface remotely. They exploit the command injection vulnerability by inserting malicious OS commands into input fields that are improperly sanitized. This grants them shell access with the privileges of the web application, potentially allowing them to pivot into the industrial network, exfiltrate data, or disrupt operations. No public proof-of-concept exists, but the attack is straightforward for skilled adversaries once authenticated.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 13, 2026

HMS Networks' industrial IoT gateways (Ewon Flexy and Cosy+) contain a command injection vulnerability that allows authenticated attackers to execute arbitrary OS commands remotely. This affects Flexy devices before firmware 15.0s4 and Cosy+ devices before 22.1s6 (22.x branch) or 23.0s3 (23.x branch). With a CVSS score of 8.8 but low EPSS of 0.06%, this vulnerability requires valid credentials but enables full system compromise.

RemediationAI

Update to patched firmware versions: Ewon Flexy to 15.0s4 or later, Cosy+ 22.x branch to 22.1s6 or later, Cosy+ 23.x branch to 23.0s3 or later. HMS Networks has published a security advisory (dated 2026-03-09) with detailed patching instructions. As an interim mitigation, restrict network access to the devices, implement strong authentication, monitor for suspicious command execution, and disable unnecessary remote access features until patching is complete.

Affected ProductsAI

HMS Networks Ewon Flexy (all models) with firmware versions before 15.0s4; HMS Networks Cosy+ with firmware 22.xx before version 22.1s6; HMS Networks Cosy+ with firmware 23.xx before version 23.0s3. The Flexy 205 model is specifically referenced in the advisory links. Industrial facilities using these devices for remote access should verify their firmware versions immediately.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from improper input sanitization in OS command execution (CWE-94), allowing attackers to inject malicious commands through user-controlled input. HMS Networks Ewon devices are industrial IoT gateways used for remote access and monitoring of industrial equipment. The affected products include Ewon Flexy 205 (identified via reference URL) and Cosy+ models. These devices typically bridge OT and IT networks, making them critical security boundaries in industrial environments.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

HMS Networks Ewon Flexy with firmware before 15.0s4, Cosy+ with firmware 22.xx before 22.1s6, and Cosy+ with firmware 23.xx before 23.0s3 have improper neutralization of special elements used in an OS command allowing remote code execution by attackers with low privilege access on the gateway, provided the attacker has credentials.

Executive ViewAI

Why It Matters

HMS Networks' industrial IoT gateways (Ewon Flexy and Cosy+ devices) contain a command injection vulnerability that allows authenticated users to execute arbitrary commands and compromise entire systems. Organizations using these gateways in manufacturing, utilities, or critical infrastructure environments face operational disruption and potential data theft risks, particularly if insider threats or credential compromise occur.

Business Impact: High
Compensating Controls

Implement network segmentation to isolate gateways from corporate networks; restrict administrative access through firewall rules and disable remote management protocols; enforce principle of least privilege for service accounts with gateway access; deploy endpoint detection and response (EDR) on gateway management systems; implement strict ingress/egress filtering; enable comprehensive audit logging of all gateway commands and configuration changes; consider disabling command execution features if operationally feasible; monitor for suspicious authentication patterns and credential usage.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy