Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nanobot-ai
  4. ›
  5. CVE-2026-49138

CVE-2026-49138: Nanobot contains a server-side request forgery vulnerability in the web_fetch tool

June 1, 2026 (updated July 27, 2026)

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.

References

  • github.com/HKUDS/nanobot/commit/545294c62c0947da40eb5b65288aaf02b5fdf632
  • github.com/HKUDS/nanobot/pull/3928
  • github.com/HKUDS/nanobot/releases/tag/v0.2.1
  • github.com/advisories/GHSA-434r-7c99-hwf3
  • nvd.nist.gov/vuln/detail/CVE-2026-49138
  • www.vulncheck.com/advisories/nanobot-ssrf-via-web-fetch-tool-redirect-following

Code Behaviors & Features

Detect and mitigate CVE-2026-49138 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.1

Fixed versions

  • 0.2.1

Solution

Upgrade to version 0.2.1 or above.

Impact 5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/nanobot-ai/CVE-2026-49138.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:42 +0000.