{"answers":{"affected":"2 open source packages ship an affected version, including torrentpier/torrentpier. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-64519 exists.","fix":"Upgrade torrentpier/torrentpier to 2.8.9 or later.","what":"CVE-2025-64519 is a high-severity SQL injection vulnerability in torrentpier, published on 10 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-64519 and fix it if it is affected.\n\nWhat it is: CVE-2025-64519 is a high-severity SQL injection vulnerability in torrentpier, published on 10 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-64519 exists.\n\nAffected packages and fixed versions:\n- torrentpier/torrentpier (Packagist): affected all versions; fixed in 2.8.9\n- torrentpier/torrentpier (Packagist): affected all versions; fixed in 2.8.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-64519/ (Markdown: https://insights.sbomify.com/CVE-2025-64519/index.md)","id":"CVE-2025-64519","markdown":"https://insights.sbomify.com/CVE-2025-64519/index.md","name":"CVE-2025-64519","record":{"aliases":["GHSA-4rwr-8c3m-55f6"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"BitTorrent tracker engine","requires_auth":"low_privilege","summary":"Authenticated moderators can execute arbitrary SQL queries via the topic_id parameter, allowing them to read, modify, or delete database data.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"torrentpier","vendor":"torrentpier"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"TorrentPier is Vulnerable to Authenticated SQL Injection through Moderator Control Panel's topic_id parameter","id":"CVE-2025-64519","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"GLPI vulnerable to unauthorized access to restricted Knowledge Base items through the API","id":"CVE-2025-64520"},"packages":[{"ecosystem":"Packagist","fixed":["2.8.9"],"introduced":["0"],"last_affected":[],"package":"torrentpier/torrentpier","purl":null,"source":"GHSA-4rwr-8c3m-55f6"},{"ecosystem":"Packagist","fixed":["2.8.9"],"introduced":["0"],"last_affected":[],"package":"torrentpier/torrentpier","purl":"pkg:composer/torrentpier/torrentpier","source":"GHSA-4rwr-8c3m-55f6"}],"prev":{"headline":"CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection","id":"CVE-2025-64518"},"products":["torrentpier"],"published":"2025-11-10","related":[{"cvss_score":10,"headline":"Torrentpier 2.4.1 - RCE","id":"CVE-2024-1651","kev_date_added":null,"published":"2024-02-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-12","vendors":["torrentpier"]},"summary":"Authenticated moderators can execute arbitrary SQL queries via the topic_id parameter, allowing them to read, modify, or delete database data.","url":"https://insights.sbomify.com/CVE-2025-64519/"}