Host-level code execution via relative library search paths
Published Aug 27, 2024 · Updated May 16, 2025
Process control in MongoDB Server 5.0.0 through 5.0.13 and 6.0.0 through 6.0.2 allows local users to execute code via library loading. The Build component embeds relative RPATH entries in server binaries when dynamic builds are not selected, causing Linux's loader to search directories a local user can populate. Exploitation requires host-level access, control of a searched directory, the affected Linux installation layout, and a subsequent server start; loaded code gains full control of the server process.
Summary
What happened
Process control in MongoDB Server 5.0.0 through 5.0.13 and 6.0.0 through 6.0.2 allows local users to execute code via library loading. The Build component embeds relative RPATH entries in server binaries when dynamic builds are not selected, causing Linux's loader to search directories a local user can populate. Exploitation requires host-level access, control of a searched directory, the affected Linux installation layout, and a subsequent server start; loaded code gains full control of the server process.
The record
- CVE
- CVE-2024-8207
- Published
- Aug 27, 2024
- Updated
- May 16, 2025
- Vendor
- MongoDB
- Product
- MongoDB Server
- Classifications
- CWE-114, T1574.006
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Aug 27, 2024CVE publishedPublication date reported by the CVE source.
- May 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.0 <5.0.14
- Affected versionversion=6.0 <6.0.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo