# CVE-2025-4261: GAIR-NLP factool tool.py run_single code injection

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-05T03:00:06.085Z
- Modified: 2026-06-17T09:32:53.590Z
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- GAIR-NLP factool: 3f3914bc090b644be044b7e0005113c135d8b20f

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/GAIR-NLP/factool/issues/50#issue-3007905464> (exploit, issue-tracking)
- <https://vuldb.com/?id.307365> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.307365> (permissions-required, signature)
- <https://vuldb.com/?submit.562942> (third-party-advisory)
- <https://github.com/GAIR-NLP/factool/issues/50> (issue-tracking)

## Sources

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

---

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