CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-9Q7V-8MR7-G23P

GHSA-9Q7V-8MR7-G23P: Server-Side Request Forgery (SSRF) in OpenClaw AI Assistant

Amit Schendel
Amit Schendel
Senior Security Researcher

Apr 2, 2026·6 min read·33 visits

Executive Summary (TL;DR)

A Server-Side Request Forgery (SSRF) flaw in OpenClaw allows attackers to access internal network resources via unvalidated URL inputs in the Ollama configuration and Marketplace plugin downloader.

OpenClaw versions prior to v2026.3.31 suffer from a high-severity Server-Side Request Forgery (SSRF) vulnerability. The application fails to validate user-supplied URLs in the Ollama extension and Marketplace plugin downloader, allowing unauthenticated or authenticated attackers to perform outbound HTTP requests to arbitrary internal and external resources.

Vulnerability Overview

OpenClaw is a personal AI assistant project that integrates with local and remote machine learning models. A core component of this architecture involves retrieving model metadata and downloading third-party extensions. The application performs these outbound network requests on behalf of the user.

A Server-Side Request Forgery (SSRF) vulnerability, classified as CWE-918, exists in the network request implementation of OpenClaw versions prior to v2026.3.31. The flaw resides in two primary components: the Ollama extension and the Marketplace plugin downloader. Both components accept user-controlled uniform resource identifiers and initiate backend HTTP connections without adequate input sanitization or destination verification.

This vulnerability permits an attacker to coerce the OpenClaw backend server into issuing HTTP requests to arbitrary targets. By manipulating the requested destination, an attacker can target internal systems that are otherwise shielded by firewalls or network address translation. The primary consequence is unauthorized access to sensitive internal application programming interfaces and cloud metadata endpoints.

Root Cause Analysis

The root cause of this SSRF vulnerability is the unconstrained use of the native JavaScript fetch() API for outbound network communication. In the Ollama extension, the application requires a baseUrl configuration to interface with a target model server. During API routes such as /api/tags, /api/show, and /api/pull, the backend directly concatenates the user-supplied baseUrl with the specific endpoint path.

The application fails to implement hostname validation or URL parsing constraints prior to executing the fetch() call. The absence of a dedicated egress filter means the server implicitly trusts the provided destination. Consequently, an attacker can supply a baseUrl pointing to internal IPv4 addresses, loopback interfaces, or local hostnames.

The Marketplace functionality introduces a secondary SSRF vector via the downloadUrlToTempFile function. This function is designed to retrieve compressed plugin archives (.tgz) from remote repositories. Similar to the Ollama vector, the function passes the attacker-controlled URL directly to the fetch() API. The server executes the request and processes the response, creating an avenue for internal network enumeration based on request timing and error state responses.

Code Analysis and Patch Walkthrough

The original implementation of the network request logic relied on direct invocations of the fetch() API. The backend application lacked a centralized mechanism to inspect outbound destinations, allowing user input to directly control the network request target.

Commit 8deb9522f3d2680820588b190adb4a2a52f3670b resolves this flaw by introducing a comprehensive fetchWithSsrFGuard wrapper located in openclaw/plugin-sdk/ssrf-runtime. This architectural shift centralizes egress filtering. For the Ollama extension specifically, the patch introduces buildOllamaBaseUrlSsrFPolicy to enforce strict hostname pinning.

export function buildOllamaBaseUrlSsrFPolicy(baseUrl: string): SsrFPolicy | undefined {
  const parsed = new URL(baseUrl.trim());
  if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return undefined;
  return {
    allowedHostnames: [parsed.hostname],
    hostnameAllowlist: [parsed.hostname],
  };
}

The updated architecture mandates an auditContext for every guarded fetch invocation. This ensures that all outbound requests are categorized and logged, facilitating security monitoring. Furthermore, the patch implements a finally block to explicitly release response bodies, neutralizing resource exhaustion attacks that rely on stalled network connections.

Exploitation and Attack Methodology

