Joomla! Core is prone to a directory traversal vulnerability because it fails to sufficiently verify user-supplied input. Exploiting this issue can allow an attacker to obtain sensitive information that could aid in further attacks. Joomla! Core versions ranging from 1.5.0 and up to and including 3.9.4 are vulnerable.
Update to Joomla! Core version 3.9.5 or latest