MongoDB patches privilege escalation flaw in change stream system events
MongoDB has resolved a major security vulnerability, SERVER-135203, which allowed unauthorized access to sensitive system data through change streams. The flaw, affecting versions 7.0 through 9.0, permitted users with limited database privileges to read server-side JavaScript containing credentials. The fix, released in versions 8.3.16, 9.0.7, 8.0.37, and 7.0.48, filters out system collection events when the showSystemEvents option is used on database or cluster-scoped streams.