CVE-2026-19268
Received Received - Intake

Command Injection in abdullah1854 MCPGateway

Vulnerability report for CVE-2026-19268, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-08

Last updated on: 2026-08-08

Assigner: VulDB

Description

A vulnerability was identified in abdullah1854 MCPGateway up to 549f494a9e363f40530149de324b8097de424230. This impacts the function getUsageByDateRange of the file src/services/claude-usage.ts of the component Claude Usage Range Endpoint. The manipulation of the argument since leads to command injection. The attack can be initiated remotely. The exploit is publicly available and might be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-08
Last Modified
2026-08-08
Generated
2026-08-08
AI Q&A
2026-08-08
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
abdullah1854 mcpgateway to 549f494a9e363f40530149de324b8097de424230 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a command injection flaw in abdullah1854 MCPGateway. It affects the getUsageByDateRange function in src/services/claude-usage.ts. The issue occurs when the since parameter in the /api/claude-usage/range endpoint is manipulated to inject shell commands. The application directly concatenates user input into a shell command without validation, allowing attackers to execute arbitrary commands on the host system when the Claude usage reporting feature is enabled.

Detection Guidance

Check if the MCPGateway is running with the Claude usage feature enabled by inspecting environment variables or configuration files for ENABLE_CLAUDE_USAGE=true. Monitor network traffic for requests to /api/claude-usage/range with suspicious query parameters like command injection payloads (e.g., &, |, ;). Use grep to search logs for execAsync calls or shell command patterns in src/services/claude-usage.ts.

Impact Analysis

If you run MCPGateway with the Claude usage reporting feature enabled, attackers could exploit this to execute arbitrary commands on your server. This could lead to unauthorized access, data theft, system compromise, or disruption of services. The impact depends on the server's permissions and the commands executed.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, violating GDPR and HIPAA requirements for data protection and access controls. Organizations using MCPGateway may face compliance violations, legal penalties, and reputational damage if exploited.

Mitigation Strategies

Disable the Claude usage feature by setting ENABLE_CLAUDE_USAGE=false. Update the code to validate since and until parameters strictly as date strings. Replace execAsync with a safe subprocess API like spawn or execFile to prevent shell command injection. Monitor for any signs of exploitation in logs or system activity.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19268. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart