Skip to content
Heist/ feed
Back to feed
High

TorrentPier is Vulnerable to Authenticated SQL Injection through Moderator Control Panel's topic_id parameter

Type: advisorySources: OSV

TorrentPier is an open source BitTorrent Public/Private tracker engine, written in php. In versions up to and including 2.8.8, an authenticated SQL injection vulnerability exists in the moderator control panel (`modcp.php`). Users with moderator permissions can exploit this vulnerability by supplying a malicious `topic_id` (`t`) parameter. This allows an authenticated moderator to execute arbitrary SQL queries, leading to the potential disclosure, modification, or deletion of any data in the database. Although it requires moderator privileges, it is still severe. A malicious or compromised moderator account can leverage this vulnerability to read, modify, or delete data. A patch is available at commit 6a0f6499d89fa5d6e2afa8ee53802a1ad11ece80.

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

Source evidence

TorrentPier is Vulnerable to Authenticated SQL Injection through Moderator Control Panel's topic_id parameter

core-osv · Original source

Published 10 Nov 2025, 22:17 UTC

TorrentPier is an open source BitTorrent Public/Private tracker engine, written in php. In versions up to and including 2.8.8, an authenticated SQL injection vulnerability exists in the moderator control panel (`modcp.php`). Users with moderator permissions can exploit this vulnerability by supplying a malicious `topic_id` (`t`) parameter. This allows an authenticated moderator to execute arbitrary SQL queries, leading to the potential disclosure, modification, or deletion of any data in the database. Although it requires moderator privileges, it is still severe. A malicious or compromised moderator account can leverage this vulnerability to read, modify, or delete data. A patch is available at commit 6a0f6499d89fa5d6e2afa8ee53802a1ad11ece80.

osv:CVE-2025-64519
Complete source record
{
  "id": "8b113a8479a2fed9bb79fecda14da3910f8bdd86ed2702649bc36f3a120b74b4",
  "url": "https://osv.dev/vulnerability/CVE-2025-64519",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "TorrentPier is Vulnerable to Authenticated SQL Injection through Moderator Control Panel's topic_id parameter",
    "summary": "TorrentPier is an open source BitTorrent Public/Private tracker engine, written in php. In versions up to and including 2.8.8, an authenticated SQL injection vulnerability exists in the moderator control panel (`modcp.php`). Users with moderator permissions can exploit this vulnerability by supplying a malicious `topic_id` (`t`) parameter. This allows an authenticated moderator to execute arbitrary SQL queries, leading to the potential disclosure, modification, or deletion of any data in the database. Although it requires moderator privileges, it is still severe. A malicious or compromised moderator account can leverage this vulnerability to read, modify, or delete data. A patch is available at commit 6a0f6499d89fa5d6e2afa8ee53802a1ad11ece80.",
    "evidence": "osv:CVE-2025-64519",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-64519",
      "aliases": [
        "CVE-2025-64519",
        "GHSA-4rwr-8c3m-55f6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/torrentpier/torrentpier",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6a0f6499d89fa5d6e2afa8ee53802a1ad11ece80"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:torrentpier:torrentpier:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.8.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6a0f6499d89fa5d6e2afa8ee53802a1ad11ece80"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.8.8",
            "v2.8.7",
            "v2.8.6",
            "v2.8.5",
            "v2.8.4.1",
            "v2.8.4",
            "v2.8.3",
            "v2.8.2",
            "v2.8.1",
            "v2.8.0",
            "v2.7.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.6-alpha.4",
            "v2.4.6-alpha.3",
            "v2.4.6-alpha.2",
            "v2.4.6-alpha.1",
            "v2.4.5",
            "v2.4.5-rc.5",
            "v2.4.5-rc.4",
            "v2.4.5-rc.3",
            "v2.4.5-rc.2",
            "v2.4.5-rc.1",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.4.0-rc2",
            "v2.4.0-rc1",
            "v2.4.0-beta4",
            "v2.4.0-beta3",
            "v2.4.0-beta2",
            "v2.4.0-beta1",
            "v2.4.0-alpha4",
            "v2.4.0-alpha3",
            "v2.4.0-alpha2",
            "v2.4.0-alpha1",
            "v2.3.1",
            "v2.3.1-rc1",
            "2.3.0.4-beta2",
            "2.3.0.4-beta",
            "v2.3.0.3",
            "v2.3.0.2",
            "v2.3.0.1",
            "v2.3.0",
            "v2.2.0",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.599b",
            "v2.0.599",
            "v2.0.598",
            "v2.0.597",
            "v2.0.596",
            "v2.0.595",
            "v2.0.594b",
            "v2.0.594",
            "v2.0.593b",
            "v2.0.593",
            "v2.0.592",
            "v2.0.591",
            "v2.0.590",
            "v2.0.589",
            "v2.0.588",
            "v2.0.587",
            "v2.0.586",
            "v2.0.585",
            "v2.0.584",
            "v2.0.583",
            "v2.0.581",
            "v2.0.572",
            "v2.0.564",
            "v2.0.560",
            "v2.0.556",
            "v2.0.552",
            "v2.0.506",
            "v2.0.500",
            "v2.0.491",
            "v2.0.477",
            "v2.0.463",
            "v2.0.456",
            "v2.0.400",
            "v2.0.300",
            "v2.0.261",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64519.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.363984221Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64519.json",
        "https://github.com/torrentpier/torrentpier/security/advisories/GHSA-4rwr-8c3m-55f6",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-64519",
        "https://github.com/torrentpier/torrentpier/commit/6a0f6499d89fa5d6e2afa8ee53802a1ad11ece80"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64519.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-64519",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490912,
  "published_at": "2025-11-10T22:17:31.083+00:00"
}