Skip to content
Heist/ feed
Back to feed
Medium

GAIR-NLP factool tool.py run_single code injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-4261
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 05:32 UTC · Revision 1

Source evidence

GAIR-NLP factool tool.py run_single code injection

core-osv · Original source

Published 5 May 2025, 03:00 UTC

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.

osv:CVE-2025-4261
Complete source record
{
  "id": "a17e0b1aaf5ce51872bc475c894a1b4671649a21794b9bc1c642bca4a2e48925",
  "url": "https://osv.dev/vulnerability/CVE-2025-4261",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GAIR-NLP factool tool.py run_single code injection",
    "summary": "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.",
    "evidence": "osv:CVE-2025-4261",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-4261",
      "aliases": [
        "CVE-2025-4261"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gair-nlp/factool",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3f3914bc090b644be044b7e0005113c135d8b20f"
                },
                {
                  "last_affected": "3f3914bc090b644be044b7e0005113c135d8b20f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3f3914bc090b644be044b7e0005113c135d8b20f"
                      },
                      {
                        "last_affected": "3f3914bc090b644be044b7e0005113c135d8b20f"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3f3914bc090b644be044b7e0005113c135d8b20f"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4261.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.184417488Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4261.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-4261",
        "https://vuldb.com/?id.307365",
        "https://vuldb.com/?submit.562942",
        "https://github.com/GAIR-NLP/factool/issues/50",
        "https://github.com/GAIR-NLP/factool/issues/50#issue-3007905464",
        "https://vuldb.com/?ctiid.307365"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-94"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4261.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-4261",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518380,
  "published_at": "2025-05-05T03:00:06.085+00:00"
}