Exploiting the Ollama configuration vector requires the ability to modify the baseUrl parameter. An attacker with access to the configuration interface can alter this value to target internal endpoints. For example, modifying the baseUrl to http://169.254.169.254/latest/meta-data/iam/security-credentials/ causes the OpenClaw server to query the AWS Instance Metadata Service during subsequent model discovery operations.

The Marketplace vector is exploitable by supplying a malicious plugin URL. An attacker can construct a payload pointing to an internal database service, such as http://internal-db-service:5432/. While the database will not return a valid .tgz archive, the application's response timing and connection error behavior provide an oracle for internal port scanning and service fingerprinting.

The following Nuclei template demonstrates the detection methodology by injecting an out-of-band testing URL into the configuration endpoint to confirm the server processes external outbound requests.

id: openclaw-ssrf-ollama
info:
  name: OpenClaw Ollama Discovery SSRF
  severity: high
  description: Detects SSRF via unvalidated Ollama baseUrl configuration.
http:
  - method: POST
    path: "/api/ollama/configure"
    body: '{"baseUrl": "http://{{interactsh-url}}"}'
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

Impact Assessment

The primary impact of this SSRF vulnerability is the circumvention of network perimeters. Attackers leverage the OpenClaw backend server as a proxy to reach internal hosts and services that are otherwise inaccessible from the public internet. This access facilitates internal network reconnaissance and service enumeration.

In cloud environments, the impact escalates significantly. The ability to query the Instance Metadata Service (IMDS) at 169.254.169.254 allows attackers to extract temporary Identity and Access Management (IAM) credentials. Compromise of these credentials typically leads to horizontal escalation across the wider cloud deployment.

Data exfiltration is also a primary concern. The marketplace plugin downloader processes responses from the attacker-defined URLs. If an attacker directs the application to an internal endpoint containing sensitive configuration data or unprotected application interfaces, the application may inadvertently return this data in error messages or application logs.

Remediation and Mitigation Guidance

System administrators must prioritize upgrading OpenClaw to version v2026.3.31 or later. This release incorporates the fetchWithSsrFGuard logic and explicitly mitigates both the Ollama extension and Marketplace SSRF vectors.

Network-level controls provide a secondary layer of defense. Deploy OpenClaw instances within isolated virtual private clouds (VPCs) or demilitarized zones (DMZs). Implement strict egress filtering via firewalls or security groups to deny outbound traffic to RFC1918 internal IP ranges and the local loopback address (127.0.0.0/8).

For cloud deployments, mitigate metadata service abuse by enforcing IMDSv2. Requiring session tokens for metadata queries prevents simple HTTP GET request exploitation inherent in standard SSRF vulnerabilities. Additionally, monitor application and network logs for anomalous outbound connections, particularly those terminating at internal infrastructure or unexpected cloud endpoints.

Official Patches

OpenClawFix commit implementing fetchWithSsrFGuard
OpenClawRelease v2026.3.31

Fix Analysis (1)

Technical Appendix

CVSS Score
7.6/ 10

Affected Systems

OpenClaw AI Assistant BackendOpenClaw Ollama ExtensionOpenClaw Marketplace Plugin Downloader

Affected Versions Detail

Product
Affected Versions
Fixed Version
OpenClaw
OpenClaw
< v2026.3.31v2026.3.31
AttributeDetail
CWE IDCWE-918
Attack VectorNetwork
CVSS v3.1 Score7.6
ImpactHigh - Confidentiality and Integrity
Exploit StatusProof of Concept Available
Affected ComponentsOllama Extension, Marketplace Downloader

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1552.005Cloud Instance Metadata API
Credential Access
CWE-918
Server-Side Request Forgery (SSRF)

The application receives a URL from an upstream component and retrieves the contents of this URL without ensuring that the requested destination is valid.

Vulnerability Timeline

Vulnerability identified and patch commit pushed by Jacob Tomlinson
2026-03-30
OpenClaw v2026.3.31 released to mitigate the vulnerability
2026-03-31
Public disclosure published via GitHub Advisory Database
2026-04-02

