An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled environment. References: https://jira.mongodb.org/browse/SERVER-59071
Upstream commits: 5.1.0-rc0: https://github.com/mongodb/mongo/commit/f3604b901d688c194de5e430c7fbab060c9dc8e0 5.0.3: https://github.com/mongodb/mongo/commit/a5e2f9b0a236462a6d1ca129583c617f111367b4