Description
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.
Severity (CVSS)
| Base score | 7.2 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ansibleguy76 | ansibleforms | < 6.2.1 [affected] |
References
- https://github.com/ansibleforms/ansibleforms/security/advisories/GHSA-56pr-p4x6-mwm6 (x_refsource_CONFIRM)
- https://github.com/ansibleforms/ansibleforms/pull/473 (x_refsource_MISC)
- https://github.com/ansibleforms/ansibleforms/commit/27d2064f4714c40356ac928545287548f817819d (x_refsource_MISC)
- https://github.com/ansibleforms/ansibleforms/releases/tag/6.2.1 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Nov 2026 08:05 UTC.