CVE-2026-13150
Received Received - Intake
SSRF in Pentestify PDF Generation Endpoint

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: 4daa8cea-433a-44bd-9456-53b127fc289a

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-24
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
pentestify pentestify to 1.0.0 (exc)
ccyl13 pentestify to 1.1.0 (exc)
ccyl13 pentestify 1.1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a Server-Side Request Forgery (SSRF) found in the PDF generation endpoint of the Pentestify application version 1.0.0 and lower. It allows remote attackers to manipulate the server into making requests to arbitrary internal or external URLs by crafting the Host header. The server builds the target URL from the request's base URL without proper validation, which can be exploited to access sensitive internal resources such as cloud metadata services.

Impact Analysis

This SSRF vulnerability can allow attackers to make the server send requests to internal or external systems that are normally inaccessible to them. This can lead to unauthorized access to sensitive internal services, including cloud metadata endpoints, potentially exposing confidential information or enabling further attacks within the internal network.

Detection Guidance

This vulnerability involves Server-Side Request Forgery (SSRF) via the PDF generation endpoint GET /api/reports/{id}/pdf, where the server issues requests to arbitrary URLs based on a crafted Host header.

To detect this vulnerability on your system, you can monitor or test the behavior of the PDF generation endpoint by sending crafted requests with manipulated Host headers and observe if the server fetches external or internal URLs.

Example commands to test for SSRF might include using curl to send requests with a modified Host header to the vulnerable endpoint:

  • curl -v -H "Host: http://169.254.169.254/latest/meta-data/" https://your-target/api/reports/123/pdf
  • curl -v -H "Host: http://internal-service.local/" https://your-target/api/reports/123/pdf

Monitoring network traffic for unexpected outbound requests from the server to internal or cloud metadata IPs (e.g., 169.254.169.254) can also help detect exploitation attempts.

Mitigation Strategies

Immediate mitigation steps include applying the security fixes introduced in Pentestify version 1.1.0, which address the SSRF vulnerability.

  • Upgrade Pentestify to version 1.1.0 or later, which includes schema validation restricting client_logo and images fields to only accept data URLs, preventing arbitrary URL fetching.
  • Ensure that any imported .db files are sanitized to prevent bypassing validation.
  • Verify that frontend image src attributes are properly escaped to mitigate related XSS risks.

If upgrading immediately is not possible, consider implementing network-level restrictions to block the server from making outbound requests to internal or cloud metadata IP addresses.

Compliance Impact

The Server-Side Request Forgery (SSRF) vulnerability in 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. This could lead to unauthorized access to sensitive internal resources or data.

Such unauthorized access and potential data exposure could negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive personal and health information from unauthorized access or disclosure.

The vulnerability could therefore increase the risk of data breaches or leaks, undermining the confidentiality and integrity requirements mandated by these regulations.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13150. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart