Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with repo-management privileges
-
DeliveryCreate/edit repo with shell metacharacters in branch/uri/name/host
-
ExploitBackground clone/pull interpolates value into shell command
-
ExecutionInjected commands execute as AnsibleForms process
-
ImpactRemote code execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated AnsibleForms account with repository/settings-management privileges (CVSS PR:H). The attacker must be able to create or update a repository and inject shell metacharacters into one of the repository uri, branch, name, or host values, which are interpolated unescaped into git and ssh-keyscan command strings in server/src/models/repo.model.js and executed via server/src/lib/cmd.js (executeSilentCommand/exec with shell interpretation enabled). The subsequent background clone/pull (or the addKnownHosts path, a separate independent injection point) triggers execution. Limiting factors: the privilege requirement (repository management) is the primary constraint and means this is not exploitable by unprivileged or unauthenticated users in isolation; however, the vendor states this precondition is removed when chained with a separate forged-admin-token advisory, enabling unauthenticated RCE. Affects AnsibleForms <= 6.2.0; updating to 6.2.1 is the fix. |
| Impact | This is a genuine but conditionally-gated OS command injection (CWE-78). The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U) scores 7.2 HIGH, and the PR:H is the decisive moderating signal: exploitation requires an account that already holds repository/settings-management privileges in AnsibleForms, so this is an authenticated, trusted-user abuse rather than a drive-by remote flaw. Confidentiality, integrity and availability are all High because successful injection yields arbitrary command execution as the application process. No EPSS score is present in the input and the vulnerability is NOT in CISA KEV, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a real-but-not-urgent priority. One important caveat the vendor advisory itself raises: when chained with a separate forged-admin-token advisory (Advisory 1), the privilege precondition disappears (effective PR:N) and scope escapes to the host (S:C), raising the effective score to ~9.1 - so the standalone 7.2 understates the risk in a chained scenario. The mechanism is well-documented in the GHSA advisory and the fixing commit, giving high confidence in the technical details, but the signals point to targeted abuse by privileged users rather than mass exploitation. |
| Exploit ScenarioDerived | An authenticated user holding repository-management privileges creates or edits a repository and places shell metacharacters (e.g. ';', '$(...)', backticks) in the branch, uri, name, or host field. The subsequent background git clone/pull or ssh-keyscan interpolates the value into a shell-executed command string, running the injected commands as the AnsibleForms process. A proof-of-concept mechanism is described in the vendor advisory but is explicitly not weaponized; it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
OS command injection (CWE-78) in AnsibleForms 6.2.0 and earlier lets an account holding repository or settings-management privileges run arbitrary commands on the server host as the AnsibleForms application process. Repository uri, branch, name and host values are interpolated unescaped into git clone and ssh-keyscan command strings that are executed with shell interpretation enabled, so creating or updating a repository (or reaching the separate addKnownHosts path) is enough to trigger execution. The standalone CVSS score is 7.2 because the repository-management privilege is required; the vendor notes that chaining this with a separate forged-admin-token advisory removes that precondition and enables unauthenticated remote code execution with scope change to the host OS (effective score ~9.1). AnsibleForms 6.2.1 is the fixed release; no KEV entry, EPSS score, or confirmed working exploit code was supplied for this CVE, and priority is assessed as this_week.
RemediationAI
Vendor-released patch: upgrade AnsibleForms to version 6.2.1, the release that ships allow-list validation for repository name, branch, URI and hostname plus shell-quoting of host values (release notes at https://github.com/ansibleforms/ansibleforms/releases/tag/6.2.1, fix PR https://github.com/ansibleforms/ansibleforms/pull/473, commit 27d2064f4714c40356ac928545287548f817819d). Because the vendor links the upstream fix to PR #458 on the development branch as well, confirm which commit your deployed build contains before treating an installation as fixed. Until upgrading, the only mitigation the evidence supports is reducing exposure to the prerequisite: restrict repository and settings-management privileges to a minimal set of trusted administrators, and treat the forged-admin-token advisory referenced by the vendor as part of the same exposure, since chaining it removes the authentication precondition and yields unauthenticated RCE. Both injection points must be considered - the repository create/update clone/pull flow and Repo.addKnownHosts - so limiting who can create or edit repositories, and who can trigger known-hosts updates, is the actionable compensating control; the evidence does not describe any input-filtering workaround that fully closes the flaw, and the fixed code confirms validation and argument-array execution are the complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AnsibleForms is a Node.js self-hosted web application, distributed as npm package ansibleforms (CPE cpe:2.3:a:ansibleguy76:ansibleforms, versions up to and including 6.2.0), that fronts Ansible automation as self-service forms. The vulnerable code sits in server/src/models/repo.model.js, which assembles shell command strings by string interpolation of repository configuration fields - for example ${gitCloneCommand} -b ${branch} --verbose ${uri} ${name} and ssh-keyscan ${host} >> ~/.ssh/known_hosts ; ${cmd} - with no quoting or escaping. Those strings are handed to server/src/lib/cmd.js, where executeSilentCommand splits the string and invokes spawn(..., { shell: true }); because a shell interprets the result, metacharacters such as ;, $(...), backticks, && and | embedded in branch, uri, name or the host derived from the uri are executed. A background clone/pull on repository create or update is the primary trigger, and Repo.addKnownHosts around repo.model.js:122 is documented as a second, independent injection point passing user-derived host values to exec() unescaped. The fixed commit (27d2064f) responds by adding strict allow-list validation on name, branch, URI and hostname (regex checks, rejection of '..' and of shell metacharacters in URIs), shell-quoting host values, and routing execution through a new Cmd.runCommand wrapper; the advisory additionally recommends avoiding shell: true and passing arguments as an array instead of a command string. The root-cause class is CWE-78 OS command injection, and the injection is unauthenticated only in the vendor-described chained scenario - in isolation the assessed vector is CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, reflecting high confidentiality, integrity and availability impact within the application's security scope.
Know when Ansibleforms 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:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable web app (AV:N) with no special timing (AC:L); exploitation requires repository-management privileges (PR:H); injection yields full command execution as the app process (C/I/A:H), scope unchanged standalone (S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
AnsibleForms is a self-hosted web application that turns automation into self-service forms. Prior to 6.2.1, AnsibleForms allows a user with repository management privileges to inject shell syntax through repository uri, branch, name, or host values processed by server/src/models/repo.model.js. The Repo.clone and Repo.addKnownHosts paths interpolate these values into git and ssh-keyscan command strings, and server/src/lib/cmd.js executes the strings through Cmd.executeSilentCommand with shell interpretation enabled. Creating or updating a repository can therefore execute arbitrary commands as the AnsibleForms application process. This issue is fixed in version 6.2.1.
Technical POC Analysis
CWE-78 (OS command injection) in AnsibleForms' own application code, not in a third-party library.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
AnsibleForms, our automation management platform, contains an OS command injection flaw (CVE-2026-73968) in versions 6.2.0 and earlier that permits users with repository or settings-management privileges to execute arbitrary commands on the underlying host. While exploitation currently requires elevated application privileges, the vendor cautions that chaining with a separate forged-admin-token issue could enable unauthenticated remote code execution, making this a priority remediation item for teams operating AnsibleForms in shared or internet-exposed environments.
Vendor-released patch: 6.2.1
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Ansibleforms
View allUnauthenticated authentication bypass in AnsibleForms 6.2.0 and earlier lets a remote attacker forge an administrator JW
Stored cross-site scripting in AnsibleForms 6.2.0 and earlier lets any authenticated user plant executable script in per
EUVD-2026-129183
NVD
CVE.org
EPSS
GitHub
Exploit-DB