Advisory

PYSEC-2026-3580

Also known as: CVE-2026-49138, GHSA-434r-7c99-hwf3

Summary

Nanobot contains a server-side request forgery vulnerability in the web_fetch tool

Details

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.

Severity

Medium Basis: CVSS v3 score 5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Dates

Published
2026-08-04 11:34 UTC
Modified
2026-08-04 14:30 UTC

Affected packages and fixes

nanobot-ai

PyPI · All systems

Affected

  • introduced 0, fixed 0.2.1 (ecosystem)

Fixed versions

0.2.1

Fix

  • Fixed version 0.2.1
    pip install --upgrade nanobot-ai==0.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences