Security Digest · Vulnerability record

CVE-2025-50706: ThinkPHP Path Traversal Vulnerability

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

CVSS 9.3 Critical EPSS 1.0% · p63

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • 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

From the GitHub advisory

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

Weakness type: CWE-94, CWE-22.

Product: topthink/framework (Composer (PHP)) · Assigned by: mitre · Published: 2025-08-05

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Composer (PHP)topthink/framework<= 5.1.41none listed
VendorProductAffected versions (per CVE record)
n/an/asee vendor advisory

Severity scores

Scored byCVSSScoreVector
CISA-ADP3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub4.09.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
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • 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.

Timeline

  • — CVE record last updated
  • — CVE record published by mitre
  • — GitHub-reviewed advisory GHSA-mrwc-mvr8-9xq5 published (critical)

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-mrwc-mvr8-9xq5 github.com
  2. CVE.org record CVE-2025-50706 cve.org
  3. NVD entry CVE-2025-50706 nvd.nist.gov

Other references from the CVE record and advisory

  1. xinyisleep.github.io xinyisleep.github.io
  2. xinyisleep.github.io xinyisleep.github.io

Critical Composer (PHP) advisories · Today’s Security Digest