Malicious Code Vulnerability in dotenvx-int Package

dotenvx-int Updated 19 Mar 2026

Summary

18/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1717: Malicious code in dotenvx-int (npm). Affects dotenvx-int versions 3.5.5. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The dotenvx-int package is a Node.js library designed to facilitate the loading of environment variables from .env files into the process environment. It is commonly used in JavaScript applications to manage configuration settings securely. However, this package has been identified with a serious vulnerability that allows for the execution of malicious code, potentially compromising the integrity of applications that rely on it.

Vulnerability Detail

The vulnerability in the dotenvx-int package stems from the inclusion of malicious code that can execute unauthorized actions within the application. This issue was reported by ReversingLabs and affects version 3.5.5 of the package. The malicious code can lead to data breaches, unauthorized access, and other security risks, making it critical for users to address this vulnerability promptly.

How To Fix

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

npm uninstall dotenvx-int

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, users can remove the dotenvx-int package from their project until a secure version is released. This can be done by executing the command: 'npm uninstall dotenvx-int'. Alternatively, consider using a different package that provides similar functionality without the associated risks.

Conclusion

The dotenvx-int package has a critical vulnerability that allows for the execution of malicious code, posing significant risks to applications. It is imperative for users to update to a secure version or implement workarounds to protect their systems. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for dotenvx-int →

Share this vulnerability

FAQ

The dotenvx-int package is used to load environment variables from .env files into Node.js applications, helping manage configuration settings securely.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to use the Vulert playground without signing up.

The risks include unauthorized access to sensitive data, execution of malicious commands, and potential data breaches, which can compromise the security of your application.

Yes, users are advised to update to the latest version of the dotenvx-int package to mitigate the vulnerability.

If immediate updates are not possible, consider removing the package or using an alternative solution until a secure version is available.

How To Fix

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

npm uninstall dotenvx-int

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