Is dotenv safe? Known vulnerabilities by version

dotenv is a JavaScript package on npm. We track 3 of its versions, and none has a known vulnerability.

Latest version without known advisories: 17.4.2

The newest stable version we track with no known advisory, as of 22 November 2026. A newer release may exist on npm.

Vulnerabilities by version

VersionKnown vulnerabilitiesHighest severityLicence
17.4.2 0 None BSD-2-Clause
17.3.1 0 None BSD-2-Clause
16.6.1 0 None BSD-2-Clause

Licence

Every version we track declares BSD-2-Clause (from deps.dev).

Check your whole project

dotenv is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.

Get emailed about new advisories for dotenv (free, no account)

About this data

Vulnerability data: OSV.dev, last checked 22 November 2026. Licences: deps.dev. These pages list the versions AIssue checks every day for the projects it monitors, not every version ever released.