CVE-2025-34040: An arbitrary file upload vulnerability exists in the Zhiyuan OA platform via the wpsAssistServlet interface
CVE-2025-34040 is a critical-severity flaw (CVSS 10.0) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An arbitrary file upload vulnerability exists in the Zhiyuan OA platform via the wpsAssistServlet interface. The realFileType and fileId parameters are improperly validated during multipart file uploads, allowing unauthenticated attackers to upload crafted JSP files outside of intended directories using path traversal. Successful exploitation enables remote code execution as the uploaded file can be accessed and executed through the web server. E
Why this priority
- Critical severity
- EPSS top 3%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: jisi-001/CVE-2025-34040Exp (2 stars)
- Write-up: www.cnblogs.com/pursue-security/p/17677130.html
- Exploit-DB: Zhiyuan OA - Unauthenticated Arbitrary File Upload
- Nuclei scan template: Zhiyuan OA Platform - Arbitrary File Upload
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-34040?
No fixed release is listed yet. Watch the vendor advisory and apply any mitigation shown on this page.
Is CVE-2025-34040 being exploited?
CVE-2025-34040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-34040 affect?
CVE-2025-34040 affects affected software. Severity is critical (CVSS 10.0). An arbitrary file upload vulnerability exists in the Zhiyuan OA platform via the wpsAssistServlet interface. The realFileType and fileId parameters are improperly validated during multipart file uploads, allowing unauthenticated attackers t
How urgent is CVE-2025-34040?
Priority 72/100. Critical severity; EPSS top 3%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action