Medium, CVSS 6.6PyPIAmendedPublished
Playwright Capture permits access to local files and internal network resources during page capture
CVE-2026-44439 · GHSA-687h-xw6f-q2qw
- Affected
- PyPI playwrightcapture < 1.39.6
- Fixed in
- 1.39.6· Vendor fix available
- Issue
- 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 onlygloballookup is enabled, while still…
Recommended action: Upgrade to 1.39.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.