---
id: CVE-2026-44439
aliases:
  - GHSA-687h-xw6f-q2qw
  - PYSEC-2026-2259
title: >-
  Playwright Capture permits access to local files and internal network
  resources during page capture
summary: >-
  Playwright Capture permits access to local files and internal network
  resources during page capture
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: playwrightcapture
product: playwrightcapture
ecosystem: pip
affected:
  - playwrightcapture < 1.39.6
patched:
  - playwrightcapture 1.39.6
published: '2026-05-06'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-687h-xw6f-q2qw'
references:
  - url: >-
      https://github.com/Lookyloo/PlaywrightCapture/security/advisories/GHSA-687h-xw6f-q2qw
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-44439'
  - url: >-
      https://github.com/Lookyloo/PlaywrightCapture/commit/49e289eba756e4fbac1322c33cfd111411562405
  - url: 'https://github.com/Lookyloo/PlaywrightCapture'
tags:
  - osv
  - pip
epss: 0.00542
epssPercentile: 0.43175
ingestedAt: '2026-07-13T18:57:53.715Z'
---

## Overview

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.

## Affected packages

- `playwrightcapture < 1.39.6`

## Remediation

Upgrade to a patched release:

- `playwrightcapture 1.39.6`
