# CVE-2025-27106: Code injection in binance-trading-bot

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 3.26% (percentile 89, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2025-02-21T21:18:18.284Z
- **Modified:** 2026-06-17T09:03:02.697Z

## Who should check

- Anyone running chrisleekr binance-trading-bot \< 0.0.100

## Description

binance-trading-bot is an automated Binance trading bot with trailing buy/sell strategy. Authenticated users of binance-trading-bot can achieve Remote Code Execution on the host system due to a command injection vulnerability in the \`/restore\` endpoint. The restore endpoint of binance-trading-bot is vulnerable to command injection via the \`/restore\` endpoint. The name of the uploaded file is passed to shell.exec without sanitization other than path normalization, resulting in Remote Code Execution. This may allow any authorized user to execute code in the context of the host machine. This issue has been addressed in version 0.0.100 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

## Affected and fixed versions

- chrisleekr binance-trading-bot: \< 0.0.100 (cvelist)

## Mitigation

- Upgrade binance-trading-bot to 0.0.100 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-27106. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27106.md
Affected: chrisleekr binance-trading-bot < 0.0.100
Fixed in: chrisleekr binance-trading-bot 0.0.100

Steps:
1. Search this machine and project for chrisleekr binance-trading-bot: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-27106 being exploited?

There is no confirmed exploitation: CVE-2025-27106 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-27106?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-27106?

chrisleekr binance-trading-bot \< 0.0.100.

### Is there a fix for CVE-2025-27106?

Yes. Fixed in chrisleekr binance-trading-bot 0.0.100. Upgrade binance-trading-bot to 0.0.100 or later.

### How do I check if I'm affected by CVE-2025-27106?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/chrisleekr/binance-trading-bot/security/advisories/GHSA-wq6j-4388-4gg5>
- patch: <https://github.com/chrisleekr/binance-trading-bot/commit/99d464cf8ef858d441189993054ec5f5f86e6213>
- other: <https://github.com/chrisleekr/binance-trading-bot/blob/dd8e1a91b872a48aec47bbe1280c1c6ea96784d9/app/frontend/webserver/handlers/restore-post.js#L14>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-27106>

HTML: <https://flawdb.com/CVE-2025-27106> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-27106>
