Under certain conditions, an authenticated user request may execute with stale privileges following an intentional change by an authorized administrator. This issue affects MongoDB Server v5.0 version prior to 5.0.31, MongoDB Server v6.0 version prior to 6.0.24, MongoDB Server v7.0 version prior to 7.0.21 and MongoDB Server v8.0 version prior to 8.0.5.
{
"versions": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.31"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.24"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.21"
},
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.5"
}
]
}"2026-04-12T19:16:06Z"
[
{
"deprecated": false,
"target": {
"file": "src/mongo/unittest/death_test.cpp"
},
"id": "CVE-2025-6707-1b22917d",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/07391eabd130b66d493b22cf46cb258acd7f290f",
"signature_version": "v1",
"digest": {
"line_hashes": [
"66747486518425923489000982985828416312",
"66965966368288672247966435120034690757",
"216452294733543330044469750897653841440",
"321073959764106855778235126773976578717",
"212982771766741900162197822039487310625",
"278079999784330475196550456161237500448",
"94858199688620481836041042337777616687",
"148807512214169000249497408166764724234",
"136451342793459111323744436382072994225",
"330133628046486975141314419369345094322",
"325658352348944307183031272830281185111",
"311618813173629078580658457448270110667",
"301936308844104445279166337006487839208"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/db/repl/oplog_applier_impl.cpp"
},
"id": "CVE-2025-6707-1d55842e",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/f8000eab713d5bacf517c27007b409c4edfc629b",
"signature_version": "v1",
"digest": {
"line_hashes": [
"259138757267497787322732660740307019147",
"132000857137170557431027225526182190543",
"219296449103344026824906174079893054414",
"5720932185945374029998360576327319478"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/db/repl/oplog_applier_impl.cpp"
},
"id": "CVE-2025-6707-30d30407",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/c5423a4f25b3056ee2380ddc4e5e5fc3f5a6afc2",
"signature_version": "v1",
"digest": {
"line_hashes": [
"259138757267497787322732660740307019147",
"132000857137170557431027225526182190543",
"219296449103344026824906174079893054414",
"5720932185945374029998360576327319478"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/db/repl/oplog_applier_impl.cpp",
"function": "OplogApplierImpl::_run"
},
"id": "CVE-2025-6707-43606e85",
"signature_type": "Function",
"source": "https://github.com/mongodb/mongo/commit/f8000eab713d5bacf517c27007b409c4edfc629b",
"signature_version": "v1",
"digest": {
"function_hash": "12797393877486761701991018199080732744",
"length": 2399.0
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/bson/json.h"
},
"id": "CVE-2025-6707-437581b3",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/07391eabd130b66d493b22cf46cb258acd7f290f",
"signature_version": "v1",
"digest": {
"line_hashes": [
"55291228322113123472651093450521503599",
"180018901921691706908659934931964657311",
"26428813386726412500243738304337006991",
"66872429548502555232343484422131280617",
"27615411616634180615233341240025803872"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/db/repl/oplog_applier_impl.cpp",
"function": "OplogApplierImpl::_run"
},
"id": "CVE-2025-6707-651640f6",
"signature_type": "Function",
"source": "https://github.com/mongodb/mongo/commit/c5423a4f25b3056ee2380ddc4e5e5fc3f5a6afc2",
"signature_version": "v1",
"digest": {
"function_hash": "254642164138027264659524708034929552096",
"length": 2368.0
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/db/s/shard_server_op_observer.cpp",
"function": "ShardServerOpObserver::onCreateCollection"
},
"id": "CVE-2025-6707-98e95ab3",
"signature_type": "Function",
"source": "https://github.com/mongodb/mongo/commit/e8c5dca807cdfef1c9b3141c4c2bcd613d9700e7",
"signature_version": "v1",
"digest": {
"function_hash": "317059203157195173859428266013583839835",
"length": 959.0
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/db/s/shard_server_op_observer.cpp"
},
"id": "CVE-2025-6707-a50b1d1c",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/e8c5dca807cdfef1c9b3141c4c2bcd613d9700e7",
"signature_version": "v1",
"digest": {
"line_hashes": [
"338095024408874251521027627609623809923",
"19517780008182253857358285612128038534",
"95532667481650364120857114228697583222",
"224358683231941325215866037278555672552"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/bson/json.cpp"
},
"id": "CVE-2025-6707-b49ba713",
"signature_type": "Line",
"source": "https://github.com/mongodb/mongo/commit/07391eabd130b66d493b22cf46cb258acd7f290f",
"signature_version": "v1",
"digest": {
"line_hashes": [
"316812224940597349210802207153468412354",
"182540187870046299377185840611309772662",
"26235693254835517178998203862684720123",
"288365987673642931808837033988182548224",
"12634805768102346354597642259202202781",
"124963060713168580629168936788391930536",
"293631087943889812256072568006311929606",
"129313858920652648405295319762570784376",
"205723985492844250042200083227006731872",
"295305126718174767852394771211441977557",
"214372823518818284513240378260029913297",
"154839776255203802542823475742103318348",
"63966623324690558132458878876408542365",
"227886298463909455701668011020739809800",
"274719377545742581878851119981020161722",
"118018990569479107859615394364893193514",
"300711920207147043942293811610763238167",
"53728239849209811192533802918800223350",
"243132182210154584977178726137214177431",
"39369041185148501037962423918294899723",
"128474132530057300850619398133175026668",
"8186317940670349698100805971036852288",
"248484137817490873357539971574352476654",
"262181123974261924674842333426546494632",
"90278502623191581481154302716035029854"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/bson/json.cpp",
"function": "fromjson"
},
"id": "CVE-2025-6707-b5a853d3",
"signature_type": "Function",
"source": "https://github.com/mongodb/mongo/commit/07391eabd130b66d493b22cf46cb258acd7f290f",
"signature_version": "v1",
"digest": {
"function_hash": "222574750477560596096716589933537609235",
"length": 626.0
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/unittest/death_test.cpp",
"function": "DeathTestBase::Subprocess::monitorChild"
},
"id": "CVE-2025-6707-ce280be5",
"signature_type": "Function",
"source": "https://github.com/mongodb/mongo/commit/07391eabd130b66d493b22cf46cb258acd7f290f",
"signature_version": "v1",
"digest": {
"function_hash": "47283986914761325475926390744079264293",
"length": 1948.0
}
},
{
"deprecated": false,
"target": {
"file": "src/mongo/bson/json.cpp",
"function": "fromjson"
},
"id": "CVE-2025-6707-f6d1e7e7",
"signature_type": "Function",
"source": "https://github.com/mongodb/mongo/commit/07391eabd130b66d493b22cf46cb258acd7f290f",
"signature_version": "v1",
"digest": {
"function_hash": "336468060843055155798902538574741651238",
"length": 89.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6707.json"