References & Sources

  • [1]GitHub Advisory: GHSA-9Q7V-8MR7-G23P
  • [2]OpenClaw Project Repository

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 5 hours ago•CVE-2026-54347
8.7

CVE-2026-54347: Stored Cross-Site Scripting in Froxlor DNS TXT Record Configuration

A critical stored Cross-Site Scripting (XSS) vulnerability was identified in Froxlor server administration software panel before version 2.3.8. Authenticated customers with DNS editor privileges can inject malicious JavaScript into DNS TXT records. Because the application processes these values via a raw formatting callback without context-aware HTML entity encoding, the payload executes in the security context of administrative users who view the affected domain's DNS zones.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 6 hours ago•CVE-2026-54348
7.2

CVE-2026-54348: Second-Order SQL Injection in Froxlor API Layer

An authenticated administrator with privileges to manage admin accounts (such as change_serversettings) can execute arbitrary SQL commands via a second-order SQL injection vulnerability. The flaw resides in Froxlor's administrative API endpoints, specifically during the handling of IP address mapping parameters which are stored as serialized arrays and later interpolated without sanitization into active database queries. This vulnerability allows high-privileged administrative attackers to compromise the database. By injecting a payload into administrative profile metadata, an attacker can extract sensitive credentials, manipulate backend settings, or potentially disrupt database integrity. The vulnerability affects all versions of Froxlor prior to 2.3.8.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 7 hours ago•CVE-2026-54543
5.4

CVE-2026-54543: DNS Resource Record (RR) Injection in Froxlor DomainZones API

CVE-2026-54543 is a DNS Resource Record (RR) Injection vulnerability in Froxlor, an open-source server administration control panel. Prior to version 2.3.8, the DomainZones.add API command failed to perform strict sanitization and validation on the user-controlled record (label) and type parameters before serializing them into BIND-compatible zone files. An authenticated customer with DNS zone management permissions can inject control characters, breaking out of the original record context to define unauthorized resource records within managed zones.

Amit Schendel
Amit Schendel
4 views•7 min read
•about 7 hours ago•CVE-2026-42533
9.2

CVE-2026-42533: NGINX Map Directive and Regex Matching Pre-Auth Heap Buffer Overflow & Info Leak

CVE-2026-42533 is a critical security vulnerability discovered in NGINX Open Source, NGINX Plus, NGINX Ingress Controller, and related products, referred to as the 'Two-Pass Capture-Clobbering' bug. The flaw is situated within NGINX's internal evaluation engine when handling complex variables, exposing a heap-based buffer overflow and information leak when a configuration chains regular expression-based map directives with numbered capture groups. An unauthenticated remote attacker can exploit this weakness by transmitting crafted HTTP requests to trigger remote code execution or defeat ASLR.

Alon Barad
Alon Barad
7 views•7 min read
•about 8 hours ago•CVE-2026-55593
6.5

CVE-2026-55593: Persistent Administrative Hijacking via Cross-Site Request Forgery in Froxlor Ajax Router

Froxlor prior to version 2.3.8 contains a high-severity architectural flaw where the standalone lib/ajax.php entry point bypasses the centralized request validation in lib/init.php. Unauthenticated remote attackers can leverage Cross-Site Request Forgery (CSRF) to induce authenticated administrators to submit forged requests that modify API key whitelists and expiration dates, potentially yielding persistent, out-of-band administrative control.

Amit Schendel
Amit Schendel
6 views•8 min read
•about 9 hours ago•CVE-2026-62988
9.0

CVE-2026-62988: Multi-Factor Authentication and Credential Bypass in Froxlor API

An insecure data retrieval flaw in the Froxlor server administration panel API allows authenticated remote attackers to retrieve unredacted bcrypt password hashes and Base32-encoded Time-Based One-Time Password (TOTP) seeds. Affected endpoints include several 'get' and 'listing' handlers for customers, administrators, and FTP accounts. Utilizing these leaked parameters, attackers can crack the password hashes offline and concurrently generate valid second-factor authentication codes to completely bypass access controls.

Amit Schendel
Amit Schendel
8 views•6 min read