AnsibleForms
AnsibleForms: OS command injection in repository git operations
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 6.2.1
Fixed in 6.2.1
Mitigation
Upgrade ansibleforms to 6.2.1 or later.
References
- Vendor advisory github.com/ansibleforms/ansibleforms/security/…
- Patch github.com/ansibleforms/ansibleforms/pull/473
- Patch github.com/ansibleforms/ansibleforms/commit/27…
1 more
- Release notes github.com/ansibleforms/ansibleforms/releases/…
Timeline
Days relative to CVE publicationFirst public PoC 8.9 days after publication; not in CISA KEV. First PoC: blaipr/ansibleforms-rce-poc (created 27 Nov 2026, found by us: 27 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| blaipr/ansibleforms-rce-poc | 27 Nov 2026 +8.9 d | 27 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.