Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path MITM position on egress traffic
-
DeliveryForce TLS certificate validation failure
-
ExploitProvider retries with verification disabled
-
ExecutionImpersonate OpenAI Codex endpoint
-
PersistCapture bearer token and request contents
-
ImpactAlter responses to client
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires the attacker to be able to intercept the TLS connection between the nanobot gateway and the OpenAI Codex provider endpoint (a man-in-the-middle position), and specifically requires the OpenAI Codex provider code path to be in use, which triggers the insecure retry after an initial certificate verification failure. This matches the CVSS 4.0 AT:P attack requirement. The limiting factor is that interception is mandatory - a remote attacker with no network position cannot exploit this, so realistic risk concentrates on untrusted networks, hostile proxies, or compromised routing. No authentication or user interaction is needed by the attacker once on-path (PR:N/UI:N); affected versions are nanobot-ai 0.1.4 through 0.4.0 running the Codex provider. |
| Impact | This is a genuine priority, consistent across signals rather than inflated. The CVSS 4.0 base score of 9.1 reflects high confidentiality and integrity impact (VC:H/VI:H) with network vector and no privileges or user interaction, but critically includes AT:P - an attack requirement - meaning exploitation is not unconditional: the attacker must already be positioned to intercept the TLS connection. The vuln.today Decision label is act_now and the finding was reported by VulnCheck, reinforcing urgency. No CISA KEV listing is present and no EPSS score was supplied, so there is no evidence of active or widespread exploitation; the elevated score derives from impact severity plus the ease of the attack once an attacker holds a man-in-the-middle position, not from mass exploitability. The AT:P requirement is the key tempering factor: an attacker on-path (hostile network, malicious proxy, compromised router, or rogue Wi-Fi) can force a certificate failure and then harvest the bearer token used against the OpenAI Codex endpoint. No conflicting signals were found - the CVSS vector, CWE-295, and the GHSA advisory description all agree the flaw is a TLS verification bypass on retry. Treat as act_now for any deployment reachable over untrusted network paths. |
| Exploit ScenarioDerived | An attacker positioned on the network path between a nanobot gateway and the OpenAI Codex endpoint (for example on shared Wi-Fi, a compromised egress proxy, or via DNS/ARP redirection) forces the initial TLS certificate validation to fail. The vulnerable Codex provider then retries the authenticated request with certificate and hostname verification disabled, letting the attacker impersonate the endpoint, capture the bearer token and request contents, and tamper with returned responses. A GHSA security advisory describes the flaw, but no verified working exploit code was provided in the sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Man-in-the-middle interception of HKUDS nanobot's OpenAI Codex provider traffic in versions 0.1.4 through 0.4.0 can hand attackers the gateway's bearer token and full request and response contents, because an authenticated request that fails TLS certificate validation is automatically retried with certificate and hostname verification disabled. The exposure is conditional: the Codex provider code path must be in use and the attacker must already be on-path through a hostile proxy, untrusted network, or compromised routing, but once in that position no authentication or user interaction is required. The priority signal is act_now from vuln.today; no public exploit identified at time of analysis, and no CISA KEV entry is associated with this CVE.
RemediationAI
Vendor-released patch: nanobot-ai 0.4.1. Upgrade to 0.4.1 or later and restart the gateway so the new code is loaded; the fix keeps TLS verification enabled and explicitly does not automatically retry requests with verification disabled, which removes the downgrade path that exposes the bearer token. Where the gateway legitimately talks to an endpoint with a private or internal CA, do not re-enable insecure retries - instead configure the trusted CA as described in the project's troubleshooting documentation, keeping chain and hostname validation intact. Because exploitation requires an on-path position against the Codex provider endpoint, the practical interim exposure in the 0.1.4 to 0.4.0 range is limited to traffic crossing untrusted networks, proxies, or routes under third-party control, so moving those gateway egress paths onto trusted transport until the upgrade is applied reduces, but does not remove, the risk. Details and credit are in the GitHub advisory https://github.com/HKUDS/nanobot/security/advisories/GHSA-mxwj-93g9-cc5r and the VulnCheck advisory https://www.vulncheck.com/advisories/hkuds-nanobot-0.1.4-before-0.4.1-tls-verification-bypass-in-openai-codex-provider.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-295, improper certificate validation, inside the OpenAI Codex provider component of the nanobot-ai Python package (pip). Normal TLS operation requires the client to chain the server certificate to a trusted CA and to match the certificate hostname against the requested endpoint before sending credentials; here the provider treats a certificate verification failure as something to work around rather than report, re-issuing the already authenticated API request with both certificate and hostname checks turned off. That downgrade converts a transient trust error into a silent plaintext-equivalent trust of whoever answers the connection, so a party that can intercept the TCP/TLS path can present any certificate, harvest the Authorization bearer token and request body, and return forged responses to the gateway. The assessed CVSS:3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N and the CVSS 4.0 AT:P metric both encode the same precondition: a successful attack requires an active on-path position, which is why confidentiality and integrity are rated high while availability is not affected. The supplied sources do not describe the exact code sequence beyond the failed-verification-then-retry behavior, and the flaw is scoped to the Codex provider rather than to all nanobot outbound connections.
Know when Nanobot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
AC:H because a man-in-the-middle position and forced certificate failure are required; PR:N/UI:N as the attacker needs no credentials or victim action; C:H/I:H for token/content theft and response tampering, A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
HKUDS nanobot from 0.1.4 before 0.4.1 contains an improper certificate validation vulnerability in the OpenAI Codex provider that retries authenticated requests without TLS certificate or hostname verification. Attackers able to intercept the connection can trigger a certificate failure and impersonate the endpoint to steal bearer tokens, read request contents, or alter responses.
Technical POC Analysis
The vulnerability is CWE-295 Improper Certificate Validation.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical vulnerability in HKUDS nanobot versions 0.1.4 through 0.4.0 could allow attackers to intercept sensitive traffic and steal bearer tokens when the OpenAI Codex provider is used over untrusted networks. This affects teams relying on the Codex integration, potentially exposing confidential request and response data and enabling unauthorized access to the gateway. Security leadership should prioritize remediation due to the high confidentiality impact and the fact that the attacker only needs to be on-path.
Enforce certificate pinning and strict TLS validation for all outbound connections to the Codex provider; restrict egress to known IP ranges and use a trusted proxy with deep packet inspection; monitor for failed TLS handshakes and automatic retries with verification disabled.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Cross-Site WebSocket Hijacking in nanobot personal AI assistant (versions before 0.1.5) allows remote websites to establ
Remote code execution in nanobot personal AI assistant (versions prior to 0.1.6) allows unauthenticated attackers to exe
Arbitrary file write in HKUDS Nanobot's WhatsApp bridge (versions 0.1.5.post3 and prior) allows remote unauthenticated a
Sandbox escape in nanobot-ai 0.2.1 through 0.4.0 allows a low-privileged attacker who can drive the agent to induce crea
Authenticated workspace boundary escape in nanobot-ai 0.3.5 through 0.4.0 lets a standard WebSocket client holding a val
Server-side request forgery in Nanobot (HKUDS) prior to 0.2.1 lets unauthenticated remote attackers exfiltrate Microsoft
Argument injection in HKUDS nanobot's ExecTool shell execution guard allows remote unauthenticated attackers to bypass t
OS command injection in HKUDS nanobot 0.2.0 and 0.2.1 allows a low-privileged remote attacker to bypass the configured s
Server-side request forgery in HKUDS nanobot up to 0.2.1 allows authenticated remote attackers to make the server issue
MCP resource and prompt wrappers in HKUDS nanobot 0.2.0 and 0.2.1 bypass operator-defined `enabledTools` access restrict
Login-shell environment variable leakage in HKUDS nanobot up to 0.2.1 exposes sensitive environment variables to local l
Nanobot's Matrix channel media download handler exhausts process memory and bandwidth when authenticated room members su
EUVD-2026-136611
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB