/

CVE-2026-130178

Severity:

HIGH RISK

(7.7)

IPv6 SSRF Bypass (CWE-918) in AutoGPT Request Utility

CVE-2026-130178

Received

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Unauthorized access to internal network services

Severity:

HIGH RISK

(7.7)

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

AutoGPT's outbound SSRF protection does not block several IPv6 address forms, potentially allowing authenticated users to make requests to local or private network services. The risk depends on deployment and is greatest when backend services are reachable over IPv6 from the AutoGPT process.

Affected context

The issue is in AutoGPT's outbound request protection in autogpt_platform/backend/backend/util/request.py, where _is_ip_blocked and BLOCKED_IP_NETWORKS do not cover certain IPv6 addresses and encodings. Affected request paths may include URL-fetching blocks, web fetch, MCP servers, webhooks, OAuth, and SQL or email blocks. Exposure depends on which paths are enabled and how the backend and internal services are bound; default Docker Compose and single-container deployments bind internal services to IPv4 only.

Exploit preconditions

  • Attack surface: An enabled AutoGPT feature that makes outbound requests or accepts a destination address.
  • Required access: An authenticated user able to configure or invoke the relevant block or integration.
  • Trigger point: The backend performs a request to an address or hostname that resolves to a blocked-intended IPv6 destination.
  • Why exploitation is possible: The IPv6 blocklist omits the unspecified address and certain transition or deprecated IPv4-compatible address ranges, allowing some destinations to evade the SSRF checks.
  • Environment dependency: Internal services must be reachable over IPv6 from the backend. Risk is higher on host-based deployments where services listen on IPv6 loopback or private interfaces.

Why this happens

The SSRF defense relies on an incomplete set of blocked IP networks and does not consistently account for IPv6 address forms, including the unspecified address, 6to4, NAT64, Teredo, and deprecated IPv4-compatible encodings. Because destination validation does not adequately normalize and classify these addresses before the backend makes a request, a user-controlled destination can pass checks intended to prevent access to internal services. This is a CWE-918 weakness: a server makes requests to destinations that are not sufficiently restricted.

Potential impact

  • An attacker could reach internal services that are accessible over IPv6 from the backend.
  • Sensitive data could be exposed if internal RPC services or databases respond to such requests.
  • Internal services could be affected by unauthorized requests.
  • The practical impact may be limited in deployments where internal services are not reachable over IPv6.

General mitigation guidance

Defensive approaches focus on validating destinations consistently before making outbound requests:

  • Use a centralized SSRF protection layer that parses and normalizes IPv4 and IPv6 addresses, including transition and mapped forms.
  • Resolve hostnames and validate every resulting address, including AAAA records, while accounting for DNS changes and redirects.
  • Prefer explicit destination allowlists for integrations that need only a known set of external services.
  • Reduce trust in user-controlled URLs and destination settings, and restrict which users can configure or invoke outbound-request features.
  • Limit backend network access and run services with least privilege; avoid exposing internal services on interfaces reachable by the application unless required.

How teams detect issues like this

  • Use static analysis and code review to find outbound request paths whose destination checks do not normalize or classify both IPv4 and IPv6 addresses.
  • Review SSRF guards for coverage of special-purpose IPv6 ranges, address translation mechanisms, redirects, and hostname resolution results.
  • Monitor outbound requests for destinations in loopback, link-local, private, or otherwise restricted ranges, including IPv6.
  • Enforce network egress policies that restrict backend access to only required destinations, and test those policies against IPv6 as well as IPv4.
  • Automated security review tools may help identify request paths that rely on incomplete or inconsistent destination validation.

Sources

SourceLink
github.comgithub.com/Significant-Gravitas/AutoGPT/commit/84e023806d7bc80694878e848e32af389c00ff29
github.comgithub.com/Significant-Gravitas/AutoGPT/pull/15926
github.comgithub.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-3c7g-v5hv-wwv4

Frequently asked

questions

It can be triggered through AutoGPT features that make outbound requests, but exploitation requires an authenticated user who can influence or invoke a relevant request path. The resulting access also depends on network configuration.

An attacker needs authenticated access and the ability to provide or control a destination used by an affected block or integration.

Apply centralized destination validation that canonicalizes IPv4 and IPv6 forms, checks resolved addresses, and restricts requests to destinations required by the application.

Combine thorough address validation with restrictive egress controls, minimize user control over destinations, and test SSRF protections across IPv4, IPv6, DNS resolution, and redirects.

Find out what's already
exploitable in your codebase.