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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.00%, higher than 81% of CVEs (2026-12-01)
- Published: 2025-02-21T21:18:18.284Z
- Modified: 2026-06-17T09:03:02.697Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- chrisleekr binance-trading-bot: < 0.0.100

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

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

## Sources

- CVE List: [CVE-2025-27106](https://www.cve.org/CVERecord?id=CVE-2025-27106), CVE Terms of Use, modified 2025-02-22
- NVD: [CVE-2025-27106](https://nvd.nist.gov/vuln/detail/CVE-2025-27106), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27106 · Whole record: https://cve.day/CVE-2025-27106.json · Rebuilt by cve.day 2026-11-25T22:58:54.223Z
