PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA pwndoc (pwndoc) Fixed in 1.2.0
Timeline
- 2026-10-02 Threatist record created from CVE-2025-27410
References
More Pwndoc vulnerabilities
- TI-2022-22589 An issue in the /api/audits component of Pwndoc v0.5.3 allows attackers to escalate… CVSS 3.1HIGH 8.8
- TI-2025-16853 Cross-Site Request Forgery (CSRF) allows creating admin account with POST request CVSS 3.1HIGH 8.1
- TI-2024-36911 PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal CVSS 3.1HIGH 8.5
- TI-2025-20248 PwnDoc Arbitrary File Write to RCE using Path Traversal in template update from backup templates.json CVSS 3.1MEDIUM 6.5
- TI-2022-21648 PwnDoc through 0.5.3 might allow remote attackers to identify disabled user account names… CVSS 3.1MEDIUM 5.3
- TI-2022-21647 PwnDoc through 0.5.3 might allow remote attackers to identify valid user account names by… CVSS 3.1MEDIUM 5.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences