CVE-2026-70375: HashBrown CMS: OS Command Injection via Git Deployer Branch Field

Published Aug 5, 2026
·
Updated

HashBrown CMS through 1.4.6 contains an OS Command Injection vulnerability (CWE-78) in the Git deployer component. GitDeployer.pullRepo() in src/Server/Entity/Deployer/GitDeployer.js executes AppService.exec(git checkout ${this.branch || 'master'}), interpolating the configured branch value directly into a shell command with no escaping. GitDeployer.validate() only rejects a single-quote character in the repo, branch, username, and password fields; shell metacharacters such as ';', '&&', '|', backticks, and '$()' are not filtered. A user able to configure a project's Git deployer settings can set a malicious branch value (e.g. 'master;<command>#') that executes automatically on every subsequent deployer operation (media upload, content save, etc.), since pullRepo() is invoked unconditionally at the start of each such operation. This is related to CVE-2020-6948, which addressed single-quote escaping of the repo, username, and password fields in the same file's git clone invocation; the branch field used in the unquoted git checkout command was not covered by that fix and remains injectable.

Affected Software

1 affected component
HashBrown CMS HashBrown CMS<=1.4.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HashBrown CMS (Git deployer component) to a version that resolves this vulnerability.

    Fixed in 1.4.6
  2. Configuration

    Modify GitDeployer.pullRepo() so that the configured branch is properly escaped or passed to git via a non-shell invocation; do not interpolate the branch directly into a shell command without escaping.

    HashBrown CMS Git deployer (GitDeployer.js) git checkout command construction for configured branch = Sanitize/escape the branch value before using it in AppService.exec(`git checkout ${branch}`), ensuring shell metacharacters in the branch are not interpreted (e.g., reject/escape characters like ;, &&, |, backticks, and $()).

Event History

Aug 5, 2026
CVE Published
via MITRE·05:46 AM
Data Sourced
via MITRE·05:46 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-70375?

The severity of CVE-2026-70375 is rated at 76, indicating a significant security risk.

2

What is the nature of the vulnerability in CVE-2026-70375?

CVE-2026-70375 is an OS Command Injection vulnerability found in the Git deployer component of HashBrown CMS.

3

How can I mitigate CVE-2026-70375?

To mitigate CVE-2026-70375, upgrade to the latest version of HashBrown CMS that addresses this vulnerability.

4

What versions of HashBrown CMS are affected by CVE-2026-70375?

CVE-2026-70375 affects HashBrown CMS versions up to and including 1.4.6.

5

What components are involved in CVE-2026-70375?

CVE-2026-70375 involves the GitDeployer component and its pullRepo() function in HashBrown CMS.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203