AnsibleForms: OS command injection in repository git operations
- State
- Published
- Severity
- 7.2 High
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Aug 13, 2026
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.
| Product | Versions |
|---|---|
| ansibleforms ansibleguy76 | < 6.2.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.2 High | GitHub_M |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.