← All advisories

CVE-2026-137463highSecret exposure2026-11-26

CVE-2026-137463: nanobot's OpenAI Codex provider retried authenticated requests with TLS verification turned off, letting a network attacker steal the bearer token (fixed 0.4.1)

nanobot (HKUDS/nanobot, PyPI nanobot-ai) is a popular lightweight open-source personal AI agent. From 0.1.4 through 0.4.0, its OpenAI Codex provider reacted to a TLS certificate verification failure by retrying the same authenticated API request without certificate or hostname verification. Anyone able to intercept the connection (hostile Wi-Fi, a compromised proxy or network) could force that failure, impersonate the endpoint and obtain the bearer token and request contents, or alter the model's responses. Fixed in 0.4.1, which keeps verification on and never retries without it.

01.

What it is

GHSA-mxwj-93g9-cc5r (CWE-295, improper certificate validation), published by the maintainers on 8 November 2026; CVE assigned by VulnCheck and published by NVD on 26 November 2026. Credit: @dajiaohuang.

Affected: nanobot-ai >= 0.1.4, <= 0.4.0 (the OpenAI Codex provider). Fixed: 0.4.1 (on PyPI since 6 November 2026; current release 0.4.2).

An attacker on the network path can present any certificate; the first request fails verification, the unverified retry then goes to the attacker, carrying the Codex bearer token and the full prompt, and the attacker's reply is handed to the agent as the model output.

02.

How to check

  1. Run pip show nanobot-ai (in the environment the gateway uses): versions 0.1.4 to 0.4.0 are affected.
  2. Check whether the OpenAI Codex provider is configured in your nanobot config; other providers are not named in the advisory.
03.

How to fix

  1. Upgrade to nanobot-ai 0.4.1 or later and restart the gateway.
  2. If you used the Codex provider on an untrusted or possibly intercepted network, revoke and re-issue the OpenAI/Codex credentials it used, and review the agent's recent actions.
  3. If you sit behind a TLS-inspecting proxy, configure its CA as trusted as described in the project's troubleshooting docs instead of disabling verification.
pip show nanobot-ai | grep Version
pip install -U 'nanobot-ai>=0.4.1'
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.