The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-41513

CVE-2026-41513: Horilla HR Software CSRF Vulnerability

CVE-2026-41513 is a CSRF flaw in Horilla HR and CRM software that enables attackers to redirect users to malicious sites through unvalidated parameters. This article covers technical details, affected versions, impact, and mitigation.

Published: May 17, 2026

CVE-2026-41513 Overview

CVE-2026-41513 is an open redirect vulnerability [CWE-601] in Horilla, an open-source HR and CRM application. Version 1.5.0 contains notification endpoints that trust an unvalidated next parameter and redirect authenticated users to arbitrary external URLs. Attackers can craft links that originate from the trusted Horilla domain but terminate at attacker-controlled destinations. This enables phishing campaigns, credential harvesting, and social-engineering attacks that abuse the application's reputation. The flaw resides in the notifications view logic where the redirect target is not constrained to the application's own host.

Critical Impact

Authenticated users clicking trusted Horilla notification links can be silently redirected to attacker-controlled domains, enabling phishing and credential theft.

Affected Products

  • Horilla HR and CRM software, version 1.5.0
  • The notifications module (notifications/views.py)
  • Deployments exposing notification redirect endpoints to authenticated users

Discovery Timeline

  • 2026-05-12 - CVE-2026-41513 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-41513

Vulnerability Analysis

The vulnerability resides in Horilla's notification endpoints, which accept a next query parameter to determine where the user is sent after interacting with a notification. The application passes this parameter directly to a redirect response without validating that the target URL belongs to the same origin. Because the originating link is hosted on the legitimate Horilla instance, browser and email security indicators show the request as trusted. The classification corresponds to [CWE-601] Open Redirect, mapped to network-based exploitation requiring user interaction.

Root Cause

The notifications view consumes the next parameter from the HTTP request and issues an HTTP redirect without applying an allowlist or same-origin check. Django provides helpers such as url_has_allowed_host_and_scheme for exactly this purpose, but the affected code path omitted that validation. As a result, any value supplied in next — including absolute URLs pointing to external hosts — is honored.

Attack Vector

An attacker constructs a notification link of the form https://<horilla-host>/notifications/<endpoint>?next=https://attacker.example/login. The attacker delivers the link through email, chat, or any channel where Horilla URLs are expected. The victim, already authenticated to Horilla, clicks the link and is redirected to the attacker's site. The attacker page typically mimics the Horilla login screen to harvest credentials or distribute malware.

python
# Patch: notifications/views.py
# Source: https://github.com/horilla/horilla-hr/commit/734f0c7ed4ac96fe8615d1b592180ea8a46eb8b6
# -*- coding: utf-8 -*-
-""" Django Notifications example views """
+"""Django Notifications example views"""
from distutils.version import (  # pylint: disable=no-name-in-module,import-error
    StrictVersion,
)

The upstream commit adds host and scheme validation around the next redirect target so that only same-origin URLs are honored. Review the full diff in the GitHub commit.

Detection Methods for CVE-2026-41513

Indicators of Compromise

  • Web server access logs containing requests to notification endpoints with a next parameter pointing to external hosts (any value not matching the deployment's own FQDN).
  • HTTP 302 responses from Horilla notification routes with Location headers referencing third-party domains.
  • Inbound emails or chat messages containing Horilla URLs with suspiciously long or encoded next query strings.

Detection Strategies

  • Parse Horilla and reverse-proxy logs for requests matching /notifications/*?*next=http* where the host in next differs from the Horilla deployment host.
  • Alert on outbound user redirects from Horilla to newly registered or low-reputation domains using URL reputation feeds.
  • Hunt for clusters of authenticated users following the same external redirect target within a short time window.

Monitoring Recommendations

  • Forward Horilla application and proxy logs to a centralized analytics platform and create a detection rule on the next parameter pattern described above.
  • Monitor for credential reuse anomalies — Horilla session cookies followed shortly by failed logins from unfamiliar IP addresses.
  • Track user-reported phishing emails referencing Horilla URLs and correlate against server-side redirect logs.

How to Mitigate CVE-2026-41513

Immediate Actions Required

  • Upgrade Horilla beyond version 1.5.0 to a release that includes commit 734f0c7ed4ac96fe8615d1b592180ea8a46eb8b6 from the notifications module.
  • Restrict access to the Horilla instance to authenticated users behind SSO or VPN where feasible to reduce phishing exposure.
  • Educate HR users that legitimate Horilla notifications should never redirect them off the corporate domain.

Patch Information

The upstream fix is provided in the GitHub commit 734f0c7, referenced by GHSA-vqg4-fc32-cwvw. The patch validates the next parameter against the application's allowed hosts and scheme before issuing a redirect. Operators running Horilla 1.5.0 should apply the patched version or backport the commit if remaining on the affected branch.

Workarounds

  • Deploy a reverse-proxy rule (for example in NGINX or a WAF) that drops or rewrites requests to /notifications/* when the next parameter contains an absolute URL pointing outside the deployment host.
  • Use Django middleware to sanitize the next parameter with django.utils.http.url_has_allowed_host_and_scheme against request.get_host() and reject non-matching values.
  • Set a strict Content-Security-Policy and Referrer-Policy to limit data leakage if a redirect does occur.
bash
# Example NGINX rule to block external next= values on notification endpoints
location ~ ^/notifications/ {
    if ($arg_next ~* "^https?://(?!horilla\.example\.com)") {
        return 400;
    }
    proxy_pass http://horilla_upstream;
}

: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechHorilla

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40865: Horilla HRMS Auth Bypass Vulnerability

  • CVE-2026-40867: Horilla HRMS Auth Bypass Vulnerability

  • CVE-2026-40866: Horilla HRMS Auth Bypass Vulnerability

  • CVE-2026-3049: Horilla Open Redirect Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English