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-100391 Overview
CVE-2026-100391 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] in MediaFlow Proxy versions through 2.4.9. The flaw resides in the /proxy routes, where the d query parameter accepts a destination URL without complete validation. Remote, unauthenticated attackers can supply arbitrary internal URLs, including loopback addresses and cloud metadata endpoints, and read the full HTTP responses returned to the proxy. This exposes internal services, administrative interfaces, and cloud instance credentials that would otherwise be unreachable from the public internet.
Critical Impact
Unauthenticated attackers can pivot through the proxy to reach internal network resources and retrieve cloud instance metadata, including temporary IAM credentials.
Affected Products
- MediaFlow Proxy versions through 2.4.9
- Deployments exposing the /proxy routes to untrusted clients
- Instances hosted in cloud environments with reachable metadata services (AWS, GCP, Azure)
Discovery Timeline
- 2026-09-25 - CVE-2026-100391 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-100391
Vulnerability Analysis
MediaFlow Proxy exposes forwarding endpoints under /proxy that fetch a destination URL supplied in the d query parameter and return the response body to the client. The pre-patch validation routine _check_forward_destination inspected the destination string directly, without resolving hostnames to their underlying IP addresses. Attackers can bypass the filter by supplying any hostname that resolves to an internal, loopback, link-local, or unspecified address through DNS. The proxy then issues the outbound request on behalf of the attacker and returns the full response, enabling read access to internal HTTP services reachable from the host.
Root Cause
The root cause is incomplete destination validation. The original check in mediaflow_proxy/routes/proxy.py operated on the user-supplied string rather than on the resolved address set. Hostnames that pointed to private ranges, 127.0.0.0/8, 169.254.0.0/16, or 0.0.0.0 were not detected because DNS resolution was never performed as part of the allowlist check. This mirrors the classic SSRF filter-bypass pattern tracked under [CWE-918].
Attack Vector
Exploitation requires no authentication and only network access to the proxy. An attacker crafts a request such as GET /proxy?d=http://169.254.169.254/latest/meta-data/iam/security-credentials/ or points the d parameter at an attacker-controlled hostname whose A record returns a loopback or RFC1918 address. The proxy fetches the URL and returns the response body, disclosing cloud metadata, internal admin consoles, or other services bound to localhost.
# Security patch excerpt from mediaflow_proxy/routes/proxy.py
# Resolves hostnames before enforcing the private/internal address check
-def _check_forward_destination(destination: str) -> None:
+async def _resolve_hostname_ips(hostname: str) -> list:
+ """Resolve a hostname to its IP addresses. A hostname that is already a
+ numeric IP literal is returned as-is, with no DNS lookup.
+ """
+ try:
+ return [ipaddress.ip_address(hostname)]
+ except ValueError:
+ pass
+
+ try:
+ loop = asyncio.get_running_loop()
+ infos = await loop.getaddrinfo(hostname, None)
+ except OSError as e:
+ raise HTTPException(status_code=400, detail=f"Could not resolve host '{hostname}': {e}")
+
+ return [ipaddress.ip_address(info[4][0]) for info in infos]
+
+
+async def _check_not_internal_address(hostname: str) -> None:
+ """Block a destination whose hostname resolves to a private, loopback,
+ link-local, or unspecified address."""
+ for ip in await _resolve_hostname_ips(hostname):
+ if ip.is_private or ip.is_loopback or ip.is_link_local or ip.is_unspecified:
Source: MediaFlow Proxy Security Commit 99f4af1
Detection Methods for CVE-2026-100391
Indicators of Compromise
- Requests to /proxy endpoints where the d query parameter contains loopback addresses (127.0.0.1, localhost), link-local addresses (169.254.169.254), or RFC1918 ranges.
- Outbound HTTP connections from the MediaFlow Proxy host to cloud metadata endpoints such as http://169.254.169.254/latest/meta-data/ or http://metadata.google.internal/.
- Access log entries showing d= parameters pointing to attacker-controlled domains with A records resolving to internal IP space (DNS rebinding patterns).
Detection Strategies
- Alert on HTTP access logs where the d parameter decodes to a private, loopback, or metadata-service URL.
- Correlate proxy access logs with egress NetFlow or VPC Flow Logs to identify outbound requests destined for the metadata IP from the proxy host.
- Deploy response-size anomaly detection on /proxy endpoints to surface large payloads returned from internal services.
Monitoring Recommendations
- Enable verbose request logging on MediaFlow Proxy and ship logs to a centralized analytics platform for query and retention.
- Monitor cloud IAM credential usage for the proxy's instance role for unexpected API calls originating from external IPs.
- Review DNS resolver logs for repeated resolution of attacker-staged hostnames returning private address answers.
How to Mitigate CVE-2026-100391
Immediate Actions Required
- Upgrade MediaFlow Proxy to the version containing commit 99f4af1153d4766420a098a232183cba1efdc560, which enforces hostname resolution before destination validation.
- Restrict network reachability of the /proxy endpoints to trusted clients using an authenticated reverse proxy or network ACL.
- Rotate any cloud instance credentials, API tokens, or secrets that were accessible from the proxy host while the vulnerable version was running.
Patch Information
The maintainer fix is published in the project repository. See the MediaFlow Proxy Repository, the vulnerable code reference in proxy.py, and the upstream security commit. Additional advisory context is provided by the VulnCheck Advisory for MediaFlow Proxy.
Workarounds
- Place MediaFlow Proxy behind a network policy that blocks outbound traffic to RFC1918 ranges, 127.0.0.0/8, 169.254.0.0/16, and cloud metadata IPs.
- Enforce IMDSv2 on AWS instances to require session tokens for metadata access, reducing the value of SSRF against the metadata endpoint.
- Terminate the /proxy route at an upstream gateway that validates the d parameter against an allowlist of permitted external domains until the patch can be deployed.
# Example iptables egress restriction preventing SSRF to metadata and loopback
iptables -A OUTPUT -m owner --uid-owner mediaflow -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -m owner --uid-owner mediaflow -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner mediaflow -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner mediaflow -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner mediaflow -d 192.168.0.0/16 -j REJECT
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

