Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

autobahn

Latest version: v26.11.2

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: meejah, oberstet, om26er
2,539 Stars
769 Forks
4 Versions
8.2M Downloads
Python Repo language

Scan summary

autobahn was last scanned on 25 Nov 2026 at version 26.11.2. Risk score 0 of 100. High-severity rules fired.

  • Releases: 4 versions; the latest was published on 25 Nov 2026.
  • Findings: 1 rule fired in version 26.11.2 (1 high). The score describes this version only.
  • Downloads: 8,152,404 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
26.11.2 LATEST 25 Nov 2026 1 rule fired
26.11.1 4 Nov 2026 1 rule fired
26.10.2 21 Oct 2026 1 rule fired
26.10.1 18 Oct 2026 Not shown

Rules fired in 26.11.2: 1

Findings

1 High

Findings for v26.11.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 26.11.2; other versions have their own rules, not their own score.

Known vulnerabilities

3 CVEs · last 26 Oct 2026

0 CRITICAL 0 HIGH 3 MEDIUM 0 LOW

Versions

  • ≥ 26.10.1
  • ≥ 26.7.1, < 26.10.1 1 MEDIUM
  • ≥ 20.12.3, < 26.7.1 1 MEDIUM
  • < 20.12.3 2 MEDIUM

Vulnerabilities

  • CVE-2026-116579 Medium 26 Oct 2026 autobahn: autobahn: Denial of Service via uncontrolled Brotli decompression Fixed in 26.10.1
  • CVE-2026-77528 Medium 18 Sep 2026 Autobahn Python is a WebSocket and WAMP implementation for Python that ... Fixed in 26.7.1
  • CVE-2020-35678 Medium 27 Dec 2020 python-autobahn: allows redirect header injection Fixed in 20.12.3

README

The publisher’s own README, as collected from the registry.

Autobahn|Python

WebSocket & WAMP for Python on Twisted and asyncio.

PyPI Python CI CI (wstest) CD (wheels) CD (wheels-arm64) CD (wheels-docker) License Downloads


Quick Links: Source Code - Documentation - WebSocket Examples - WAMP Examples Community: Forum - StackOverflow - Twitter - IRC #autobahn/chat.freenode.net Companion Projects: Autobahn|JS - Autobahn|Cpp - Autobahn|Testsuite - Crossbar.io - WAMP

Introduction

Autobahn|Python is a subproject of Autobahn and provides open-source implementations of

for Python 3.11+ and running on Twisted and asyncio.

You can use Autobahn|Python to create clients and servers in Python speaking just plain WebSocket or WAMP.

WebSocket allows bidirectional real-time messaging on the Web and beyond, while WAMP adds real-time application communication on top of WebSocket.

WAMP provides asynchronous Remote Procedure Calls and Publish & Subscribe for applications in one protocol running over WebSocket. WAMP is a routed protocol, so you need a WAMP Router to connect your Autobahn|Python based clients. We provide Crossbar.io, but there are other options as well.

Note

Autobahn|Python currently requires Python 3.11 or later. Earlier release lines supported older Python versions: up to version v19.11.2 supported Python 2 and 3.4+, up to version v20.7.1 supported Python 3.5+, and up to version v21.2.1 supported Python 3.6+.

Features


AI Policy

IMPORTANT: A Note on Upcoming Policy Changes Regarding AI-Assisted Content

Up to and including release v25.6.1, this project contains no code or documentation generated with the assistance of AI tools. This version represents the final release under our historical contribution policy. Starting with future versions (after release v25.6.1), our contribution policy will change. Subsequent releases MAY contain code or documentation created with AI assistance.

We urge all users and contributors to review our AI Policy. This document details:

  • The rules and warranties required for all future contributions.
  • The potential intellectual property implications for the project and its users.

