---
title: "CVE-2024-40624: TorrentPier Deserialization of Untrusted Data vulnerability"
url: https://erroneo.us/security/cve/CVE-2024-40624/
description: "CVE-2024-40624 (torrentpier/torrentpier (Composer (PHP))): TorrentPier is an open source BitTorrent Public/Private tracker engine, written in php. In…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-07-15
date_modified: 2026-05-13
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-40624"
kev: false
cvss: 9.3
epss: 0.00995
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-40624: TorrentPier Deserialization of Untrusted Data vulnerability

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.0% , percentile 62: FIRST’s model estimates a 1.0% chance of exploitation activity in the next 30 days, higher than 62% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes torrentpier/torrentpier (Composer (PHP)) <= 2.4.3, fixed in 2.4.4 . Check your lockfile, including transitive dependencies.

## What it is

TorrentPier is an open source BitTorrent Public/Private tracker engine, written in php. In torrentpier/library/includes/functions.php, gettracks() uses the unsafe native PHP serialization format to deserialize user-controlled cookies. One can use phpggc and the chain Guzzle/FW1 to write PHP code to an arbitrary file, and execute commands on the system. For instance, the cookie bbt will be deserialized when browsing to viewforum.php. This issue has been addressed in commit ed37e6e52 which is expected to be included in release version 2.4.4. Users are advised to upgrade as soon as the new release is available. There are no known workarounds for this vulnerability.

## Affected packages

- Composer (PHP) `torrentpier/torrentpier` <= 2.4.3 → fixed: 2.4.4

## Affected products (CVE record)

- torrentpier torrentpier: < 2.4.4

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 4.0: 9.3 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.00% probability of exploitation activity in the next 30 days; percentile 62.

## Sources

- [GitHub Advisory GHSA-fg86-4c2r-7wxw](https://github.com/advisories/GHSA-fg86-4c2r-7wxw)
- [CVE.org record CVE-2024-40624](https://www.cve.org/CVERecord?id=CVE-2024-40624)
- [NVD entry CVE-2024-40624](https://nvd.nist.gov/vuln/detail/CVE-2024-40624)
- [github.com](https://github.com/torrentpier/torrentpier/security/advisories/GHSA-fg86-4c2r-7wxw)
- [github.com](https://github.com/torrentpier/torrentpier/commit/ed37e6e522f345f2b46147c6f53c1ab6dec1db9e)
- [github.com](https://github.com/torrentpier/torrentpier/blob/84f6c9f4a081d9ffff4c233098758280304bf50f/library/includes/functions.php#L41-L60)

---
Source page: https://erroneo.us/security/cve/CVE-2024-40624/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
