Skip to content

Instantly share code, notes, and snippets.

@alon710
Created June 3, 2026 23:10
Show Gist options
  • Select an option

  • Save alon710/f7bc5351b219485c56b8d23a92985578 to your computer and use it in GitHub Desktop.

Select an option

Save alon710/f7bc5351b219485c56b8d23a92985578 to your computer and use it in GitHub Desktop.
CVE-2026-49144: CVE-2026-49144: Unauthenticated Arbitrary File Read via Path Traversal in BrowserStack Runner - CVE Security Report

CVE-2026-49144: CVE-2026-49144: Unauthenticated Arbitrary File Read via Path Traversal in BrowserStack Runner

CVSS Score: 7.1 Published: 2026-06-03 Full Report: https://cvereports.com/reports/CVE-2026-49144

Summary

An unauthenticated path traversal vulnerability in BrowserStack Runner versions up to and including 0.9.5 allows remote or adjacent network attackers to read arbitrary files from the host system. The flaw exists within the local HTTP test server's fallback and patch file handlers, which fail to sanitize path inputs before passing them to file resolution APIs.

TL;DR

BrowserStack Runner through 0.9.5 permits unauthenticated remote file disclosure due to lack of path sanitization in its internal HTTP server handlers.

Exploit Status: POC

Technical Details

  • CWE ID: CWE-22
  • Attack Vector: Adjacent Network (AV:A)
  • CVSS v4 Score: 7.1 (High)
  • EPSS Score: 0.00024
  • Impact: Arbitrary File Disclosure
  • Exploit Status: PoC
  • KEV Status: Not Listed

Affected Systems

  • BrowserStack Runner host systems running versions <= 0.9.5
  • BrowserStack Runner: <= 0.9.5 (Fixed in: None)

Mitigation

  • Implement server-side path resolution sanitization ensuring requested files remain within intended directories.
  • Bind the local HTTP test server strictly to the loopback interface (127.0.0.1) instead of 0.0.0.0.

Remediation Steps:

  1. Inspect the local test runner setup to check if 'browserstack-runner' is being used.
  2. Integrate isSafePath validation code into lib/server.js as detailed in the technical patch section.
  3. Configure local firewalls to deny external inbound connections to test server ports (default 3000).

References


Generated by CVEReports - Automated Vulnerability Intelligence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment