Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-70367 EUVD-2026-52687GHSA-2x69-8qrg-27gr

Stunnel: ssrf bypass in stunnel socks proxy via ipv4-mapped ipv6 loopback and unspecified addresses allows access to loopback-only services

Published Aug 4, 2026 · Updated Nov 5, 2026 · Assigned by redhat

Description

A Server-Side Request Forgery (SSRF) bypass vulnerability exists in “stunnel” 5.79 and lower when configured in SOCKS proxy mode. This flaw allows a client to bypass intended localhost restrictions by using IPv4-mapped IPv6 addresses (e.g., “::ffff:127.0.0.1”) or unspecified addresses ("0.0.0.0", "::"), enabling access to loopback-only services on the "stunnel" host that should not be network-reachable.

Affected products

VendorProductAffectedFixed
Mobi-Com Polska Sp. z o.o. stunnel 5.25 – < 5.80 5.80
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 stunnel 3:5.80-1 —
Debian 13 stunnel4 No fix yet —
Debian 12 stunnel4 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 stunnel 5.70-150600.3.6.1 SUSE-SU-2026:4617-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 stunnel 5.74-160000.3.1 SUSE-SU-2026:24232-1
SLES 16.0 stunnel 5.74-160000.3.1 SUSE-SU-2026:24232-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed stunnel 5.80-1.1 openSUSE-SU-2026:11500-1
openSUSE Leap 16.0 stunnel 5.74-160000.3.1 openSUSE-SU-2026:22088-1
ReleasePackageFixed inAdvisory
Alpine v3.24 stunnel 5.82-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 stunnel No fix yet —

Advisories 4

References