Intel

AIKIDO-2026-326058

portless is vulnerable to Exposure of Resource to Wrong Sphere

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 20, 2026
July 20, 2026

65

CVE Score

Medium

Exposure of Resource to Wrong Sphere

Are you affected? Scan for Free

TL;DR

Portless runs a local HTTPS reverse proxy and an HTTP-to-HTTPS redirect listener that route named .localhost hostnames to local apps. Outside LAN mode, these listeners were started without an explicit bind address, so Node bound them to all network interfaces instead of loopback. As a result, the proxy and every local app registered behind it were reachable from other machines on the same LAN, VPN, or network interface even though users expected local-only access. The fix binds the proxy and redirect listeners to 127.0.0.1 and ::1 unless LAN mode is explicitly enabled.

How do I fix this?

Upgrade the portless library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.1.0 - 0.15.3

Fixed in 0.15.4

Background info

portless is vulnerable to Exposure of Resource to Wrong Sphere in versions 0.1.0 - 0.15.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea