{"id":"CVE-2026-70367","published":"2026-08-04T13:52:20Z","modified":"2026-11-05T22:51:54Z","title":"Stunnel: ssrf bypass in stunnel socks proxy via ipv4-mapped ipv6 loopback and unspecified addresses allows access to…","vendor":"Mobi-Com Polska Sp. z o.o.","product":"stunnel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00224,"percentile":0.13296,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-70367","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2462083","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":2.66},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"mobi-com-polska-sp-z-o-o","affectedVersions":[{"vendor":"Mobi-Com Polska Sp. z o.o.","product":"stunnel","versions":[">= 5.25, < 5.80"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]}],"workarounds":{"items":["To mitigate this issue, if SOCKS proxying functionality is not required, disable the \"protocol = socks\" configuration in \"stunnel\". If SOCKS proxying is necessary, restrict access to the SOCKS listener by binding it to a trusted management network or localhost, and enforce client authentication or network ACL controls. Run \"stunnel\" in a container or network namespace where no other services are bound to localhost, or add firewall rules to restrict outgoing connections from \"stunnel\" to localhost."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-04T14:50:26.922087Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52687","exploited":false,"provenance":"source"}}