# CVE-2024-55602: PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-12-10T16:58:12.982Z
- Modified: 2026-06-17T08:11:18.300Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

PwnDoc is a penetration test report generator. Prior to commit 1d4219c596f4f518798492e48386a20c6e9a2fe6, an authenticated user who is able to update and download templates can inject path traversal (`../`) sequences into the file extension property to read arbitrary files on the system. Commit 1d4219c596f4f518798492e48386a20c6e9a2fe6 contains a patch for the issue.

(As written by CVE List.)

## Affected

- pwndoc pwndoc: < 1d4219c596f4f518798492e48386a20c6e9a2fe6
- pwndoc_project pwndoc: up to 1.2.1

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`

## References

- <https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6> (exploit, vendor-advisory)
- <https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407> (exploit, product)
- <https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6> (patch)
- <https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L103> (product)
- <https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L43-L47> (product)

## Sources

- CVE List: [CVE-2024-55602](https://www.cve.org/CVERecord?id=CVE-2024-55602), CVE Terms of Use, modified 2024-12-10
- NVD: [CVE-2024-55602](https://nvd.nist.gov/vuln/detail/CVE-2024-55602), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-55602 · Whole record: https://cve.day/CVE-2024-55602.json · Rebuilt by cve.day 2026-11-25T22:58:49.884Z
