CVE-2026-58169: Origin Validation Error in HKUDS Vibe-Trading
Vibe-Trading before 0.1.10 contains a DNS rebinding authentication bypass vulnerability that allows remote attackers to bypass bearer-token authentication by exploiting the server's trust of TCP peer addresses for loopback clients combined with missing Host header validation while binding to 0.0.0.0 with credentialed CORS. Attackers can craft a malicious DNS rebinding page to issue authenticated requests to the local API server, reach the shell execution endpoint with a bash-enabled preset, and achieve remote code execution as the API process user while also overwriting LLM and data-source settings to exfiltrate credentials.
AI Analysis
Technical Summary
The vulnerability in HKUDS Vibe-Trading prior to version 0.1.10 involves improper origin validation and authentication bypass on the local API server. The server trusts the TCP peer address to skip the API_AUTH_KEY bearer-token check for loopback clients and does not validate the Host header. It binds to 0.0.0.0 with credentialed CORS enabled by default. An attacker can exploit this via a DNS-rebinding web page to send authenticated requests as a trusted loopback client. This enables execution of POST /swarm/runs with a preset that allows running bash commands, leading to remote code execution as the API process user. Additionally, attackers can start the live runner and overwrite LLM and data-source settings to redirect provider traffic and exfiltrate credentials.
Potential Impact
Successful exploitation allows an attacker to bypass authentication and perform remote code execution on the API process user account. The attacker can also manipulate live runner settings to redirect traffic and exfiltrate sensitive credentials. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the local API server to trusted hosts only and disable binding to 0.0.0.0 if possible. Avoid exposing the API server to untrusted networks and consider disabling credentialed CORS or enforcing strict Host header validation as temporary mitigations.
CVE-2026-58169: Origin Validation Error in HKUDS Vibe-Trading
Description
Vibe-Trading before 0.1.10 contains a DNS rebinding authentication bypass vulnerability that allows remote attackers to bypass bearer-token authentication by exploiting the server's trust of TCP peer addresses for loopback clients combined with missing Host header validation while binding to 0.0.0.0 with credentialed CORS. Attackers can craft a malicious DNS rebinding page to issue authenticated requests to the local API server, reach the shell execution endpoint with a bash-enabled preset, and achieve remote code execution as the API process user while also overwriting LLM and data-source settings to exfiltrate credentials.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in HKUDS Vibe-Trading prior to version 0.1.10 involves improper origin validation and authentication bypass on the local API server. The server trusts the TCP peer address to skip the API_AUTH_KEY bearer-token check for loopback clients and does not validate the Host header. It binds to 0.0.0.0 with credentialed CORS enabled by default. An attacker can exploit this via a DNS-rebinding web page to send authenticated requests as a trusted loopback client. This enables execution of POST /swarm/runs with a preset that allows running bash commands, leading to remote code execution as the API process user. Additionally, attackers can start the live runner and overwrite LLM and data-source settings to redirect provider traffic and exfiltrate credentials.
Potential Impact
Successful exploitation allows an attacker to bypass authentication and perform remote code execution on the API process user account. The attacker can also manipulate live runner settings to redirect traffic and exfiltrate sensitive credentials. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the local API server to trusted hosts only and disable binding to 0.0.0.0 if possible. Avoid exposing the API server to untrusted networks and consider disabling credentialed CORS or enforcing strict Host header validation as temporary mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-29T16:03:38.521Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43f42f27e9c79719185eef
Added to database: 06/30/2026, 16:51:59 UTC
Last enriched: 06/30/2026, 17:06:46 UTC
Last updated: 06/30/2026, 23:49:12 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.