Skip to content
vetkitChecksChangelogDocumentation

vetkit.mongodb.network.exposed-without-auth

MongoDB listens on all interfaces (bindIp: 0.0.0.0 / bindIpAll: true) but access control is not enabled (security.authorization). Anyone who can reach the port can read and modify every database.

Last updated:

Suite: Security

regex

MongoDB listens on all interfaces (bindIp: 0.0.0.0 / bindIpAll: true) but access control is not enabled (security.authorization). Anyone who can reach the port can read and modify every database.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Enable security.authorization: enabled, create users with least privilege and bind only to the interfaces that need it.

References

Source: packages/engine/rules/sast/config.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.