# CVE-2025-27410: PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.11%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-28T21:00:11.328Z
- Modified: 2026-06-17T09:03:32.107Z
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

PwnDoc is a penetration test reporting application. Prior to version 1.2.0, the backup restore functionality is vulnerable to path traversal in the TAR entry's name, allowing an attacker to overwrite any file on the system with their content. By overwriting an included `.js` file and restarting the container, this allows for Remote Code Execution as an administrator. The remote code execution occurs because any user with the `backups:create` and `backups:update` (only administrators by default) is able to overwrite any file on the system. Version 1.2.0 fixes the issue.

(As written by CVE List.)

## Affected

- pwndoc pwndoc: < 1.2.0
- pwndoc_project pwndoc: before 1.2.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/pwndoc/pwndoc/security/advisories/GHSA-mxw8-vgvx-89hx> (exploit, vendor-advisory)
- <https://github.com/pwndoc/pwndoc/commit/98f284291d73d3a0b11d3181d845845c192d1080> (patch)
- <https://github.com/pwndoc/pwndoc/blob/14acb704891245bf1703ce6296d62112e85aa995/backend/src/routes/backup.js#L527> (product)
- <https://github.com/pwndoc/pwndoc/releases/tag/v1.2.0> (release-notes)

## Sources

- CVE List: [CVE-2025-27410](https://www.cve.org/CVERecord?id=CVE-2025-27410), CVE Terms of Use, modified 2025-03-04
- NVD: [CVE-2025-27410](https://nvd.nist.gov/vuln/detail/CVE-2025-27410), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27410 · Whole record: https://cve.day/CVE-2025-27410.json · Rebuilt by cve.day 2026-11-25T22:58:54.822Z
