GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-p4qr-vq2g-22wpcritical9.8

ThinkPHP Framework vulnerable to remote code execution

Check your stack

The advisory, in context

ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demonstrated by including pearcmd.php.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Ecosystem versions

Earlier releases before 6.0.14

Fixed in 6.0.14

100 explicitly affected versions

5.0, 5.0-rc1, 5.0-rc2, 5.0-rc3, 5.0-rc4, v5.0.1, v5.0.10, v5.0.11, v5.0.12, v5.0.13, v5.0.14, v5.0.15, v5.0.16, v5.0.17, v5.0.18, v5.0.19, v5.0.2, v5.0.20, v5.0.21, v5.0.22, v5.0.23, v5.0.24, v5.0.25, v5.0.3, v5.0.4, v5.0.5, v5.0.6, v5.0.7, v5.0.8, v5.0.9, v5.1-beta.1, v5.1-rc.1, v5.1-rc.2, v5.1-rc.3, v5.1.0, v5.1.1, v5.1.10, v5.1.11, v5.1.12, v5.1.13, v5.1.14, v5.1.15, v5.1.16, v5.1.17, v5.1.18, v5.1.19, v5.1.2, v5.1.20, v5.1.21, v5.1.22, v5.1.23, v5.1.24, v5.1.25, v5.1.26, v5.1.27, v5.1.28, v5.1.29, v5.1.3, v5.1.30, v5.1.31, v5.1.32, v5.1.33, v5.1.34, v5.1.35, v5.1.36, v5.1.37, v5.1.37.1, v5.1.38, v5.1.38.1, v5.1.39, v5.1.4, v5.1.40, v5.1.41, v5.1.42, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9, v5.2-beta.2, v5.2-beta.3, v5.2-rc1, v6.0.0, v6.0.0-rc2, v6.0.0-rc3, v6.0.0-rc4, v6.0.0-rc5, v6.0.1, v6.0.10, v6.0.11, v6.0.12, v6.0.13, v6.0.2, v6.0.3, v6.0.4, v6.0.5, v6.0.6, v6.0.7, v6.0.8, v6.0.9

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "fixed": "6.0.14"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "5.0",
    "5.0-rc1",
    "5.0-rc2",
    "5.0-rc3",
    "5.0-rc4",
    "v5.0.1",
    "v5.0.10",
    "v5.0.11",
    "v5.0.12",
    "v5.0.13",
    "v5.0.14",
    "v5.0.15",
    "v5.0.16",
    "v5.0.17",
    "v5.0.18",
    "v5.0.19",
    "v5.0.2",
    "v5.0.20",
    "v5.0.21",
    "v5.0.22",
    "v5.0.23",
    "v5.0.24",
    "v5.0.25",
    "v5.0.3",
    "v5.0.4",
    "v5.0.5",
    "v5.0.6",
    "v5.0.7",
    "v5.0.8",
    "v5.0.9",
    "v5.1-beta.1",
    "v5.1-rc.1",
    "v5.1-rc.2",
    "v5.1-rc.3",
    "v5.1.0",
    "v5.1.1",
    "v5.1.10",
    "v5.1.11",
    "v5.1.12",
    "v5.1.13",
    "v5.1.14",
    "v5.1.15",
    "v5.1.16",
    "v5.1.17",
    "v5.1.18",
    "v5.1.19",
    "v5.1.2",
    "v5.1.20",
    "v5.1.21",
    "v5.1.22",
    "v5.1.23",
    "v5.1.24",
    "v5.1.25",
    "v5.1.26",
    "v5.1.27",
    "v5.1.28",
    "v5.1.29",
    "v5.1.3",
    "v5.1.30",
    "v5.1.31",
    "v5.1.32",
    "v5.1.33",
    "v5.1.34",
    "v5.1.35",
    "v5.1.36",
    "v5.1.37",
    "v5.1.37.1",
    "v5.1.38",
    "v5.1.38.1",
    "v5.1.39",
    "v5.1.4",
    "v5.1.40",
    "v5.1.41",
    "v5.1.42",
    "v5.1.5",
    "v5.1.6",
    "v5.1.7",
    "v5.1.8",
    "v5.1.9",
    "v5.2-beta.2",
    "v5.2-beta.3",
    "v5.2-rc1",
    "v6.0.0",
    "v6.0.0-rc2",
    "v6.0.0-rc3",
    "v6.0.0-rc4",
    "v6.0.0-rc5",
    "v6.0.1",
    "v6.0.10",
    "v6.0.11",
    "v6.0.12",
    "v6.0.13",
    "v6.0.2",
    "v6.0.3",
    "v6.0.4",
    "v6.0.5",
    "v6.0.6",
    "v6.0.7",
    "v6.0.8",
    "v6.0.9"
  ]
}

References