Home / pwndoc / pwndoc / CVE-2025-27413
CVE-2025-27413: is it exploited, and which versions of pwndoc are affected and fixed?
CVE-2025-27413 is a path traversal (reading or writing files outside the intended folder) vulnerability in pwndoc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: pwndoc < 1.2.0 (CVE record by GitHub_M). Fixed in 1.2.0 (NVD). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-27413?
PwnDoc Arbitrary File Write to RCE using Path Traversal in template update from backup templates.json
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.
From the CVE record by GitHub_M, last updated March 4, 2025, 20:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pwndoc | pwndoc | < 1.2.0 |
As the CVE record by GitHub_M states it, last updated March 4, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pwndoc project | pwndoc | before 1.2.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:03 UTC.
How severe is CVE-2025-27413?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
| Medium 4.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-27413 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, March 4, 2025)
- EPSS
- 1.18% probability of exploitation activity in the next 30 days, percentile 68.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/pwndoc/pwndoc/security/advisories/GHSA-r3vj-47cf-4672 x_refsource_CONFIRM
- https://github.com/pwndoc/pwndoc/commit/68aa1ea676a91e17bfb333a27571151bd07fb21d x_refsource_MISC
- https://github.com/pwndoc/pwndoc/blob/14acb704891245bf1703ce6296d62112e85aa995/backend/src/models/template.js#L170-L175 x_refsource_MISC
- https://github.com/pwndoc/pwndoc/blob/14acb704891245bf1703ce6296d62112e85aa995/backend/src/routes/backup.js#L826-L827 x_refsource_MISC
- https://github.com/pwndoc/pwndoc/blob/14acb704891245bf1703ce6296d62112e85aa995/backend/src/routes/template.js#L63-L66 x_refsource_MISC
- https://github.com/pwndoc/pwndoc/releases/tag/v1.2.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 24, 2025
- Published
- February 28, 2025, 21:02 UTC
- CVE record updated
- March 4, 2025, 20:09 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:03 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect pwndoc?
- Feb 28, 2025CVE-2025-27410 pwndoc: path traversal
- Jan 20, 2025CVE-2025-23044 pwndoc: cross-site request forgery (CSRF)
- Dec 11, 2024CVE-2024-55652 pwndoc: template injection
- Dec 10, 2024CVE-2024-55653 pwndoc: improper input validation
- Dec 10, 2024CVE-2024-55602 pwndoc: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2025-27413
Is CVE-2025-27413 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.18% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of pwndoc are affected by CVE-2025-27413?
pwndoc < 1.2.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-27413?
1.2.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-27413?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-27413?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.