{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "edf0a1d18cec6b3d83437ce0ba93950973615e82"
            }
          ],
          "repo": "https://github.com/horilla/horilla-hr",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5g4v-4rv4-r26f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96795.json"
  },
  "details": "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.",
  "id": "CVE-2026-96795",
  "modified": "2026-09-27T03:30:55.952052938Z",
  "published": "2026-09-25T22:17:04.855Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/horilla/horilla-hr/releases/tag/2.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96795.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/horilla/horilla-hr/security/advisories/GHSA-5g4v-4rv4-r26f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-96795"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Horilla: Authenticated RCE in Horilla List-View Export"
}