---
id: CVE-2026-96795
title: Horilla is an HR and CRM software
summary: >-
  Horilla is an HR and CRM software. Prior to 2.0.0, HorillaListView.export_data
  in horilla_views/generic/cbv/views.py accepts an authenticated user's columns
  POST parameter, takes field_tuple[1], interpolates it into dynamic_fn_str as
  Pyt…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: horilla
product: horilla-hr
affected:
  - horilla-hr < 2.0.0
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T23:16:55.020'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96795'
references:
  - url: 'https://github.com/horilla/horilla-hr/releases/tag/2.0.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/horilla/horilla-hr/security/advisories/GHSA-5g4v-4rv4-r26f
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T23:21:16.956Z'
---

## Overview

Horilla is an HR and CRM software. Prior to 2.0.0, HorillaListView.export_data in horilla_views/generic/cbv/views.py accepts an authenticated user's columns POST parameter, takes field_tuple[1], interpolates it into dynamic_fn_str as Python source, and passes the generated function definition to exec(). A crafted string that remains valid under ast.literal_eval can inject Python syntax into a default argument evaluated during function definition, allowing arbitrary operating-system commands to execute with the application process privileges, including root privileges in the shipped Docker image. This issue is fixed in version 2.0.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
