Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path network position (MITM)
-
DeliveryPresent forged TLS certificate to WSS client
-
ExploitCertificate validation bypass in WebSocketBaseClient.connect
-
ExecutionEstablish trusted WebSocket session
-
ImpactIntercept 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-135518
GHSA-c54m-36rj-3qr5
NVD
CVE.org
EPSS
VulDB
Exploit-DB