/

CVE-2026-85675

Severity:

HIGH RISK

(7.5)

SSRF (CWE-918) in OWL Document Processing Toolkit API

CVE-2026-85675

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Internal Resource Access and Information Disclosure

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

OWL's DocumentProcessingToolkit can fetch caller-supplied URLs without adequately restricting schemes, hosts, or IP addresses. If an attacker influences the tool input through prompt injection, the server may request internal resources and return their responses to the agent context.

Affected context

The vulnerability occurs in deployments using OWL's extract_document_content tool to retrieve document content from URLs. Risk increases when untrusted users or external content can influence tool arguments through prompts, agents, or integrations, and when the server can reach private network services or cloud metadata endpoints.

Exploit preconditions

  • Attack surface: The server-side URL-fetching functionality in extract_document_content
  • Required access: Ability to influence the tool's URL argument, directly or through prompt injection
  • Trigger point: Processing a request that causes the toolkit to fetch the supplied URL
  • Why exploitation is possible: The fetch operation lacks sufficient scheme, hostname, and IP-range filtering, allowing requests to destinations that should not be reachable from the server

Why this happens

The underlying issue is server-side request forgery caused by treating caller-controlled URLs as trusted fetch targets. Without an allowlist or comprehensive destination validation, the application may resolve and connect to internal, loopback, link-local, or otherwise restricted addresses. Returning fetched responses to the agent context can also expose retrieved data to the requester or influence subsequent agent actions, mapping to CWE-918: Server-Side Request Forgery.

Potential impact

  • An attacker could access internal administrative services
  • The server may disclose cloud instance metadata or other sensitive responses
  • Internal network topology or service information could be exposed
  • Retrieved content could influence agent behavior or downstream actions
  • The vulnerability could support further compromise if reachable services are weakly protected

General mitigation guidance

Mitigation generally focuses on reducing trust in caller-supplied URLs and enforcing destination controls before any network connection is made.

Common defensive patterns include:

  • Prefer an explicit allowlist of schemes, hosts, and required endpoints
  • Resolve hostnames and validate all resulting IP addresses against private, loopback, link-local, multicast, and reserved ranges
  • Revalidate destinations after redirects and prevent unsafe protocol changes
  • Restrict outbound network access with egress policies, firewalls, or isolated fetch services
  • Avoid returning unnecessary response content to the agent context
  • Run the fetching component with minimal network permissions and service-account privileges
  • Treat prompt-derived tool arguments as untrusted input and require policy checks before execution

How teams detect issues like this

Organizations can look for:

  • Static analysis findings involving HTTP clients supplied with direct user, prompt, or agent-controlled URLs
  • Code review signals such as missing scheme validation, DNS rebinding defenses, redirect checks, or IP-range filtering
  • Runtime logs showing requests to loopback, private, link-local, metadata, or unusual internal destinations
  • Egress monitoring and policy enforcement for unexpected outbound connections from document-processing workloads
  • Automated security testing that supplies internal, redirected, encoded, and DNS-rebinding-oriented destinations

Neutral automated review tools can help identify URL-fetching paths that lack centralized SSRF protection.

Sources

SourceLink
github.comgithub.com/camel-ai/owl
github.comgithub.com/camel-ai/owl/blob/fba1dd5b3a9e8cc15f16221bb002cca7e3de2d9d/owl/utils/document_toolkit.py
github.comgithub.com/camel-ai/owl/issues/615
vulncheck.comvulncheck.com/advisories/owl-documentprocessingtoolkit-server-side-request-forgery-via-url-fetching

Frequently asked

questions

It may be exploitable through a remotely supplied prompt or tool request when the attacker can influence the URL processed by extract_document_content and the server has access to internal resources.

Authentication requirements depend on the OWL deployment. The relevant prerequisite is the ability to reach the toolkit and influence the URL-fetching input, either directly or through an agent interaction.

Use a centralized, allowlist-based URL-fetching policy that validates schemes, hostnames, resolved IP addresses, redirects, and response handling before making a request.

Treat all prompt- and user-derived URLs as untrusted, enforce outbound network restrictions, monitor fetch destinations, and apply least-privilege access to the processing service.

Find out what's already
exploitable in your codebase.