Skip to content
Heist/ feed
Back to feed
High

PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-55602
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 04:58 UTC · Revision 1

Source evidence

PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal

core-osv · Original source

Published 10 Dec 2024, 16:58 UTC

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.

osv:CVE-2024-55602
Complete source record
{
  "id": "9f0160786160d26ea8b9e16ae708c827e2031f225e243ae0cebb681e5e8568f0",
  "url": "https://osv.dev/vulnerability/CVE-2024-55602",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal",
    "summary": "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.",
    "evidence": "osv:CVE-2024-55602",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-55602",
      "aliases": [
        "CVE-2024-55602",
        "GHSA-2mqc-gg7h-76p6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pwndoc/pwndoc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1d4219c596f4f518798492e48386a20c6e9a2fe6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pwndoc_project:pwndoc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1d4219c596f4f518798492e48386a20c6e9a2fe6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.4.0",
            "v0.5.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-55602.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.181101869Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407",
        "https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L103",
        "https://github.com/pwndoc/pwndoc/blob/2e7f5747d5688b1368e549c786ce7266fe5ab2b5/backend/src/routes/template.js#L43-L47",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55602.json",
        "https://github.com/pwndoc/pwndoc/security/advisories/GHSA-2mqc-gg7h-76p6",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-55602",
        "https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55602.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-55602",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518310,
  "published_at": "2024-12-10T16:58:12.982+00:00"
}