Cacti is an open source operational monitoring and fault management framework. An authenticated SQL injection vulnerability was discovered which allows authenticated users to perform privilege escalation and remote code execution. The vulnerability resides in the `reports_user.php` file. In `ajax_get_branches`, the `tree_id` parameter is passed to the `reports_get_branch_select` function without any validation. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Use CWE-89, Cacti vendor hub and Cacti product page to widen CVE-2023-39358 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2025-22604, CVE-2005-10004 and CVE-2025-24367 for nearby disclosures in the same product family.