Advisory

GHSA-687h-xw6f-q2qw

Also known as: CVE-2026-44439, PYSEC-2026-2259

Summary

Playwright Capture permits access to local files and internal network resources during page capture

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-06 23:43 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

playwrightcapture

PyPI · All systems

Affected

  • introduced 0, fixed 1.39.6 (ecosystem)

Fixed versions

1.39.6

Fix

  • Fixed version 1.39.6
    pip install --upgrade playwrightcapture==1.39.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences