CVE-2026-138033 in mcp-video-analyzer
Summary
by MITRE • 11/27/2026
mcp-video-analyzer 0.2.0 before 0.10.1 contains a server-side request forgery vulnerability that allows attackers to reach internal addresses by supplying any http(s) URL ending in a video extension. Attackers can use prompt injection to make tools like get_frames fetch loopback, private, or cloud metadata addresses directly or via redirects, writing responses to disk or returning rendered screenshots.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/28/2026
The vulnerability identified in mcp-video-analyzer versions prior to 0.10.1 represents a critical server-side request forgery flaw rooted in insufficient input validation and the lack of URL scheme restrictions within the video processing pipeline. The core technical deficiency lies in how the application handles user-supplied URLs that terminate with common video file extensions such as mp4, avi, or mov. When these inputs are processed by internal tools like get_frames, the system fails to verify whether the target address is external and safe, thereby allowing attackers to redirect requests toward localhost interfaces, private network segments, or cloud provider metadata endpoints. This behavior effectively bypasses standard perimeter defenses because the request originates from within the trusted application environment itself, making it difficult for firewalls or intrusion detection systems to distinguish between legitimate internal traffic and malicious exploitation attempts.
From an operational perspective, this vulnerability enables significant data exfiltration and reconnaissance capabilities. By leveraging prompt injection techniques, attackers can manipulate the underlying language model or tool invocation logic to force the system to fetch sensitive information from cloud metadata services such as AWS EC2 instance metadata service version two or Azure managed identity endpoints. These services often contain authentication tokens, access keys, and configuration details that are not intended for public exposure. Furthermore, because the vulnerability allows responses to be written directly to disk or returned as rendered screenshots, attackers can persist stolen credentials on the compromised host or capture visual representations of internal dashboards and sensitive data displayed in browser-based interfaces accessible via loopback addresses. This transforms a simple input validation error into a severe compromise of confidentiality and integrity for both the application infrastructure and any connected cloud environments.
The attack vector aligns closely with CWE-918, which classifies Server-Side Request Forgery (SSRF) as a weakness where an attacker causes the server to make requests on their behalf. Additionally, this scenario maps directly to MITRE ATT&CK technique T1502.001, specifically Subverted External Service Control via Cloud Metadata Services, and potentially T1653 for Misconfiguration: Default Configuration. The exploitation chain typically involves crafting a malicious prompt that instructs the AI agent or tooling layer to retrieve frames from an internal IP address disguised as a video source. Since many cloud metadata endpoints do not require authentication when accessed locally, this misconfiguration is frequently exploited in containerized and serverless environments where network segmentation may be lax between application containers and host-level services.
Mitigation strategies must focus on implementing strict allow-listing for URL schemes and destinations. Developers should configure the video analyzer to reject any requests targeting private IP ranges defined by RFC 1918, as well as loopback addresses like 127.0.0.1 or ::1. It is also critical to disable HTTP redirects during request processing to prevent attackers from bypassing initial validation checks through intermediate redirections that ultimately point to internal resources. Implementing network-level controls such as egress filtering can further restrict the application's ability to initiate outbound connections to unauthorized destinations. For organizations already running affected versions, immediate upgrading to version 0.10.1 or later is required, alongside a thorough review of prompt engineering practices to ensure that user inputs cannot be used to override internal tool invocation logic.