---
title: "CVE-2025-50706: ThinkPHP Path Traversal Vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-50706/
description: "CVE-2025-50706 (topthink/framework (Composer (PHP))): An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-08-05
date_modified: 2025-08-05
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-50706"
kev: false
cvss: 9.3
epss: 0.01029
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-50706: ThinkPHP Path Traversal 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 63: FIRST’s model estimates a 1.0% chance of exploitation activity in the next 30 days, higher than 63% 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 topthink/framework (Composer (PHP)) <= 5.1.41, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function

## Affected packages

- Composer (PHP) `topthink/framework` <= 5.1.41 → fixed: none listed

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

- CISA-ADP 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.03% probability of exploitation activity in the next 30 days; percentile 63.

## Sources

- [GitHub Advisory GHSA-mrwc-mvr8-9xq5](https://github.com/advisories/GHSA-mrwc-mvr8-9xq5)
- [CVE.org record CVE-2025-50706](https://www.cve.org/CVERecord?id=CVE-2025-50706)
- [NVD entry CVE-2025-50706](https://nvd.nist.gov/vuln/detail/CVE-2025-50706)
- [xinyisleep.github.io](https://xinyisleep.github.io/2024-04-24/Thinkphp5.1%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024-29981)
- [xinyisleep.github.io](https://xinyisleep.github.io/CVE-2025-50706.md)

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