Path Traversal in Pwndoc

CVE-2025-27413

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.012 (63.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-27413?
CVE-2025-27413 is a medium-severity vulnerability in Pwndoc, classified under Path Traversal. CVSS score: 6.5/10. Published 2025-02-28.
How severe is CVE-2025-27413?
Medium severity. CVSS v3 base score is 6.5 out of 10.