The issue exists due to incorrect restriction of the directory path name in the `min get slash argument` function of the `lib/configonlylib.php` component in the Moodle learning management system. This allows a remote attacker to read arbitrary files by exploiting the directory traversal vulnerability using a `..` (dot dot) in the `file` parameter.