Read the docs
TI-2025-20248 Aliases CVE-2025-27413

PwnDoc Arbitrary File Write to RCE using Path Traversal in template update from backup templates.json

Priority MEDIUM 64CWE-22Published · Updated

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 allows an administrator to import raw data into the database, including Path Traversal (`../`) sequences. This is problematic for the template update functionality as it uses the path from the database to write arbitrary content to, potentially overwriting source code to achieve Remote Code Execution. Any user with the `backups:create`, `backups:update` and `templates:update` permissions (only administrators by default) can write arbitrary content to anywhere on the filesystem. By overwriting source code, it is possible to achieve Remote Code Execution. Version 1.2.0 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01179 67th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed pwndoc (pwndoc): 1.2.0

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

VendorProductAffected versionsFixed inStatusSource
pwndocpwndocbefore 1.2.01.2.0Patch availableCNA
  • pwndoc Vendorpwndoc Affected before 1.2.0 Fixed in 1.2.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pwndoc_project:pwndoc:*:*:*:*:*:*:*:*before 1.2.0Vulnerablepwndoc
  • cpe:2.3:a:pwndoc_project:pwndoc:*:*:*:*:*:*:*:* Versions before 1.2.0 Vulnerable ·pwndoc

Remediation

  • Fix · CNA pwndoc (pwndoc) Fixed in 1.2.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-27413

References

  • 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-20245 PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin 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
See all 8 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences