CVE-2025-48868 Horilla vulnerable to authenticated RCE via eval() in project_bulk_archive
HighCVSS 7.2
EPSS 2.5%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
Horilla is a free and open source Human Resource Management System (HRMS). An authenticated Remote Code Execution (RCE) vulnerability exists in Horilla 1.3.0 due to the unsafe use of Python’s eval() function on a user-controlled query parameter in the project_bulk_archive view. This allows privileged users (e.g., administrators) to execute arbitrary system commands on the server. While having Django’s DEBUG=True makes exploitation visibly easier by returning command output in the HTTP response, this is not required. The vulnerability can still be exploited in DEBUG=False mode by using blind payloads such as a reverse shell, leading to full remote code execution. This issue has been patched in version 1.3.1.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| horilla-opensource horilla | = = 1.3.0 | No fix listed |
| horilla | = 1.3 | No fix listed |
References
- https://github.com/horilla-opensource/horilla/security/advisories/GHSA-h6qj-pwmx-wjhw exploit vendor-advisory
- https://github.com/horilla-opensource/horilla/commit/b0aab62b3a5fe6b7114b5c58db129b3744b4d8cc patch
- https://drive.google.com/file/d/1XQAJilt77QxkjGEa94CsZRqZIZXa3ET9/view?usp=sharing exploit
- https://drive.google.com/file/d/1hnI9AK3fnpVrTlTRF7aRJsKhZCDIm2Ve/view?usp=sharing exploit