---
id: CVE-2026-49138
aliases:
  - GHSA-434r-7c99-hwf3
title: >-
  Nanobot contains a server-side request forgery vulnerability in the web_fetch
  tool
summary: >-
  Nanobot contains a server-side request forgery vulnerability in the web_fetch
  tool
severity: medium
cvss: 5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N'
vendor: nanobot-ai
product: nanobot-ai
ecosystem: pip
affected:
  - nanobot-ai < 0.2.1
patched:
  - nanobot-ai 0.2.1
published: '2026-06-01'
updated: '2026-07-27'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-434r-7c99-hwf3'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49138'
  - url: 'https://github.com/HKUDS/nanobot/pull/3928'
  - url: >-
      https://github.com/HKUDS/nanobot/commit/545294c62c0947da40eb5b65288aaf02b5fdf632
  - url: 'https://github.com/HKUDS/nanobot'
  - url: 'https://github.com/HKUDS/nanobot/releases/tag/v0.2.1'
  - url: >-
      https://www.vulncheck.com/advisories/nanobot-ssrf-via-web-fetch-tool-redirect-following
tags:
  - osv
  - pip
epss: 0.00492
epssPercentile: 0.39582
ingestedAt: '2026-07-27T19:08:53.926Z'
---

## Overview

Nanobot prior to version 0.2.1 contains a server-side request forgery vulnerability in the web_fetch tool that allows remote attackers to reach internal or private network hosts by supplying a URL that redirects to a loopback or private address via a 3xx Location header. Attackers can exploit the automatic HTTP redirect following behavior in the httpx library to bypass initial URL validation and cause the runtime to send outbound requests to internal hosts before final resolved URL validation is applied.

## Affected packages

- `nanobot-ai < 0.2.1`

## Remediation

Upgrade to a patched release:

- `nanobot-ai 0.2.1`
