Skip to content
Heist/ feed
Back to feed
Medium

SSRF in Pentestify PDF generation endpoint via Host header

Type: advisorySources: OSV

Server-Side Request Forgery (SSRF) (CWE-918) in the PDF generation endpoint GET /api/reports/{id}/pdf (backend/main.py) in ccyl13 Pentestify 1.0.0 and lower allows remote attackers to make the server issue requests to arbitrary internal or external URLs, including cloud metadata services, and return the rendered content in the resulting PDF via a crafted Host header, because the target URL is built from request.base_url without validation.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-13150
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 09:17 UTC · Revision 1

Source evidence

SSRF in Pentestify PDF generation endpoint via Host header

core-osv · Original source

Published 24 Jun 2026, 10:45 UTC

Server-Side Request Forgery (SSRF) (CWE-918) in the PDF generation endpoint GET /api/reports/{id}/pdf (backend/main.py) in ccyl13 Pentestify 1.0.0 and lower allows remote attackers to make the server issue requests to arbitrary internal or external URLs, including cloud metadata services, and return the rendered content in the resulting PDF via a crafted Host header, because the target URL is built from request.base_url without validation.

osv:CVE-2026-13150
Complete source record
{
  "id": "64217f8eb914b1089b7559fef04afd7512fc02201b17ff29bda5979d765f6dc5",
  "url": "https://osv.dev/vulnerability/CVE-2026-13150",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SSRF in Pentestify PDF generation endpoint via Host header",
    "summary": "Server-Side Request Forgery (SSRF) (CWE-918) in the PDF generation endpoint GET /api/reports/{id}/pdf (backend/main.py) in ccyl13 Pentestify 1.0.0 and lower allows remote attackers to make the server issue requests to arbitrary internal or external URLs, including cloud metadata services, and return the rendered content in the resulting PDF via a crafted Host header, because the target URL is built from request.base_url without validation.",
    "evidence": "osv:CVE-2026-13150",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-13150",
      "aliases": [
        "CVE-2026-13150"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ccyl13/pentestify",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a058a22b42c6311895622645265df79a60265b1d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "a058a22b42c6311895622645265df79a60265b1d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13150.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.564145215Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13150.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-13150",
        "https://github.com/ccyl13/Pentestify/commit/a058a22b42c6311895622645265df79a60265b1d",
        "https://github.com/ccyl13/Pentestify"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "Secur0",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.1.0"
                  }
                ],
                "source": "CPE_FIELD",
                "strategy": "CPEApplicability"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13150.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-13150",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518858,
  "published_at": "2026-06-24T10:45:17.553+00:00"
}