This policy was established following an open community discussion, which you can review on [GitHub issue

1663](https://github.com/crossbario/autobahn-python/issues/1663).

We are providing this transparent notice to enable you to make an informed decision. If our new AI policy is incompatible with your own (or your organization's) development practices or risk tolerance, please take this into consideration when deciding whether to upgrade beyond version v25.6.1.

Show me some code

To give you a first impression, here are two examples. We have lot more in the repo.

WebSocket Echo Server

Here is a simple WebSocket Echo Server that will echo back any WebSocket message received:

from autobahn.twisted.websocket import WebSocketServerProtocol
# or: from autobahn.asyncio.websocket import WebSocketServerProtocol

class MyServerProtocol(WebSocketServerProtocol):

    def onConnect(self, request):
        print("Client connecting: {}".format(request.peer))

    def onOpen(self):
        print("WebSocket connection open.")

    def onMessage(self, payload, isBinary):
        if isBinary:
            print("Binary message received: {} bytes".format(len(payload)))
        else:
            print("Text message received: {}".format(payload.decode('utf8')))

        # echo back message verbatim
        self.sendMessage(payload, isBinary)

    def onClose(self, wasClean, code, reason):
        print("WebSocket connection closed: {}".format(reason))

To actually run above server protocol, you need some lines of boilerplate.

WAMP Application Component

Here is a WAMP Application Component that performs all four types of actions that WAMP provides:

  1. subscribe to a topic
  2. publish an event
  3. register a procedure
  4. call a procedure
from autobahn.twisted.wamp import ApplicationSession
# or: from autobahn.asyncio.wamp import ApplicationSession

class MyComponent(ApplicationSession):

    @inlineCallbacks
    def onJoin(self, details):

        # 1. subscribe to a topic so we receive events
        def onevent(msg):
            print("Got event: {}".format(msg))

        yield self.subscribe(onevent, 'com.myapp.hello')

        # 2. publish an event to a topic
        self.publish('com.myapp.hello', 'Hello, world!')

        # 3. register a procedure for remote calling
        def add2(x, y):
            return x + y

        self.register(add2, 'com.myapp.add2')

        # 4. call a remote procedure
        res = yield self.call('com.myapp.add2', 2, 3)
        print("Got result: {}".format(res))

Above code will work on Twisted and asyncio by changing a single line (the base class of MyComponent). To actually run above application component, you need some lines of boilerplate and a WAMP Router.

Packaging

The Autobahn|Python OSS project:

*: for commercial users, typedef int GmbH (Germany), original creator and active maintainer of Autobahn, Crossbar.io and WAMP provides production grade, optimized and supported Docker images based on RHEL 9 and Debian 12, including complete SBOM for both the base system and full Python application run-time environment based on CycloneDX v1.6 in JSON format and as a audit-level PDF/A document fulfilling strict cybersecurity requirements addressing e.g. EU CRA and BSI TR-03183.

Package Releases

Autobahn|Python publishes source distributions and pre-built wheels on PyPI and GitHub Releases. The current release line requires Python 3.11 or later and publishes wheels for CPython 3.11 through 3.14 and PyPy 3.11 across supported Linux, macOS, and Windows targets.

The recommended installation method is:

python -m pip install autobahn

Pip will choose the best matching wheel for your Python implementation, operating system, and CPU architecture. See the wheels inventory for the supported wheel matrix and NVX acceleration notes.

Extensions

Networking framework

Autobahn runs on both Twisted and asyncio. To select the respective netoworking framework, install flavor:

  • asyncio: Backwards-compatible no-op. Asyncio is included in the Python standard library for all supported Python versions.
  • twisted: Install Twisted and Twisted support in Autobahn

WebSocket Acceleration and Compression
Acceleration (Deprecated)

The accelerate optional dependency is no longer recommended. Autobahn now includes NVX (Native Vector Extensions), which provides SIMD-accelerated native code for WebSocket operations (XOR masking and UTF-8 validation) using CFFI. See the NVX section below for details.

  • accelerate: Deprecated - Use NVX instead
Compression

Autobahn supports multiple WebSocket per-message compression algorithms via the compress optional dependency:

pip install autobahn[compress]

Compression Methods Available:

Method Availability Standard Implementation Notes
permessage-deflate Always RFC 7692 Python stdlib (zlib) Standard WebSocket compression
permessage-brotli [compress] RFC 7932 brotli / brotlicffi Recommended - Best compression ratio
permessage-bzip2 Optional Non-standard Python stdlib (bz2) Requires Python built with libbz2
permessage-snappy Manual install Non-standard python-snappy Requires separate installation

Platform-Optimized Brotli Support:

Autobahn includes Brotli compression with full binary wheel coverage optimized for both CPython and PyPy:

  • CPython: Uses brotli (Google's official package, CPyExt)
  • PyPy: Uses brotlicffi (CFFI-based, optimized for PyPy)

Advantages of Brotli:

  • Superior compression ratio compared to deflate or snappy
  • Binary wheels for all major platforms (Linux x86_64/ARM64, macOS x86_64/ARM64, Windows x86_64)
  • IETF standard (RFC 7932) for HTTP compression
  • Fast decompression suitable for real-time applications
  • Widely adopted by browsers and CDNs

Resources:

Note on Snappy:

Snappy compression is available but requires manual installation of python-snappy (no binary wheels):

pip install python-snappy  # Requires libsnappy-dev system library

For most use cases, Brotli is recommended over Snappy due to better compression ratios and included binary wheels.


Encryption and WAMP authentication

Autobahn supports running over TLS (for WebSocket and all WAMP transports) as well as WAMP-cryposign authentication.

To install use this flavor:

  • encryption: Installs TLS and WAMP-cryptosign dependencies

Autobahn also supports WAMP-SCRAM authentication. To install:

  • scram: Installs WAMP-SCRAM dependencies

Native vector extensions (NVX)

> This is NOT yet complete - ALPHA!

Autobahn contains NVX, a network accelerator library that provides SIMD accelerated native vector code for WebSocket (XOR masking) and UTF-8 validation.

NVX lives in namespace autobahn.nvx and currently requires a x86-86 CPU with at least SSE2 and makes use of SSE4.1 if available. The code is written using vector instrinsics, should compile with both GCC and Clang,and interfaces with Python using CFFI, and hence runs fast on PyPy.


WAMP Serializers

The JSON, MessagePack, CBOR and FlatBuffers serializers are included by default - batteries included! UBJSON is available via the optional autobahn[serialization] extra.

Autobahn|Python ships with the following WAMP serializers:

  • JSON (standard library) - always available
  • MessagePack - high-performance binary serialization
  • CBOR - IETF standard binary serialization (RFC 8949)
  • UBJSON - Universal Binary JSON (optional: pip install autobahn[serialization])
  • Flatbuffers - Google's zero-copy serialization (vendored)
Architecture & Performance

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases autobahn

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229