CVE-2025-27410: PwnDoc - Path Traversal & Remote Code Execution
- Cve: CVE-2025-27410
- Name: PwnDoc - Path Traversal & Remote Code Execution
- 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.
- Impact: Attackers can overwrite system files and execute arbitrary code with administrator privileges, leading to full system compromise.
- Remediation: Update to version 1.2.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs backups:create and backups:update permissions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.02111
- Epss percentile: 0.82277
- Assignee: [email protected]
- Published at: 2025-02-28T21:15:27Z
- Age in days: 634
- Modified at: 2026-06-17T09:03:32Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-27410
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/pwndoc/pwndoc/security/advisories/GHSA-mxw8-vgvx-89hx | nvd | 2025-02-28 |
| https://github.com/shreyas-malhotra/CVE-2025-27410 | poc-in-github | 2025-03-18 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pwndoc_project:pwndoc | < 1.2.0 | no | nvd | /v1/products/pwndoc_project/pwndoc |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pwndoc/pwndoc | commit, fix, releases, security_advisory | yes | /v1/repositories/pwndoc/pwndoc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2025-02-28
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts