{"id":"CVE-2026-13150","state":"PUBLISHED","title":"SSRF in Pentestify PDF generation endpoint via Host header","description":"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.","publishedAt":"2026-06-24T10:45:17.553Z","updatedAt":"2026-06-24T11:57:56.451Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"Secur0"},"assigner":"Secur0","products":["Pentestify Pentestify"],"affected":[{"vendor":"Pentestify","product":"Pentestify","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.1.0","versionType":"custom"}],"repo":"https://github.com/ccyl13/Pentestify"}],"references":["https://github.com/ccyl13/Pentestify/commit/a058a22b42c6311895622645265df79a60265b1d"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/13xxx/CVE-2026-13150.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-13150","state":"PUBLISHED","datePublished":"2026-06-24T10:45:17.553Z","dateUpdated":"2026-06-24T11:57:56.451Z","assignerShortName":"Secur0","assignerOrgId":"4daa8cea-433a-44bd-9456-53b127fc289a","dateReserved":"2026-06-24T10:36:43.095Z"},"containers":{"cna":{"title":"SSRF in Pentestify PDF generation endpoint via Host header","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Pentestify","product":"Pentestify","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.1.0","versionType":"custom"}],"repo":"https://github.com/ccyl13/Pentestify"}],"references":[{"url":"https://github.com/ccyl13/Pentestify/commit/a058a22b42c6311895622645265df79a60265b1d","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.9,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918 Server-Side request forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"Secur0","orgId":"4daa8cea-433a-44bd-9456-53b127fc289a","dateUpdated":"2026-06-24T10:45:17.553Z"},"datePublic":"2026-06-24T10:45:00.000Z","impacts":[{"capecId":"CAPEC-300","descriptions":[{"lang":"en","value":"CAPEC-300 Port Scanning"}]}],"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pentestify:pentestify:*:*:*:*:*:*:*:*","versionStartIncluding":"0","versionEndExcluding":"1.1.0"}]}]}],"solutions":[{"lang":"en","value":"Upgrade to version 1.1.0 or higher","supportingMedia":[{"type":"text/html","base64":false,"value":"Upgrade to version 1.1.0 or higher"}]}],"credits":[{"lang":"en","value":"Dario Rivas Quero from Secur0 security team","type":"finder"},{"lang":"en","value":"Cristian Fernandez Cornejo from Secur0 security team","type":"finder"},{"lang":"en","value":"Mario Alvarez Fernandez","type":"remediation developer"},{"lang":"en","value":"Xoan M. Otero Jorge","type":"analyst"},{"lang":"en","value":"Secur0 CNA","type":"coordinator"}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-24T11:57:12.138307Z","id":"CVE-2026-13150","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-24T11:57:56.451Z"}}]}}}