CVE-2026-49949: CodexBar Credential Forwarding Vulnerability (CVSS 5.3)
CodexBar versions before 0.33.0 are vulnerable to credential interception through a flaw in how the application's shared HTTP transport handles redirects. A network-adjacent attacker can trick the application into following a redirect to a different host or downgrading from HTTPS to HTTP, causing it to leak sensitive credentials—such as browser cookies, bearer tokens, or API keys—to an attacker's server. The attack requires user interaction and works only against nearby network positions, but the confidentiality impact is high.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-522
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-11 / 2026-07-14
NVD description (verbatim)
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.
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-49949 is a credential forwarding vulnerability in CodexBar's ProviderHTTPClient transport layer. The flaw allows network-adjacent attackers to intercept authenticated provider requests by injecting cross-origin or HTTP-downgrade redirects. When the vulnerable HTTP client follows these redirects without properly isolating credential scope, session tokens and API keys intended for legitimate service endpoints are leaked to attacker-controlled locations. The vulnerability is classified under CWE-522 (Inadequately Protected Credentials), with a CVSS 3.1 score of 5.3 (Medium severity). Exploitation requires network adjacency and user interaction but results in high confidentiality impact with no integrity or availability consequences.
Business impact
Compromise of bearer tokens, API keys, and session cookies used by CodexBar can lead to unauthorized access to downstream services and data stores that trust those credentials. The blast radius depends on the privilege level and scope of compromised tokens; a leaked API key with broad permissions could enable attackers to exfiltrate sensitive data or pivot into connected systems. Organizations should assume that any credentials transited through vulnerable CodexBar instances may be exposed and should consider rotation and access revocation as part of their incident response.
Affected systems
CodexBar versions prior to 0.33.0 are affected. The vulnerability resides in the shared ProviderHTTPClient transport used for authenticated API calls. Any deployment of CodexBar in which provider requests carry sensitive credentials—especially in multi-tenant or shared network environments—is at risk. Deployments isolated from untrusted networks may face reduced practical risk, but credential leakage is still possible if an attacker achieves network adjacency through routing tricks or physical positioning.
Exploitability
Exploitation is feasible but requires two conditions: network adjacency to the target and user interaction (such as the user clicking a link or the application following an attacker-controlled redirect). The CVSS vector (AV:N/AC:H) reflects that while network access is possible, the attack complexity is high. An attacker must craft a precise redirect scenario and position themselves on the network path or have the ability to influence DNS/routing. In isolated internal environments, the practical risk is lower; in cloud or shared-network scenarios, it is higher. No public exploit code or KEV listing exists as of the advisory date.
Remediation
Upgrade CodexBar to version 0.33.0 or later immediately. The patched version corrects the credential forwarding flaw by enforcing strict credential scope validation during redirect handling and preventing HTTP downgrade attacks. Organizations should also rotate any credentials (API keys, bearer tokens, session cookies) that were active on vulnerable instances during the suspected exposure window, and review access logs from downstream services for unusual activity.
Patch guidance
Apply CodexBar 0.33.0 or a later stable release as soon as possible. Verify the patch in your vendor advisory to confirm version numbers and any additional configuration changes required. If you cannot upgrade immediately, consider network segmentation to limit attacker proximity, implement strict outbound redirect policies in your HTTP client configuration if available, and monitor for suspicious cross-origin or HTTP downgrade activity in your logs. Test patches in a non-production environment first to ensure compatibility with your deployment.
Detection guidance
Monitor CodexBar HTTP traffic for unusual redirect sequences, especially cross-origin redirects or HTTP-to-HTTPS downgrade scenarios. Check application logs for redirect responses (301, 302, 307, 308) pointing to unexpected hosts or plaintext HTTP endpoints. Review credential usage in downstream services for anomalous patterns (new IP sources, unexpected token usage, API key activity outside normal schedules). If you have flow visibility, look for CodexBar initiating connections to attacker-controlled IPs or domains following credential-bearing requests. Implement alerting on redirect chains that cross security boundaries.
Why prioritize this
Although this is a Medium-severity vulnerability with a CVSS score of 5.3, it poses a direct credential compromise risk that could unlock unauthorized access to backend systems. The requirement for network adjacency and user interaction lowers urgency slightly, but organizations handling sensitive data or relying on strict API key isolation should treat this as a near-term patch priority. Credential leakage has compounding effects; even a single compromised token can cascade into broader system compromise if not quickly detected and revoked.
Risk score, explained
The CVSS 3.1 score of 5.3 (Medium) reflects high confidentiality impact (C:H) offset by high attack complexity (AC:H) and the need for user interaction (UI:R). Network adjacency (AV:N) is required, and the scope is unchanged (S:U). No integrity or availability impact is noted. The score appropriately captures that while the potential harm (credential theft) is serious, the practical barriers to exploitation—network position and user action—limit the overall severity rating. In high-trust or network-isolated environments, the practical risk may be lower; in shared or cloud-native architectures, it may be higher.
Frequently asked questions
Can this vulnerability be exploited remotely without network adjacency?
The CVSS vector specifies AV:N (network-accessible) but the attack requires network adjacency—meaning the attacker must be positioned on the network path or have routing control. Purely remote exploitation from the public internet is not feasible without first achieving network-adjacent status or compromising intermediate infrastructure.
What types of credentials are at risk?
Any credentials transited by CodexBar's ProviderHTTPClient are at risk, including browser session cookies, OAuth/bearer tokens, API keys, and custom authorization headers. The scope depends on what credentials the provider requests carry; if they authenticate to sensitive backend services, those service credentials indirectly become exposed.
Does upgrading to 0.33.0 require configuration changes?
The patch itself fixes the vulnerability, but verify your vendor advisory for any recommended security configuration updates. Some deployments may benefit from additional hardening, such as explicit redirect whitelisting or certificate pinning for provider endpoints.
How should we handle credentials that may have been exposed?
Treat any API keys, tokens, or session credentials that were active on vulnerable CodexBar instances during the exposure window as compromised. Rotate them promptly, revoke old versions in downstream services, and audit access logs for suspicious activity using the exposed credentials. If possible, narrow the scope or permissions of newly issued credentials.
This analysis is based on the CVE description and publicly available CVSS assessment as of the modification date. Actual exploitation depends on network topology, CodexBar configuration, and the credentials at stake in your environment. Always verify patch availability and compatibility in your vendor's official advisory before deploying. SEC.co makes no warranty regarding completeness or accuracy beyond the provided source data. Test patches in non-production environments first. If you believe you are affected, engage your vendor or a trusted security partner for immediate assistance. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2024-45636MEDIUMIBM QRadar EDR Plaintext Credential Storage (3.12–3.12.24)
- CVE-2026-39908MEDIUMOpenBullet2 NTLMv2 Hash Disclosure via UNC Proxy Path
- CVE-2026-41715MEDIUMReactor Netty HTTP Redirect Credential Leakage Vulnerability
- CVE-2026-42951MEDIUMMacGregor VDR G4E Backup Credential Disclosure – Patch Guidance
- CVE-2026-49379MEDIUMJetBrains TeamCity Credential Exposure in Thread Names
- CVE-2026-7313HIGHProgress Sitefinity Plaintext Credential Exposure (CVSS 8.7)
- CVE-2016-20064MEDIUMWP Vault 0.8.6.6 Arbitrary File Read via Directory Traversal
- CVE-2016-20067MEDIUMWordPress CP Polls CSRF Vulnerability