{"id":"UBUNTU-CVE-2026-13057","details":"An issue in the server’s Atlas Search integration allows an authenticated user to bypass per-user access controls. In sharded topologies, the $search and $searchMeta aggregation stages use internal routing that is normally populated only by the trusted router during sharded search planning. Due to insufficient input validation, an authenticated client can supply these fields directly.","modified":"2026-08-06T22:15:23.195029983Z","published":"2026-07-22T20:16:00Z","upstream":["CVE-2026-13057"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-13057"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-13057"}],"affected":[{"package":{"name":"mongodb","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/mongodb?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.4.6-0ubuntu5","1:2.4.6-0ubuntu6","1:2.4.8-1ubuntu1","1:2.4.8-2","1:2.4.9-1","1:2.4.9-1ubuntu1","1:2.4.9-1ubuntu2","1:2.4.9-1ubuntu2+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1:2.4.9-1ubuntu2+esm2","binary_name":"mongodb"},{"binary_name":"mongodb-clients","binary_version":"1:2.4.9-1ubuntu2+esm2"},{"binary_version":"1:2.4.9-1ubuntu2+esm2","binary_name":"mongodb-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13057.json"}},{"package":{"name":"mongodb","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.6.10-0ubuntu1","1:2.6.10-0ubuntu1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"mongodb","binary_version":"1:2.6.10-0ubuntu1+esm2"},{"binary_version":"1:2.6.10-0ubuntu1+esm2","binary_name":"mongodb-clients"},{"binary_version":"1:2.6.10-0ubuntu1+esm2","binary_name":"mongodb-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13057.json"}},{"package":{"name":"mongodb","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.4.7-1","1:3.4.7-1ubuntu1","1:3.4.7-1ubuntu2","1:3.4.7-1ubuntu4","1:3.4.14-3ubuntu1","1:3.4.14-3ubuntu2","1:3.6.3-0ubuntu1","1:3.6.3-0ubuntu1.1","1:3.6.3-0ubuntu1.3","1:3.6.3-0ubuntu1.4","1:3.6.3-0ubuntu1.4+esm1","1:3.6.3-0ubuntu1.4+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"mongodb","binary_version":"1:3.6.3-0ubuntu1.4+esm2"},{"binary_name":"mongodb-clients","binary_version":"1:3.6.3-0ubuntu1.4+esm2"},{"binary_version":"1:3.6.3-0ubuntu1.4+esm2","binary_name":"mongodb-server"},{"binary_version":"1:3.6.3-0ubuntu1.4+esm2","binary_name":"mongodb-server-core"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13057.json"}},{"package":{"name":"mongodb","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"mongodb","binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"},{"binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1","binary_name":"mongodb-clients"},{"binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1","binary_name":"mongodb-server"},{"binary_version":"1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1","binary_name":"mongodb-server-core"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13057.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}