# CVE-2025-64519: TorrentPier SQL injection in moderator control panel topic_id

Source: https://junglewise.ai/threats/cve-2025-64519-torrentpier-sql-injection-in-moderator-control-panel-topic-id  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-10. Updated: 2026-05-13  
License: CC BY 4.0 with a link back

CVE-2025-64519 · Severity: high · CVSS 8.8 · Published 2025-11-10

TorrentPier, a BitTorrent tracker engine, contains a security flaw in its moderator control panel. An authorized moderator can exploit this vulnerability to gain unauthorized access to the underlying database. This could allow them to view sensitive user information, modify site data, or delete records, potentially leading to a full compromise of the forum's data.

Technologies: [torrentpier/torrentpier (Packagist)](https://junglewise.ai/threats/technologies/torrentpier-torrentpier), [TorrentPier](https://junglewise.ai/threats/technologies/torrentpier). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist), [TorrentPier](https://junglewise.ai/threats/vendors/torrentpier).

## Quick answers

**Is CVE-2025-64519 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-64519 being exploited in the wild.

**How severe is CVE-2025-64519?** High severity, with a CVSS score of 8.8, published 10 November 2025.

**Which products and versions are affected?** torrentpier/torrentpier (Packagist) <= 2.8.8, ECOSYSTEM:introduced=0,fixed=2.8.9; TorrentPier <= 2.8.8.

**Is there a fix for CVE-2025-64519?** Yes. torrentpier/torrentpier (Packagist): upgrade to 2.8.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-64519 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2025-64519?** Check whether you run torrentpier/torrentpier (Packagist) or TorrentPier at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- torrentpier/torrentpier (Packagist): upgrade to 2.8.9 or later

  ```sh
  composer require torrentpier/torrentpier:^2.8.9
  ```


## Technical details

An authenticated SQL injection vulnerability exists in TorrentPier's moderator control panel (modcp.php). The root cause is the lack of sanitization or parameterization of the 't' (topic_id) GET parameter before it is concatenated into an SQL query string. An attacker with moderator-level privileges can inject malicious SQL syntax, such as time-based blind payloads, to bypass intended query logic. Successful exploitation allows for the disclosure of sensitive database information, modification of user records, or deletion of data. The vulnerability is patched in version 2.8.9.

## Affected products

- TorrentPier TorrentPier <= 2.8.8

## Identifiers

- CVE-2025-64519
- GHSA-4rwr-8c3m-55f6

## Timeline

- 2025-11-10: disclosed
- 2025-11-10: advisory
- 2025-11-10: patched: Fixed in version 2.8.9

## References

- [https://api.github.com/users/XY20130630](https://api.github.com/users/XY20130630)
- [https://github.com/XY20130630](https://github.com/XY20130630)
- [https://api.github.com/users/XY20130630/gists%7B/gist_id%7D](https://api.github.com/users/XY20130630/gists%7B/gist_id%7D)
- [https://api.github.com/users/XY20130630/repos](https://api.github.com/users/XY20130630/repos)
- [https://avatars.githubusercontent.com/u/17379807?v=4](https://avatars.githubusercontent.com/u/17379807?v=4)
- [https://api.github.com/users/XY20130630/events%7B/privacy%7D](https://api.github.com/users/XY20130630/events%7B/privacy%7D)

## Related threats

- [TorrentPier PHP object injection in multiple components](https://junglewise.ai/threats/torrentpier-php-object-injection-in-multiple-components-196a1829)
- [TorrentPier insecure deserialization in get_tracks function](https://junglewise.ai/threats/cve-2024-40624-torrentpier-insecure-deserialization-in-get-tracks-function)
- [Deserialization of Untrusted Data in Torrentpier](https://junglewise.ai/threats/cve-2024-1651-deserialization-of-untrusted-data-in-torrentpier)
