Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

A Server-Side Request Forgery (SSRF) bypass vulnerability exists in “stunnel” 5.79 and lower when configured in SOCKS proxy mode. (CVE-2026-70367)

0
Medium
Published: 08/04/2026 (08/04/2026, 15:32:22 UTC)
Source: GCVE Database

Description

A Server-Side Request Forgery (SSRF) bypass vulnerability exists in stunnel version 5.79 and earlier when configured in SOCKS proxy mode. This vulnerability allows an attacker who can reach the SOCKS proxy to bypass localhost restrictions by using IPv4-mapped IPv6 addresses or unspecified addresses, potentially accessing services bound to the local interface that should not be reachable over the network. Exploitation depends on the presence and security of such local services. The vulnerability has a CVSS score of 5.4 (medium severity).

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected software

Affected versions
<=5.79

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/04/2026, 18:12:37 UTC

Technical Analysis

CVE-2026-70367 is an SSRF bypass vulnerability in stunnel 5.79 and lower when configured with the non-default setting "protocol = socks". The flaw allows clients to circumvent intended localhost access 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. Since SOCKS proxying is a general-purpose network access facility, exploitation requires network access to the SOCKS proxy and depends on the existence of local services bound to localhost. The vulnerability is classified under CWE-918 (Server-Side Request Forgery).

Potential Impact

An attacker with access to the stunnel SOCKS proxy can bypass localhost restrictions and access services bound to the local interface of the stunnel host that are not intended to be network-reachable. This could lead to unauthorized information disclosure or limited unauthorized command execution depending on the local services exposed. The overall impact is rated as low confidentiality and integrity impact with no availability impact.

Mitigation Recommendations

If SOCKS proxying 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, enforce client authentication or network ACLs, run stunnel in isolated containers or network namespaces without other localhost services, and apply firewall rules to restrict outgoing connections from stunnel to localhost. No official patch or fix is currently confirmed; patch status is not yet confirmed — check the vendor advisory for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2x69-8qrg-27gr
Osv Schema Version
1.4.0
Aliases
["CVE-2026-70367"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a722892bf8831d53935f96f

Added to database: 08/04/2026, 17:59:46 UTC

Last enriched: 08/04/2026, 18:12:37 UTC

Last updated: 08/04/2026, 18:41:02 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses