Improperly implemented security check for standard in RPyC - CVE-2019-16328

 

Improperly implemented security check for standard in RPyC - CVE-2019-16328

Published: February 17, 2021 / Updated: November 9, 2026


Vulnerability identifier: #VU162700
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-16328
CWE-ID: CWE-358
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows an authenticated, low-privileged remote attacker to execute arbitrary Python code by modifying exposed methods of a custom RPyC service.

The vulnerability exists due to a missing access check in RPyC's comparison request handler when processing crafted requests that access otherwise restricted object attributes. An authenticated, low-privileged remote attacker can replace an exposed service method with an evaluation function, leaving the modified behavior accessible through subsequent connections.


Affected software

RPyC

How to mitigate CVE-2019-16328

Install security update from vendor's website.

RPyC - update to 4.1.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins