Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain network-adjacent MITM position
-
DeliveryIntercept AI provider HTTP response in transit
-
ExploitInject cross-origin or HTTP-downgrade redirect
-
ExecutionCodexBar follows redirect forwarding credentials intact
-
ImpactAttacker captures API keys, bearer tokens, or session cookies
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
|
| Exploitation Conditions | Exploitation requires the attacker to be network-adjacent and capable of injecting or substituting HTTP redirect responses in the path between CodexBar and the targeted AI provider backend - achievable via ARP poisoning, a rogue access point, or a compromised upstream proxy on the local network segment. The victim must actively initiate a credentialed provider request (UI:P per CVSS 4.0), meaning exploitation cannot occur passively without user action. Attack complexity is HIGH (AC:H), ruling out opportunistic internet-scale exploitation. No attacker authentication to CodexBar or to the provider is required. Exploitation is further limited to environments where network-adjacent positioning is feasible: shared Wi-Fi networks, local enterprise segments without proper network isolation, or scenarios involving a compromised intermediary proxy. Same-origin HTTPS redirects are NOT vulnerable - only redirects that cross to a different origin or downgrade to plaintext HTTP trigger credential forwarding. |
| Impact | The CVSS 4.0 score of 6.0 (AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N) accurately reflects a meaningful but exploitation-constrained credential theft risk. Attack complexity HIGH (AC:H) is the most significant limiting factor - the attacker must occupy a network-adjacent MITM position capable of injecting redirect responses between CodexBar and the AI provider backend, which eliminates purely opportunistic remote exploitation. User interaction (UI:P) is required, meaning the victim must actively trigger a provider request. Confidentiality impact is HIGH (VC:H) because successfully captured API keys or bearer tokens can grant persistent unauthorized access to the victim's AI provider accounts - an impact disproportionate to the raw score in high-value environments. Integrity and availability are unaffected. No CISA KEV listing exists, and no public proof-of-concept code has been identified, indicating no observed widespread exploitation. EPSS data was not provided in the available intelligence. The real-world priority is moderate-to-high for users operating CodexBar on shared, corporate, or untrusted Wi-Fi networks where MITM positioning is more achievable, and lower for users on isolated home networks. The absence of a scope change (SC/SI/SA all N) confirms impact is limited to the vulnerable system's own credentials. |
| Exploit ScenarioDerived | An attacker on the same network segment as a CodexBar user - for example, on shared office or café Wi-Fi - establishes a MITM position via ARP spoofing or a rogue access point. When the user triggers a Copilot or Vertex AI request through CodexBar, the attacker intercepts the AI provider's HTTP response and replaces it with a 301/302 redirect pointing to a plaintext HTTP endpoint under the attacker's control. CodexBar's unpatched ProviderHTTPClient follows the redirect and reattaches the original Authorization header or session cookies to the new request, delivering the credentials directly to the attacker. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Credential interception in CodexBar before 0.33.0 exposes API keys, bearer tokens, and browser cookies to network-adjacent attackers through the shared ProviderHTTPClient transport's failure to validate redirect destinations. When a user initiates a credentialed request to an AI provider backend, an attacker positioned to inject redirect responses can steer the transport to a cross-origin host or a plaintext HTTP endpoint, causing CodexBar to forward the original credentials to the attacker-controlled destination. No active exploitation confirmed (not in CISA KEV) and no public exploit code identified at time of analysis, but the high confidentiality impact warrants prompt patching - especially for users on shared or untrusted networks.
RemediationAI
The primary fix is upgrading to CodexBar v0.33.0 or later, which blocks credentialed provider redirects that exit the original HTTPS origin (PR #1237, commit 08c171b6b487654a0eb188494fa24bd1c4272a2e). The release is available at https://github.com/steipete/CodexBar/releases/tag/v0.33.0. For users who cannot upgrade immediately, the most actionable compensating control is to avoid using CodexBar on shared or untrusted network segments (public Wi-Fi, hotel networks, conference networks) where an attacker could achieve MITM positioning to inject redirect responses - this directly addresses the AC:H condition required for exploitation. As a secondary measure, rotate any API keys, bearer tokens, or session credentials associated with CodexBar provider integrations if there is any suspicion of prior exposure; note that credential rotation addresses the impact of past exploitation but does not close the transport-layer flaw in unpatched versions. No workaround exists that fully mitigates the underlying redirect validation gap without upgrading.
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
CodexBar (CPE: cpe:2.3:a:steipete:codexbar:*:*:*:*:*:*:*:*) is a macOS menu bar application by steipete that brokers connections to multiple AI providers including Copilot, Codex, Vertex AI, and Doubao. The affected component is the shared ProviderHTTPClient transport - a common HTTP client used across all provider integrations to issue credentialed requests. CWE-522 (Insufficiently Protected Credentials) captures the root cause: the transport forwarded authentication material (browser cookies, bearer tokens, API keys) through HTTP redirects without verifying that the redirect destination remained within the original HTTPS origin. This enabled two exploit paths: cross-origin redirects (attacker-controlled host on a different domain) and HTTP-downgrade redirects (HTTPS origin redirected to a plaintext HTTP endpoint), both of which expose credentials in transit. The fix in v0.33.0 via PR #1237 and commit 08c171b6b487654a0eb188494fa24bd1c4272a2e introduces origin-scope enforcement that blocks outbound credentialed redirects leaving the original HTTPS origin while preserving legitimate same-origin redirects.
Know when Codexbar 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:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network vector requires MITM redirect injection (AC:H); no attacker privileges needed (PR:N); victim must trigger a request (UI:R); only credentials are exposed (C:H, I:N, A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
CodexBar before 0.33.0 contains a credential forwarding vulnerability that allows network-adjacent attackers to intercept sensitive credentials by issuing cross-origin or HTTP-downgrade redirects to the shared ProviderHTTPClient transport. Attackers can redirect credentialed provider requests carrying browser cookies, bearer tokens, or API keys to an unintended host, port, or plaintext HTTP destination to capture those credentials.
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.
Cleartext session cookie exposure in CodexBar (a macOS menu bar AI provider client) prior to 0.32.0 allows network-posit
Local privilege escalation in CodexBar prior to 0.32.0 allows a same-user attacker to execute arbitrary commands as root
Local privilege-level information disclosure and artifact tampering in CodexBar versions prior to 0.32.0 allows authenti
EUVD-2026-36302
GHSA-42m6-xh7c-6xm4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB