Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privileged Halo account
-
DeliveryCraft backup archive with path-traversal entries
-
ExploitSubmit archive to migration restore API
-
ExecutionrestoreWorkdir() invokes unchecked copyRecursively()
-
PersistPath traversal writes malicious file outside work directory
-
ImpactRequest written file via HTTP to trigger code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires a valid low-privileged authenticated session - the CVSS vector PR:L confirms that some level of authentication is necessary; unauthenticated exploitation is not supported by available data. The vulnerable code path is exercised specifically through the backup restoration (migration) feature, meaning the attacker must have permission to invoke restoreWorkdir() and supply or upload a backup archive. What limits exploitation: (1) a valid Halo account is required, so instances with no self-registration and tightly controlled account provisioning face lower realistic risk; (2) the migration/restore feature must be accessible at the attacker's privilege level; (3) the Java process must have filesystem write access to an exploitable path for code execution to follow from the file write. What does not limit exploitation: no complex race condition, no non-default configuration toggle beyond the migration feature being present (which is a core Halo capability), and no user interaction from any other party. |
| Impact | The NVD CVSS 3.1 score of 8.8 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects a network-reachable, low-complexity attack requiring only a low-privileged account, with full confidentiality, integrity, and availability impact. The EPSS score of 0.29% (21st percentile) is notably low for an 8.8-rated RCE with a public POC - this divergence suggests opportunistic mass exploitation is not yet occurring, though the existence of a public gist POC materially lowers the barrier for targeted attacks against any internet-exposed Halo instance with user accounts. This CVE is not listed in CISA KEV, so confirmed active exploitation has not been officially documented. The primary real-world limiting factor is the PR:L prerequisite - an attacker must hold a valid account - meaning instances with self-registration disabled or restricted to trusted users face meaningfully lower risk than open-registration deployments. Overall this is a genuine high-priority patching item for operators running internet-facing Halo 2.25.4 with non-trivial account populations. |
| Exploit ScenarioDerived | An attacker with a low-privileged Halo account uploads a crafted backup archive whose internal entries contain path-traversal sequences such as '../../webroot/shell.jsp'. When MigrationServiceImpl.restoreWorkdir() processes the restore request and passes entries to the unchecked copyRecursively() call, the traversal paths are resolved outside the designated work directory, writing attacker-controlled content to arbitrary filesystem locations. If the written file lands in a web-accessible directory, the attacker triggers it via an HTTP request to achieve server-side code execution. A public proof-of-concept demonstrating this technique is available at https://gist.github.com/unpredictable21/f05d4b57867a2e83a5f991ff542215b2. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Remote code execution in Halo 2.25.4 is reachable by low-privileged authenticated attackers through the backup restoration workflow, exploiting CWE-73 (External Control of File Name or Path) in MigrationServiceImpl.restoreWorkdir() combined with Spring's FileSystemUtils.copyRecursively(). An attacker with a valid low-privileged account can supply a crafted backup archive containing path-traversal entries that escape the designated work directory, writing arbitrary files to the server filesystem and achieving code execution. Publicly available exploit code exists via a proof-of-concept gist, and the EPSS score of 0.29% (21st percentile) indicates limited observed exploitation at this time despite the public POC.
RemediationAI
An upstream fix is available via GitHub PR #4206 (https://github.com/halo-dev/halo/pull/4206), which replaces the unchecked Spring FileSystemUtils.copyRecursively() invocation with a path-validated custom implementation; however, a tagged release version incorporating this fix has not been independently confirmed at time of analysis - this is an upstream fix available via PR/commit, not a confirmed shipped release. Operators should monitor https://github.com/halo-dev/halo for a patched release and upgrade immediately upon availability. As compensating controls prior to patching: restrict the backup/restore migration endpoint to administrator-only access, eliminating the PR:L attack surface from lower-privileged accounts; disable self-registration if contributor-level accounts are not operationally required; and place the Halo instance behind a network perimeter or WAF that blocks unauthenticated or low-privileged access to migration-related API routes. Note that disabling self-registration does not mitigate risk from already-existing low-privileged accounts.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Halo is a Spring Boot-based open-source CMS primarily serving blog and content management use cases. The vulnerability resides in the migration subsystem - specifically MigrationServiceImpl.restoreWorkdir() - which processes uploaded backup archives by invoking org.springframework.util.FileSystemUtils.copyRecursively() to extract and place files on the server. CWE-73 (External Control of File Name or Path) identifies the root cause: archive entries with crafted relative paths (a classic Zip Slip pattern) are not validated before being resolved against the target directory, allowing traversal outside the intended work directory boundary. The upstream fix in PR #4206 (https://github.com/halo-dev/halo/pull/4206) replaces the unchecked Spring utility call with a custom FileUtils.copyRecursively() implementation that uses AntPathMatcher-based exclusion logic and explicit directory boundary enforcement. The NVD CPE is listed as n/a (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*), so affected product scope is derived from the CVE description and PR metadata confirming Halo version 2.25.4.
Know when N A 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable restore API requires low-privileged authentication; unvalidated path traversal enables arbitrary filesystem write yielding full C/I/A impact on the vulnerable system.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
An issue in Halo 2.25.4 allows a remote attacker to execute arbitrary code via the run.halo.app.migration.impl.MigrationServiceImpl.restoreWorkdir(), and org.springframework.util.FileSystemUtils.copyRecursively() components
Executive ViewAI
Halo 2.25.4 contains a critical vulnerability allowing users with standard system accounts to take complete control of your server-compromising data, operations, and potentially your entire IT infrastructure. The risk is elevated because proof-of-concept code is publicly available, making this vulnerability easier for attackers to exploit. Organizations running this version must treat this as a high-priority security incident and implement mitigations immediately.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict backup restoration access to a minimal set of trusted administrators authenticated via multi-factor authentication; implement network-layer access controls to limit which systems can initiate backup restoration requests; deploy log monitoring to alert on backup operations with path-traversal patterns (e.g., '../', '..\\'); consider disabling the backup restoration feature entirely if not actively required; develop a manual offline backup verification process independent of the application.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-61093
GHSA-jm2p-2r65-7m5c
NVD
CVE.org
EPSS
Exploit-DB