Description
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
Published: 2026-08-18
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An issue has been identified in Halo CMS version 2.25.4 that permits remote attackers to execute arbitrary code on the host system. The vulnerability arises from the restoreWorkdir() method in the MigrationServiceImpl class, which in turn relies on Spring's FileSystemUtils.copyRecursively(). When an attacker supplies crafted input to these components, the application can write and execute files outside the intended workspace. This lack of input validation and unsafe file operations enables full code execution and direct compromise of the underlying operating system.

Affected Systems

Halo CMS version 2.25.4 is affected. No other vendors or products are listed, and the integral functionality is the migration service used to restore application work directories during data import processes. Users should verify whether they deploy this specific version and whether the migration endpoint is enabled.

Risk and Exploitability

The CVSS score is not reported, and EPSS data is unavailable. Nevertheless, the exploitation path is straightforward: a remote user can invoke the vulnerable migration endpoint, supply a malicious payload, and trigger a file system operation that places arbitrary scripts on the host. Once the file is present, the application can run it under its service account, granting the attacker command execution with the application's privileges. Because the vulnerability is accessible over HTTP and does not require privileged authentication, the likelihood of exploitation is high. The vulnerability is not yet listed in the CISA KEV catalog, but the lack of mitigations in the affected release means the risk remains significant.

Generated by OpenCVE AI on August 18, 2026 at 19:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Halo CMS to a version that removes the vulnerable restoreWorkdir() implementation, such as 2.25.5 or later.
  • If an upgrade is not immediately possible, restrict the migration endpoint to trusted network segments and enforce strict authentication, ensuring only authorized administrators can trigger the migration process.
  • Patch the application by modifying the MigrationServiceImpl.restoreWorkdir() method to validate all file paths and reject any that traverse outside the intended directory; also configure FileSystemUtils.copyRecursively() to run with safe defaults and sandboxed permissions.
  • Ensure the application process runs with the least privilege and that the filesystem permissions for the workspace directory deny execution of arbitrary files.

Generated by OpenCVE AI on August 18, 2026 at 19:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Migration Service File Copy in Halo CMS 2.25.4
Weaknesses CWE-22
CWE-78

Tue, 18 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Description 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
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-18T17:29:53.648Z

Reserved: 2026-07-30T00:00:00.000Z

Link: CVE-2026-67920

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T18:19:25.360

Modified: 2026-08-18T18:19:25.360

Link: CVE-2026-67920

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T19:15:03Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')