Skip to main content

ws4py EUVDEUVD-2026-135518

| CVE-2026-136695 LOW
Improper Certificate Validation (CWE-295)
2026-11-25 VulDB GHSA-c54m-36rj-3qr5
2.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain on-path network position (MITM)
  2. Delivery
    Present forged TLS certificate to WSS client
  3. Exploit
    Certificate validation bypass in WebSocketBaseClient.connect
  4. Execution
    Establish trusted WebSocket session
  5. Impact
    Intercept and tamper with WebSocket traffic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires the victim application to use ws4py's WSS (WebSocket-over-TLS) client, i.e., WebSocketBaseClient.connect establishing a secure wss:// connection, in ws4py versions up to and including 0.6.0. The attacker must hold an active man-in-the-middle / on-path position between the client and its intended server to present a forged or invalid certificate - this network-positioning requirement is what makes the attack high complexity and is the primary limiting factor. No authentication is required (PR:N) and no user interaction is needed, but clients that do not use the WSS/TLS code path, or that enforce certificate validation at another layer, are not exposed. The precise trigger within connect is not described in the available sources.

Impact

This is a medium-severity flaw (CVSS 4.0 base 6.3) that resolves to a real but conditional risk rather than an urgent emergency. The supplied CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N) indicates a network-reachable, unauthenticated issue of HIGH attack complexity with only LOW integrity impact and no confidentiality or availability impact as scored by the reporter - consistent with CWE-295 improper certificate validation in a WSS (WebSocket-over-TLS) client, which is exploitable only by an attacker already able to intercept or position on the network path. The signals are internally coherent and point to a moderate, targeted (man-in-the-middle) risk, not mass exploitation: it is NOT in CISA KEV, no EPSS probability was provided in the input, and the Decision label is 'this_month' (not act_now/emergency). The PoC signal is weak - the input provides a public PoC reference (a GitHub issue) that is not verified as working exploit code - so it should not be treated as a ready weapon. One point to verify: the reporter scored VC:N (no confidentiality impact), yet a TLS certificate-validation bypass generally enables an on-path attacker to both read and tamper with traffic; the available sources do not describe the exact trigger, so whether confidentiality is truly unaffected should be confirmed with the maintainer. Overall this is a legitimate hygiene/patching item on a normal cycle, not a high-CVSS-but-no-real-risk false alarm nor a drop-everything priority.

Exploit ScenarioDerived

An attacker positioned on the network path between a ws4py-based client and its server (e.g., shared Wi-Fi, compromised router, or rogue upstream) presents a forged or invalid TLS certificate; because WebSocketBaseClient.connect does not properly validate the certificate, the client establishes the WSS session with the attacker and the attacker can tamper with the WebSocket traffic. A public PoC reference exists (a GitHub issue), but it is not verified as working exploit code, and the attack is rated high complexity because it requires an active man-in-the-middle position.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Improper certificate validation in the ws4py WSS client through 0.6.0 can allow an on-path attacker who can present a forged or invalid TLS certificate to affect WebSocket connections made with WebSocketBaseClient.connect, with limited confidentiality and integrity impact. The attack is remote and requires no authentication or user interaction, but it is high complexity because the attacker must already occupy a man-in-the-middle position between client and server. A public PoC reference exists but is not verified as working exploit code, and there is no CISA KEV listing confirming active exploitation; the issue is rated medium severity and should be handled on a this-month priority.

RemediationAI

No vendor-released patch version is identified in the supplied data; monitor the upstream issue https://github.com/Lawouach/WebSocket-for-Python/issues/308 and the VulDB entry https://vuldb.com/vuln/443652 for a fixed release. Until then, treat ws4py's WSS client as unable to guarantee server certificate validation: avoid using WebSocketBaseClient.connect for wss:// connections to untrusted networks, or enforce certificate and hostname verification in the application layer (for example with a verified SSLContext or certificate pinning). These compensating controls add configuration and maintenance overhead, and pinning must be updated when server certificates rotate; if the WSS client path is not required, disable it. The sources do not provide a vendor workaround or fixed version, so these are defensive measures rather than a complete fix.

Affected VersionsENISA

ws4py 0.5
ws4py 0.3
ws4py 0.6.0
ws4py 0.1
ws4py 0.4
ws4py 0.2

Affected Packages

euvd ws4py no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ws4py is a Python WebSocket library; the affected component is its WSS (WebSocket-over-TLS) client, specifically WebSocketBaseClient.connect in ws4py/client/__init__.py. CWE-295 (Improper Certificate Validation) means the client can fail to properly validate the server certificate during the TLS handshake for a wss:// connection, but the available sources do not describe the precise trigger inside connect. The CPE cpe:2.3:a:lawouach:ws4py:*:*:*:*:*:*:*:* covers versions up to and including 0.6.0. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N: remote, no privileges or user interaction, high complexity because an attacker must hold an active on-path position; clients not using the WSS path or validating certificates elsewhere are not exposed. A public PoC reference exists at upstream issue 308 but is not verified as working exploit code, and active exploitation is not confirmed by KEV.

Know when Ws4Py gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.9 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.8 MEDIUM

AC:H and AV:N because a man-in-the-middle position is required; PR:N/UI:N as no auth or interaction is needed; C:L/I:L because a cert-validation bypass lets an on-path attacker read and tamper with traffic.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 25, 2026 - 16:22 NVD
MEDIUM LOW
CVSS changed
Nov 25, 2026 - 16:22 NVD
6.3 (MEDIUM) 2.9 (LOW)
CVE Published
Nov 25, 2026 - 15:30 cve.org
MEDIUM 6.3

DescriptionCVE.org

A security vulnerability has been detected in Lawouach ws4py up to 0.6.0. Affected is the function WebSocketBaseClient.connect of the file ws4py/client/__init__.py of the component Wss Client. The manipulation leads to improper certificate validation. The attack can be initiated remotely. The attack is considered to have high complexity. The exploitability is told to be difficult. The exploit has been disclosed publicly and may be used.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche, largely unmaintained Python WebSocket client library
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy