Every CVE Search/ Get API key

CVE-2017-16077

mongose is malware

7.5 High

mongose was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.22%Up 0.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

mongose was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.

Record
CVE-2017-16077
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-506, CWE-200
Updated
2026-11-02
CVE List No score

mongose was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.

Record
CVE-2017-16077
Weakness
CWE-506
Updated
2026-11-02
EUVDEUVD-2018-0546 No score

mongose was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.

Record
EUVD-2018-0546
Updated
2026-11-03
GitHub AdvisoriesGHSA-894f-rw44-qrw5 7.5

mongose is malware

The mongose package is a piece of malware that steals environment variables and sends them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

As this package is malware, if you find it installed in your environment, the real security concern is determining how it got there.

If you have found this installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your registry credentials, tokens, and any other sensitive credentials that may have been present in your environment variables.

Additionally, any service which may have been exposed via credentials in your environment variables, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-894f-rw44-qrw5
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-506
Updated
2026-11-02
OSVGHSA-894f-rw44-qrw5 7.5

mongose is malware

The mongose package is a piece of malware that steals environment variables and sends them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

As this package is malware, if you find it installed in your environment, the real security concern is determining how it got there.

If you have found this installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your registry credentials, tokens, and any other sensitive credentials that may have been present in your environment variables.

Additionally, any service which may have been exposed via credentials in your environment variables, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-894f-rw44-qrw5
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-506
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mongose
npm
Source text: > 0
Not evaluated
mongose
npm
All versions None known

Not evaluated means the source gave git commits or a range we can't read, so we can't tell which releases are affected. A fixed version beside it is the source’s own claim.

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-16077 is a high vulnerability (CVSS 7.5) in Mongose Project Mongose, published June 7, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.22%, the 68th percentile. No source names a fixed version.

References

MoveEnter Open