Skip to main content

Horilla HR CVE-2026-96795

| EUVDEUVD-2026-87370 HIGH
Code Injection (CWE-94)
2026-09-25 security-advisories@github.com
8.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Send crafted 'columns' POST to export_data
  3. Exploit
    Inject Python via literal_eval-valid payload
  4. Execution
    exec() defines malicious function
  5. Impact
    Execute OS commands as root in container

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated Horilla account with permission to reach HorillaListView.export_data (list/export functionality); the attacker submits a crafted 'columns' POST parameter whose field_tuple[1] value remains valid under ast.literal_eval while injecting Python into a default argument evaluated at function definition. No non-default configuration is needed and no user interaction is required. Exploitation is limited only by the need for authentication (PR:L); impact is amplified in the shipped horilla/horilla-hr Docker image, which runs the process as root, so commands execute with root privileges. Affects all versions prior to 2.0.0.

Impact

This is a genuine high-priority vulnerability. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes network-reachable, low-complexity code injection requiring only a low-privileged authenticated account and no user interaction, yielding full confidentiality, integrity, and availability impact via arbitrary OS command execution (CWE-94). The vector is internally consistent with the description: an authenticated user submits a crafted 'columns' POST parameter that is interpolated into Python source and passed to exec(). Exploitation status is 'no public exploit identified at time of analysis' for weaponized code - KEV is not listed and no EPSS score was provided in the input, so widespread automated exploitation cannot be asserted; however a VulDB advisory entry exists (vuldb.com/vuln/410491) alongside the GitHub Security Advisory (GHSA-5g4v-4rv4-r26f). The one factor that meaningfully raises real-world impact is deployment context: the shipped Docker image runs the application as root, so successful RCE grants root on the container. The main dampener is the PR:L requirement - an attacker needs a valid application account - which makes this most dangerous for multi-tenant or employee-facing HR deployments where low-privilege accounts are common. No signals conflict; the primary missing data are EPSS probability and a confirmed public POC.

Exploit ScenarioDerived

A low-privileged but authenticated Horilla user (e.g., a regular employee account) invokes a list export and submits a crafted 'columns' POST parameter whose field value stays valid under ast.literal_eval while injecting Python syntax into a default argument evaluated when the dynamically generated function is defined via exec(). This executes attacker-chosen OS commands with the application process's privileges - root inside the shipped Docker image. No public weaponized exploit is identified at time of analysis, though a VulDB advisory and GitHub Security Advisory document the flaw.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Authenticated code injection in Horilla HR (horilla-hr) before 2.0.0 lets any user with access to the HorillaListView export functionality run arbitrary operating-system commands with the privileges of the application process - root, in the project's shipped horilla/horilla-hr Docker image. The issue is rated CVSS v3.1 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H): exploitable remotely over the network with low privileges, requiring only a valid account able to reach the list/export endpoint, with no user interaction and no non-default configuration. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor released a fix in version 2.0.0.

RemediationAI

Upgrade to Horilla HR 2.0.0 or later; the vendor fix is confirmed in that release (patch status: Vendor-released patch: 2.0.0) - see the advisory at https://github.com/horilla/horilla-hr/security/advisories/GHSA-5g4v-4rv4-r26f and the release at https://github.com/horilla/horilla-hr/releases/tag/2.0.0, and for container deployments migrate from the deprecated horilla/horilla image to horilla/horilla-hr:2.0.0 (or newer). If immediate upgrade is not possible, the highest-value compensating control is least privilege on the process itself: because the shipped image runs as root, reconfiguring the container or service to run as a non-root user with a read-only application filesystem caps injected commands at the container user's rights (side effect: some uploads, media writes and report generation paths may need explicit writable volumes). Second, restrict who can reach the list/export functionality by removing the export permission from non-administrative roles and, where a reverse proxy is available, blocking or IP-allowlisting the export endpoints used by HorillaListView (side effect: legitimate bulk exports unavailable to those users). Third, treat the application host and container as compromised if an unpatched instance has been internet-exposed, since the injected code executes with the app process's privileges and can read database credentials and environment secrets; rotate those credentials. Avoid relying on WAF signatures for this bug, as the payload lives inside an otherwise well-formed 'columns' parameter. Note the 2.0.0 release also repins Django to ~=5.2.17 to address CVE-2025-64459 and fixes a request thread-local leak that mis-attributed created_by/modified_by, so upgrading resolves additional issues beyond this CVE.

Affected VersionsENISA

horilla-hr < 2.0.0

Affected Packages

euvd horilla_hr fix: 2.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Root cause is CWE-94 (Improper Control of Generation of Code / code injection) in a Python/Django application. HorillaListView.export_data in horilla_views/generic/cbv/views.py takes the authenticated user's 'columns' POST parameter, extracts field_tuple[1], and interpolates that value directly into a string (dynamic_fn_str) that is turned into a Python function definition and handed to exec(). Because the attacker-controlled value is placed into a position that remains syntactically valid after ast.literal_eval - specifically a default argument, which Python evaluates at function-definition time rather than at call time - the validation step does not neutralize the injected syntax, and arbitrary Python code is compiled and executed when the generated function is defined. This is a classic 'string-built-source plus exec()' pattern compounded by a flawed sanitizer that only enforces literal-evaluability; the correct approach is never to build source text from user input. The Django framework underneath is not the vulnerable component (the release notes indicate Django was separately re-pinned from Django==5.2 to Django~=5.2.17 for CVE-2025-64459), so the exposure is entirely within Horilla's own view layer. Impact is amplified in the official horilla/horilla-hr image, which runs the application as root, converting an application-level RCE into command execution as root inside the container.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable export endpoint, low-complexity injection needing only a low-privileged account (PR:L) and no interaction; RCE as root yields full C/I/A impact, scope unchanged within the process.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 25, 2026 - 23:19 EUVD
CVE Published
Sep 25, 2026 - 23:16 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-94 (Improper Control of Generation of Code).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Horilla HR deployments running versions before 2.0.0 are exposed to an authenticated code injection flaw that can let a low-privileged user execute operating-system commands with the privileges of the application process-root in the vendor's shipped Docker image. This matters to leadership because a compromised HR platform can expose sensitive employee records, disrupt payroll and HR operations, and provide a foothold for broader network compromise, although no public exploit identified at time of analysis and a vendor patch is available in version 2.0.0. Affected organizations should prioritize patching network-accessible instances and review access to the export functionality.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche open-source HR/CRM self-hosted app, limited enterprise footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy