Playwright Capture CVE-2026-44439
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconSubmit attacker-controlled URL to capture API
-
DeliveryPlaywright loads HTML page in browser
-
ExploitPage JavaScript redirects to file:// or 127.0.0.1
-
InstallBrowser follows redirect
-
C2Internal resource/file fetched
-
ExecuteResponse embedded in screenshot or log
-
ImpactCapture output leaked via API response or artifact storage
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 vulnerability requires that the Playwright Capture instance be configured to process attacker-controlled or user-supplied URLs without prior validation. Exploitation is not restricted by default configurations-the default only_global_lookup=True parameter in version 1.39.6+ prevents exploitation, but pre-1.39.6 versions have no such protection. The attacker must be able to submit a URL to the capture process (e.g., via an API endpoint, form submission, or task queue), and the page at that URL must be capable of executing JavaScript redirects (which is true for all modern HTML pages). No special browser extensions, authentication credentials, or non-standard network access is required. The attacker's JavaScript need only reference file:// URLs or private IP addresses; the Playwright browser engine will attempt to load them. Exploitation succeeds if capture artifacts (screenshots, saved HTML, logs) are subsequently accessed by the attacker or are exposed through information disclosure. |
| Impact | This vulnerability presents significant real-world risk in deployments that process untrusted URLs. Although CVSS vector data is unavailable, the attack vector is clearly network-based (AV:N) with likely no authentication requirements (PR:N), low complexity (AC:L), and user interaction not needed (UI:N), suggesting a base CVSS in the 7-8 range. The underlying SSRF pattern (CWE-918) is well-established and reliably exploitable. The vulnerability impacts confidentiality (file access, internal service responses) and potentially availability (if internal service interactions trigger denial-of-service). No public exploit code or active exploitation has been confirmed at time of analysis, but the attack is straightforward: craft an HTML page with JavaScript redirects to file:// or internal IPs and submit it as a capture URL. Deployments using the default configuration (only_global_lookup=True) are protected by the patched version, but legacy installations running pre-1.39.6 versions remain vulnerable. Organizations processing user-supplied URLs for archival or compliance purposes face the highest risk. The absence of EPSS and KEV data suggests this is not yet widely weaponized, but the attack primitives are trivial. |
| Exploit ScenarioDerived | An attacker submits a crafted HTML page containing JavaScript that redirects the browser via window.location.href to http://localhost:8080/admin or file:///etc/passwd for capture. The vulnerable Playwright Capture instance follows the redirect, retrieves the response from the internal service or file, and embeds it in the resulting screenshot or saved page HTML. If capture logs or outputs are accessible via a web interface or email, the attacker can exfiltrate internal service banners, configuration details, or local file contents. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
Server-side request forgery in Playwright Capture before version 1.39.6 allows remote attackers to access local files and internal network resources through browser-side redirection mechanisms when processing untrusted URLs. An attacker-controlled page can abuse window.location.href and similar navigation primitives to redirect the capture process to file:// URLs or private IP addresses, potentially leaking responses through screenshots, saved content, or logs. The vulnerability is mitigated by request routing checks introduced in version 1.39.6 that block secondary requests to local files, non-global IP addresses, and .local domains.
RemediationAI
Upgrade Playwright Capture to version 1.39.6 or later, which includes request routing checks that block secondary requests to local files and non-public IP addresses. The patched version is available from the official PyPI repository and can be installed via pip install --upgrade playwrightcapture==1.39.6 or later. For deployments unable to upgrade immediately, explicitly set only_global_lookup=True when instantiating the Capture class (this is the default in 1.39.6+), and restrict the URLs submitted for capture to a whitelist of trusted domains. Additionally, review capture artifact handling: disable or restrict logging of HTTP responses and headers, limit access to screenshots and saved page content, and ensure capture outputs are not served to untrusted users without sanitization. If legacy versions must remain in place, implement network-level controls such as blocking outbound requests from the capture process to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8) and disable file:// protocol support at the system level via AppArmor or SELinux policies. These mitigations reduce but do not eliminate risk; upgrading is strongly recommended.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Playwright Capture is a Python-based web page capture tool built on the Playwright browser automation framework (CPE: pkg:pip/playwrightcapture). The vulnerability stems from insufficient validation of secondary navigations and resource requests initiated by rendered pages. Playwright's request interception and routing mechanisms do not by default restrict where rendered JavaScript code can redirect the browser. The vulnerability exploits CWE-918 (Server-Side Request Forgery), where attacker-controlled page content manipulates the capture environment into making unwanted requests. The patch implements route handlers that intercept all requests and validate IP addresses (using Python's ipaddress library), hostnames (using pyfaup for URL parsing), and request origins. The fix introduces an only_global_lookup parameter (default True) that enables filtering of file:// schemes and non-global IP addresses (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 169.254.0.0/16, etc.) while allowing the originally requested URL to proceed unimpeded.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Primary rating from Vendor (https://github.com/Lookyloo/PlaywrightCapture) · only source for this CVE.
CVSS VectorVendor: https://github.com/Lookyloo/PlaywrightCapture
Lifecycle Timeline
2DescriptionCVE.org
Playwright Capture did not sufficiently restrict navigations and resource requests initiated by rendered pages. An attacker-controlled page could abuse browser-side redirection mechanisms, such as window.location.href, to make the capture process open file:// URLs or request resources hosted on private, loopback, link-local, or otherwise non-public IP addresses. In deployments where PlaywrightCapture processes untrusted URLs, this could allow a remote attacker to perform server-side request forgery against internal services or attempt to access local files from the capture environment. Depending on what capture artifacts are generated and exposed, responses from those resources could potentially be leaked through screenshots, saved page content, logs, or other capture outputs. The patch mitigates the issue by introducing request routing checks that block secondary requests to local files, non-global IP addresses, and .local domains when only_global_lookup is enabled, while still allowing the originally requested capture URL.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
GHSA-687h-xw6f-q2qw
NVD
CVE.org
EPSS
VulDB
Exploit-DB