Skip to main content

CodexBar CVE-2026-49949

| EUVDEUVD-2026-36302 MEDIUM
Insufficiently Protected Credentials (CWE-522)
2026-06-11 VulnCheck GHSA-42m6-xh7c-6xm4
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain network-adjacent MITM position
  2. Delivery
    Intercept AI provider HTTP response in transit
  3. Exploit
    Inject cross-origin or HTTP-downgrade redirect
  4. Execution
    CodexBar follows redirect forwarding credentials intact
  5. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

CodexBar 0 <0.33.0

Affected Packages

euvd codexbar fix: 0.33.0

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

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.0%
Top 90% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy