Critical Malicious Code Vulnerability in dns-execution-test Package

dns-execution-test Updated 16 Feb 2026

Summary

15/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-910: Malicious code in dns-execution-test (PyPI). Affects dns-execution-test versions 1.1.2. No fix is published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The dns-execution-test package, available on PyPI, is designed for testing DNS execution functionalities in Python applications. However, it has been found to contain malicious code that poses a significant security risk to users. This vulnerability allows attackers to execute arbitrary commands on the victim's machine, compromising the integrity and confidentiality of the system.

Vulnerability Detail

The vulnerability originates from a malicious code snippet included in the dns-execution-test package, specifically in version 1.1.2. When the package is installed, it initiates a reverse shell connection to an attacker's server (IP: 195.177.94.161). This allows the attacker to execute any commands remotely, leading to potential data theft, system compromise, and unauthorized access to sensitive information.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall dns-execution-test

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid installing the dns-execution-test package until a patched version is released. If you must use it for testing, consider running it in a secure, isolated environment such as a virtual machine or a container to mitigate risks.

Conclusion

The dns-execution-test package contains a critical vulnerability that allows for remote command execution through a reverse shell. Users are strongly advised to uninstall the affected version and monitor their systems for any suspicious activity. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.

See every vulnerability recorded for dns-execution-test →

Share this vulnerability

FAQ

The dns-execution-test package is a Python library designed for testing DNS execution functionalities. However, it has been compromised with malicious code.

The vulnerability allows attackers to execute arbitrary commands on your machine, which can lead to data breaches and unauthorized access.

Immediately uninstall the dns-execution-test package and refrain from using it until a secure version is available.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall dns-execution-test

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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