/

CVE-2026-67921

Severity:

CRITICAL RISK

(9.3)

CSRF (CWE-352) in Halo CMS Cors/Csrf Configurer Components

CVE-2026-67921

Deferred

Vulnerability type

Category:

Cross-Site Request Forgery

CWE:

CWE-352

Impact:

Unauthorized Actions and Potential Remote Code Execution

Severity:

CRITICAL RISK

(9.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A critical Cross-Site Request Forgery (CSRF) vulnerability in Halo CMS can allow a remote attacker to cause a user's browser to submit unauthorized requests to vulnerable application components.

When a victim has an active session and a sensitive endpoint lacks effective request-forgery protections, the attacker may trigger administrative actions that could ultimately enable arbitrary code execution.

Affected context

The issue occurs in Halo CMS deployments using the affected CORS and CSRF configuration components. Risk is greatest when sensitive, state-changing endpoints can be reached through a victim's authenticated browser session without consistently enforced anti-CSRF validation, particularly for operations that modify configuration or invoke privileged functionality.

Exploit preconditions

  • Attack surface: Web-accessible Halo CMS endpoints associated with sensitive state-changing operations
  • Required access: A remote attacker generally needs to deliver or induce a request from a victim who has an active authenticated session; the exact access requirement depends on endpoint authorization
  • Trigger point: Processing of a cross-origin request by an endpoint lacking effective CSRF token, origin, or equivalent request validation
  • Why exploitation is possible: The application may accept a browser-authenticated request without reliably verifying that it was intentionally initiated by the user

Why this happens

The underlying bug class is insufficient validation of the origin and intent of state-changing HTTP requests. Under CWE-352, an application trusts browser credentials such as session cookies without requiring a request-specific proof that the action originated from the legitimate application. If a privileged operation can be reached this way, forged requests may perform unauthorized changes and, where administrative code-execution functionality is exposed, may contribute to arbitrary code execution.

Potential impact

  • An attacker may perform unauthorized actions using a victim's authenticated session
  • Administrative or configuration data could be modified
  • Security controls or user privileges could be weakened
  • Sensitive information could be changed, exposed, or deleted
  • In deployments exposing suitable privileged functionality, the attacker could achieve arbitrary code execution

General mitigation guidance

Mitigation generally focuses on making state-changing operations reject requests that lack trustworthy request-intent signals.

Common defensive patterns include:

  • Applying strong, server-side CSRF protection to all relevant state-changing methods
  • Using unpredictable, request-bound anti-CSRF tokens with secure validation
  • Enforcing appropriate SameSite cookie settings and secure cookie attributes as defense in depth
  • Validating trusted Origin or Referer signals where appropriate
  • Avoiding state changes through GET requests
  • Requiring reauthentication or additional authorization for high-impact administrative actions
  • Reducing administrative privileges and separating configuration-management permissions from routine user roles

How teams detect issues like this

Organizations can identify related weaknesses through:

  • Static analysis rules that flag state-changing handlers without CSRF middleware or token checks
  • Code review of CORS, cookie, authentication, and request-validation configuration
  • Dynamic testing that submits cross-origin requests against authenticated test sessions
  • Policy enforcement requiring anti-CSRF controls for browser-accessible mutating endpoints
  • Monitoring for unusual administrative changes, configuration updates, or requests with unexpected Origin and Referer values

Automated application security testing and code review tools can help identify inconsistent protection across endpoint groups.

Sources

SourceLink
gist.github.comgist.github.com/unpredictable21/01b053bcf8bb5a3c557df92f5c2c3c30
github.comgithub.com/halo-dev/halo

Frequently asked

questions

It can be remotely triggered when an attacker can cause an authenticated victim's browser to send a request to a vulnerable Halo CMS endpoint. Exploitability depends on the exposed endpoint and the victim's privileges.

Not necessarily. CSRF commonly abuses a victim's existing authenticated session, although the practical impact depends on which users can access the affected operations.

Apply consistent server-side CSRF validation to every browser-accessible state-changing endpoint, supported by secure cookie settings and appropriate origin checks.

Require CSRF protections in endpoint design standards, review CORS and authentication changes together, test cross-origin request behavior, and limit privileges for administrative operations.

Find out what's already
exploitable in your codebase.