CVE-2020-15134 · GitHub_M
Missing TLS certificate verification in Faye
Faye before version 1.4.0, there is a lack of certification validation in TLS handshakes. Faye uses em-http-request and faye-websocket in the Ruby version of its client. Those libraries both use the `EM::Connection#start_tls` method in EventMachine to implement the TLS handshake whenever a `wss:` URL is used for the connection. This method does not implement certificate verification by default, meaning that it does not check that the server presents a valid and trusted TLS certificate for the expected hostname. That means that any `https:` or `wss:` connection made using these libraries is vulnerable to a man-in-the-middle attack, since it does not confirm the identity of the server it is connected to. The first request a Faye client makes is always sent via normal HTTP, but later messages may be sent via WebSocket. Therefore it is vulnerable to the same problem that these underlying libraries are, and we needed both libraries to support TLS verification before Faye could claim to do the same. Your client would still be insecure if its initial HTTPS request was verified, but later WebSocket connections were not. This is fixed in Faye v1.4.0, which enables verification by default...
Published 2020-07-31, last changed 2026-06-17. Weakness: CWE-295.
How to fix
Upgrade to a fixed version: faye 1.4.0 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in faye/faye by 60141e8d39. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2020-07-31 | Published |
| 2020-07-31 | Package advisory GHSA-3q49-h8f9-9fr9 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.86% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-3q49-h8f9-9fr9 | faye (RubyGems) | 1.4.0 |
Also known as: GHSA-3q49-h8f9-9fr9
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2020-11020 | 2020-04-29 | 9.8 | Authentication and extension bypass in Faye |
| CVE-2026-144304 | 2026-12-03 | 9.1 | Certifi: Removal of emSign root cerificate |
| CVE-2026-141471 | 2026-12-01 | 7.4 | Mongoose: Built-in TLS client accepts a server certificate after issuer signature verification fails |
| CVE-2026-61832 | 2026-11-20 | 7.5 | NukeViet CMS: PHP Object Injection to RCE in extension store via unverified HTTP response |
| CVE-2026-75522 | 2026-11-18 | 7.5 | OpenID4VP: X.509 chain validation accepts a forged certificate that reuses a trusted anchor's Subject DN without verifying its signature |
| CVE-2026-75521 | 2026-11-18 | 10 | Miren Runtime: Authentication bypass in RPC layer: unverified TLS client certificates grant cluster superuser access |
| CVE-2026-129306 | 2026-11-16 | 4.4 | libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint |
| CVE-2026-102612 | 2026-11-13 | 8.1 | BACnet Stack: BACnet/SC hub never requires a client cert, so any host joins the mesh unauthenticated |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2020-15134, or call /api/v1/vulnerabilities/CVE-2020-15134. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.