Skip to main content

Pentestify CVE-2026-13150

| EUVDEUVD-2026-38735 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-06-24 4daa8cea-433a-44bd-9456-53b127fc289a GHSA-jmg8-x6hq-972w
6.9
CVSS 4.0 · Vendor: 4daa8cea-433a-44bd-9456-53b127fc289a
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send GET /api/reports/{id}/pdf with crafted Host header
  2. Delivery
    Backend derives render base URL from request.base_url
  3. Exploit
    PDF renderer fetches content from attacker-specified target URL
  4. Execution
    Internal service or cloud metadata response rendered into PDF
  5. Impact
    Attacker receives HTTP response containing exfiltrated internal data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The GET /api/reports/{id}/pdf endpoint must be network-reachable by the attacker. The CVSS 4.0 vector asserts PR:N (no authentication required), but this is not independently confirmed by code inspection in the provided diff - the endpoint may be protected by separate authentication middleware not visible in the patch; defenders should verify whether the endpoint is accessible without a valid session token. The core condition is that the application uses request.base_url (reflecting the HTTP Host header verbatim) to build PDF render URLs without Host validation - this condition exists in all Pentestify releases through 1.0.0. Exploitation is bounded to confidentiality impact on subsequent systems (internal services or metadata endpoints reachable from the server's network position); no integrity or availability impact is indicated by the CVSS vector. Realistic impact is elevated in cloud-hosted deployments due to metadata service exposure, and reduced in air-gapped or on-premises environments without sensitive internal HTTP services.

Impact

The CVSS 4.0 base score of 6.9 reflects a network-accessible (AV:N), low-complexity (AC:L) SSRF with no privileges required (PR:N) and no user interaction (UI:N), with subsequent confidentiality impact rated Low (SC:L) and no integrity or availability impact. The low subsequent-system impact rating is appropriate for a read-only SSRF, but real-world impact is deployment-context-dependent: in AWS, GCP, or Azure environments, SSRF against the Instance Metadata Service can yield IAM role credentials, substantially exceeding what SC:L implies. No CISA KEV listing, no EPSS data, and no public exploit code are present in the source data, making this a low-urgency finding absent cloud deployment context. The product's niche footprint (single-developer pentest tool) further limits aggregate exposure. One signal conflict to note: the CVSS 4.0 asserts PR:N (unauthenticated), but a pentest report management tool would typically gate its API behind authentication - if the PDF endpoint is in practice authenticated, actual exploitability is lower than the vector implies and should be verified against the application's auth middleware.

Exploit ScenarioDerived

An attacker sends GET /api/reports/1/pdf to a publicly exposed Pentestify instance with the HTTP Host header set to 169.254.169.254. The backend constructs the PDF render base URL from request.base_url, yielding http://169.254.169.254/, and the PDF renderer fetches the AWS IMDS root endpoint. The resulting PDF returned in the HTTP response body contains the metadata service output, which can include IAM role names that the attacker queries in follow-up requests to retrieve temporary AWS credentials.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Server-Side Request Forgery in Pentestify 1.0.0's PDF generation endpoint enables remote attackers (PR:N per CVSS 4.0 vector) to coerce the server into issuing outbound HTTP requests to arbitrary internal or external targets, including cloud metadata services such as the AWS Instance Metadata Service at 169.254.169.254, by supplying a crafted HTTP Host header. The rendered PDF is returned to the caller, potentially leaking internal service responses or IAM role credentials. No public exploit code has been identified and no CISA KEV listing exists at time of analysis; the vulnerability is patched in version 1.1.0.

RemediationAI

Upgrade to Pentestify 1.1.0, which introduces Pydantic field validators in schemas.py enforcing that client_logo and images fields accept only base64 data URIs (matching the pattern data:image/<type>;base64,<data>), preventing remote URL embedding during PDF rendering. The patch commit is at https://github.com/ccyl13/Pentestify/commit/a058a22b42c6311895622645265df79a60265b1d. If immediate upgrade is not feasible, restrict network access to the /api/reports/{id}/pdf endpoint via a reverse proxy or WAF configured to reject requests with non-canonical Host header values. Additionally, apply egress firewall rules on the application server to block outbound connections to cloud metadata IP ranges (169.254.169.254 for AWS IMDS, 100.100.100.200 for Alibaba Cloud IMDS) - note this does not prevent SSRF against other internal network services and has no side effects on external PDF rendering if data URIs are used exclusively. Validating the Host header against an explicit allowlist at the application layer is the preferred long-term control.

Affected VersionsENISA

Pentestify 0 <1.1.0

Affected Packages

euvd pentestify fix: 1.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Pentestify is a Python-based penetration testing report management application developed by ccyl13. The vulnerable code path is in backend/main.py at the GET /api/reports/{id}/pdf endpoint, where the application constructs the PDF render target URL using Flask/FastAPI's request.base_url - a value derived directly from the HTTP Host header - without any validation or allowlisting. A PDF rendering library (likely WeasyPrint or a headless browser) then fetches resources relative to this attacker-controlled base URL, causing the server to make outbound requests to arbitrary targets. CWE-918 (Server-Side Request Forgery) precisely describes this class of flaw: untrusted user-controlled input (the Host header) is used to construct a URL that the server fetches on behalf of the user. The v1.1.0 fix addresses a related attack surface by adding Pydantic field validators in schemas.py that restrict client_logo and images fields to base64 data URIs via a strict regex (_DATA_IMAGE_RE), preventing remote URL embedding in PDF-rendered HTML content. The frontend also gained HTML escaping for image src attributes in js/app.js. No CPE string is provided in the source data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (4daa8cea-433a-44bd-9456-53b127fc289a) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.8 MEDIUM

Host header SSRF is network-exploitable with no auth per CVSS 4.0 PR:N; scope changes as server contacts external systems; only low confidentiality impact on subsequent systems, no integrity or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (4daa8cea-433a-44bd-9456-53b127fc289a).

CVSS VectorVendor: 4daa8cea-433a-44bd-9456-53b127fc289a

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 12:16 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Rare
niche single-developer pentest reporting tool, minimal enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy