BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-22466 in Tokio

Medium 5.4

Tokio is a runtime for writing applications with Rust. Starting with version 1.7.0 and prior to versions 1.18.4, 1.20.3, and 1.23.1, when configuring a Windows named pipe server, setting `pipe_mode` will reset `reject_remote_clients` to `false`. If the application has previously configured `reject_remote_clients` to...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.4
EPSS0.7%
EPSS percentile51th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Tokio Tokio ≥ 1.7.0, < 1.18.4 ≥ 1.19.0, < 1.20.3 ≥ 1.21.0, < 1.23.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Tokio is a runtime for writing applications with Rust. Starting with version 1.7.0 and prior to versions 1.18.4, 1.20.3, and 1.23.1, when configuring a Windows named pipe server, setting `pipe_mode` will reset `reject_remote_clients` to `false`. If the application has previously configured `reject_remote_clients` to `true`, this effectively undoes the configuration. Remote clients may only access the named pipe if the named pipe's associated path is accessible via a publicly shared folder (SMB). Versions 1.23.1, 1.20.3, and 1.18.4 have been patched. The fix will also be present in all releases starting from version 1.24.0. Named pipes were introduced to Tokio in version 1.7.0, so releases older than 1.7.0 are not affected. As a workaround, ensure that `pipe_mode` is set first after initializing a `ServerOptions`.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-22466
BreachSpider IDBS-2023-GLOBAL-063061-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Published2023-01-04
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-665: CWE-665

Related attack patterns (CAPEC)

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-665

CAPEC-26 Leveraging Race Conditions via CWE-665

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2023-22466 affects Tokio versions 1.7.0 to 1.18.3, 1.20.2, and 1.23.0, where setting `pipe_mode` resets `reject_remote_clients` to `false`, potentially allowing remote clients to access the named pipe server.

An attacker can exploit this vulnerability by connecting to the named pipe server, which may have been intended to reject remote connections. This can lead to unauthorized access to the server's functionality or data.

Questions

What is CVE-2023-22466?

CVE-2023-22466 affects Tokio versions 1.7.0 to 1.18.3, 1.20.2, and 1.23.0, where setting `pipe_mode` resets `reject_remote_clients` to `false`, potentially allowing remote clients to access the named pipe server.

What is the CVSS score for CVE-2023-22466?

CVE-2023-22466 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.7%.

Is CVE-2023-22466 actively exploited?

No confirmed active exploitation of CVE-2023-22466 as of 2026-09-25.

How do I remediate CVE-2023-22466?

Priority: MEDIUM.

What systems are affected by CVE-2023-22466?

CVE-2023-22466 affects Tokio Tokio.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Tokio","product":"Tokio","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.