CVE-2022-34981: PyCrowdTangle Package Code Execution Backdoor

pycrowdtangle Updated 02 Oct 2025

Summary

22/07/2022
Yes i
Unrated
Not published

CVE-2022-34981: The PyCrowdTangle package in PyPI before v0.0.1 included a code execution backdoor inserted by a third party. Affects pycrowdtangle versions >= 0.0.1, < 0.0.3. Fixed in 0.0.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The PyCrowdTangle package is a Python library available on PyPI that provides functionality for accessing the CrowdTangle API. CrowdTangle is a social media analytics tool that allows users to monitor and analyze content on various social media platforms. The PyCrowdTangle package acts as a wrapper for the CrowdTangle API, enabling developers to easily interact with the service and retrieve data for analysis. Unfortunately, the package was found to contain a code execution backdoor inserted by a third party.

Vulnerability Detail

The vulnerability in the PyCrowdTangle package allows an attacker to execute arbitrary code on a system where the package is installed. The backdoor was inserted by a malicious actor and was present in versions prior to v0.0.1. This means that any system using PyCrowdTangle before v0.0.1 is potentially vulnerable to code execution attacks. The backdoor could be exploited by an attacker to gain unauthorized access, escalate privileges, or perform other malicious activities on the affected system.

How To Fix

Minimum fixed version

0.0.3

This is the first release that contains the fix.

pip install --upgrade "pycrowdtangle==0.0.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The PyCrowdTangle package before v0.0.1 included a code execution backdoor inserted by a third party. This vulnerability could allow an attacker to execute arbitrary code on an affected system. To mitigate the risk, users are advised to upgrade to PyCrowdTangle version 0.0.3 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pycrowdtangle →

Share this vulnerability

FAQ

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. The Vulert Playground allows you to analyze your Pipfile.lock and provides real-time alerts for open-source vulnerabilities.

The code execution backdoor in the PyCrowdTangle package can allow an attacker to execute arbitrary code on an affected system. This could lead to unauthorized access, data breaches, privilege escalation, and other malicious activities.

At the time of this advisory, there are no known public exploits specifically targeting this vulnerability. However, it is important to promptly update to the latest version of PyCrowdTangle to mitigate the risk of potential attacks.

No specific workaround has been provided for this vulnerability. It is recommended to upgrade to the latest version of PyCrowdTangle to address the issue.

The maintainers of the PyCrowdTangle package are responsible for fixing this vulnerability. They have released version 0.0.3, which removes the code execution backdoor.

How To Fix

Minimum fixed version

0.0.3

This is the first release that contains the fix.

pip install --upgrade "pycrowdtangle==0.0.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback