CVE-2025-4261 Details
Description
A vulnerability was found in GAIR-NLP factool up to 3f3914bc090b644be044b7e0005113c135d8b20f. It has been classified as critical. This affects the function run_single of the file factool/factool/math/tool.py. The manipulation leads to code injection. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available.
A critical code injection vulnerability has been identified in GAIR-NLP factool versions prior to 3f3914bc090b644be044b7e0005113c135d8b20f. The issue arises in the 'run_single' function of 'factool/factool/math/tool.py', where user-provided input is executed without proper validation, allowing for malicious code execution. This vulnerability must be exploited locally.
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 May 5, 2025CISA-ADP
Assessed May 5, 2025References 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/GAIR-NLP/factool/issues/50 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/GAIR-NLP/factool/issues/50#issue-3007905464 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/?ctiid.307365 | [email protected] | AdvisoryExploitPermission Required |
| https://vuldb.com/?id.307365 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.562942 | [email protected] | Broken Link |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| GAIR-NLP factool | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 5, 2025 | New CVE Received | [email protected] |
Volerion