CVE-2026-70375

Source
https://cve.org/CVERecord?id=CVE-2026-70375
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70375.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-70375
Published
2026-08-05T05:46:26.004Z
Modified
2026-08-07T03:46:09.224876394Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
HashBrown CMS: OS Command Injection via Git Deployer Branch Field
Details

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.

Database specific
{
    "cna_assigner": "TuranSec",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70375.json"
}
References

Affected packages

Git / github.com/hashbrowncms/hashbrown-cms

Affected ranges

Type
GIT
Repo
https://github.com/hashbrowncms/hashbrown-cms
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.4.6"
        },
        {
            "fixed": "1.4.6"
        }
    ]
}

Affected versions

v0.*
v0.10.0
v0.10.1
v0.10.2
v0.7.2
v0.9.0
v0.9.2
v0.9.3
v0.9.4
v0.9.5
v0.9.9
v1.*
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.2.0
v1.2.1
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v1.4.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70375.json"