CVE-2026-51917 Details
Description
FinRobot v1.0.0 is vulnerable to Code Injection in CodingUtils.modify_code.
A code injection vulnerability has been identified in FinRobot version 1.0.0, specifically within the CodingUtils.modify_code method. This vulnerability arises because the method accepts file paths from LLM tool invocations without proper validation. When FinRobot's autogen session is accessible via HTTP or an interactive interface, an attacker can exploit prompt injection to manipulate the LLM into calling modify_code with paths that traverse outside the designated workspace. This oversight allows for arbitrary modification of files.
Users are advised to update to the latest version of FinRobot, where this vulnerability has been addressed. Consult the project's GitHub repository for the most recent release.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 2, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/AI4Finance-Foundation/FinRobot/issues/101 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://gist.github.com/Ro1ME/282d3710f47d26399cbe93249aac3c09 | [email protected] | Broken LinkExploit |
| https://github.com/AI4Finance-Foundation/FinRobot/issues/101 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| AI4Finance-Foundation FinRobot | 1.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2026 | New CVE Received | [email protected] |
Volerion