# CVE-2026-58169: HKUDS Vibe-Trading auth bypass and RCE via DNS rebinding

Source: https://junglewise.ai/threats/cve-2026-58169-hkuds-vibe-trading-auth-bypass-and-rce-via-dns-rebinding  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-30. Updated: 2026-06-30  
License: CC BY 4.0 with a link back

CVE-2026-58169 · Severity: high · CVSS 7.5 · Published 2026-06-30

Vibe-Trading is an algorithmic trading platform. A security vulnerability in its local API server allows a malicious website to bypass authentication if a user visits the site while the trading software is running. This could allow an attacker to remotely execute commands on the user's computer, steal login credentials for trading accounts, or disrupt active trading operations.

Technologies: [HKUDS Vibe-Trading](https://junglewise.ai/threats/technologies/vibe-trading). Vendors: [HKUDS](https://junglewise.ai/threats/vendors/hkuds).

## Quick answers

**Is CVE-2026-58169 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-58169 being exploited in the wild.

**How severe is CVE-2026-58169?** High severity, with a CVSS score of 7.5, published 30 June 2026.

**Which products and versions are affected?** HKUDS Vibe-Trading before 0.1.10.

**Is there a fix for CVE-2026-58169?** A patch was published on 2026-06-15: Fixes merged into main branch via multiple pull requests. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-58169 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-58169?** Check whether you run HKUDS Vibe-Trading at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The Vibe-Trading local API server (FastAPI-based) incorrectly trusts any request originating from the loopback interface (127.0.0.1), bypassing the API_AUTH_KEY bearer token check. Because the server binds to 0.0.0.0 by default and lacks Host header validation, it is susceptible to DNS rebinding attacks. An attacker can use a malicious webpage to trick a victim's browser into sending authenticated requests to the local API. By targeting the '/swarm/runs' endpoint with built-in presets that enable shell tools (like bash), an attacker can achieve remote code execution (RCE) as the user running the API. Additionally, attackers can manipulate LLM and data-source settings to exfiltrate credentials. This was patched in version 0.1.10 by requiring explicit authentication for sensitive endpoints and implementing Host header validation.

## Affected products

- HKUDS Vibe-Trading before 0.1.10

## Timeline

- 2026-06-15: patched: Fixes merged into main branch via multiple pull requests.
- 2026-06-30: advisory: CVE-2026-58169 published.

## References

- [https://github.com/HKUDS/Vibe-Trading/pull/241](https://github.com/HKUDS/Vibe-Trading/pull/241)
- [https://github.com/HKUDS/Vibe-Trading/pull/242](https://github.com/HKUDS/Vibe-Trading/pull/242)
- [https://github.com/HKUDS/Vibe-Trading/pull/243](https://github.com/HKUDS/Vibe-Trading/pull/243)
- [https://github.com/HKUDS/Vibe-Trading/pull/245](https://github.com/HKUDS/Vibe-Trading/pull/245)
- [https://github.com/HKUDS/Vibe-Trading/pull/293](https://github.com/HKUDS/Vibe-Trading/pull/293)
- [https://github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10](https://github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10)
- [https://www.vulncheck.com/advisories/vibe-trading-loopback-trust-and-missing-host-validation-enable-dns-rebinding-authentication-bypass-and-remote-code-execution](https://www.vulncheck.com/advisories/vibe-trading-loopback-trust-and-missing-host-validation-enable-dns-rebinding-authentication-bypass-and-remote-code-execution)

## Related threats

- [HKUDS Vibe-Trading missing authentication in FastAPI server](https://junglewise.ai/threats/cve-2026-114108-hkuds-vibe-trading-from-0-1-0-before-0-1-7-contains-a-missing)
- [HKUDS Vibe-Trading indirect prompt injection in BashTool and BackgroundRunTool](https://junglewise.ai/threats/cve-2026-114107-hkuds-vibe-trading-from-0-1-0-before-0-1-7-contains-an-indirect)
- [HKUDS Vibe-Trading path traversal in file-read tools](https://junglewise.ai/threats/cve-2026-114106-hkuds-vibe-trading-from-0-1-0-before-0-1-7-contains-a-path)
- [Vibe-Trading FastAPI unauthenticated access and RCE chain](https://junglewise.ai/threats/vibe-trading-fastapi-endpoints-permit-unauthenticated-access-file-1d82990e)
- [HKUDS Vibe-Trading path traversal in persistent memory storage](https://junglewise.ai/threats/cve-2026-58173-hkuds-vibe-trading-path-traversal-in-persistent-memory-storage)
