{"items":[{"id":"NVI-00006503","kind":"vulnerability","title":"Dolibarr has Remote Code Execution Vulnerability (Bypass)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-49xw-hw94-fmv2"],"plain_summary":"OSV carries this publisher advisory for dolibarr/dolibarr. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-b74c3558e9f2a0cb93aaa5b4026c1089"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-b74c3558e9f2a0cb93aaa5b4026c1089","url":"https://github.com/advisories/GHSA-49xw-hw94-fmv2","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-49xw-hw94-fmv2","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.667Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-b74c3558e9f2a0cb93aaa5b4026c1089"],"technology":"dolibarr/dolibarr","known_exclusions":[],"conditions_summary":"# Summary\n\nThe Dolibarr backend provides the function of adding Menu, and supports setting permissions for the added Menu:\n\n![](https://raw.githubusercontent.com/wh0amitx/Misc/main/images/image-20240228164114688.png)\n\nThis is the trigger point of the vulnerability. The submitted permission can be php code, and it will be executed when viewing the created Menu:\n\n- htdocs/admin/menus/edit.php\n\n![](https://raw.githubusercontent.com/wh0amitx/Misc/main/images/image-20240228164445656.png)\n\nAs you can see, in edit.php, if the created menu is set to `$menu->perms`, the `dol_eval()` method will be called. Following the `dol_eval()` method, we can see that it will filter the dangerous php functions in `$menu->perms` through the blacklist set in `$forbiddenphpfunctions`:\n\n![](https://raw.githubusercontent.com/wh0amitx/Misc/main/images/image-20240228164725548.png)\n\nHowever, the blacklist here is not comprehensive. For example, the `include_once` and `require_once` functions can easily pass the blacklist check, which will cause file inclusion vulnerabilities. Moreover, if the `allow_url_include` option is enabled in php.ini, arbitrary code execution will occur. **The most serious thing is that ","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 21.0.2"]}],"null_published_at":"2026-10-31T22:13:10.060Z","source_updated_at":"2025-12-18T01:46:13.773Z","source_disclosed_at":"2025-07-21T19:29:09.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:49.667Z"}],"next_cursor":null,"snapshot_revision":"42594"}