{"id":"CVE-2026-73968","summary":"AnsibleForms: OS command injection in repository git operations","details":"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.","aliases":["GHSA-56pr-p4x6-mwm6"],"modified":"2026-11-18T22:00:20.658047294Z","published":"2026-11-18T20:15:50.128Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73968.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73968.json"},{"type":"FIX","url":"https://github.com/ansibleforms/ansibleforms/commit/27d2064f4714c40356ac928545287548f817819d"},{"type":"FIX","url":"https://github.com/ansibleforms/ansibleforms/pull/473"},{"type":"WEB","url":"https://github.com/ansibleforms/ansibleforms/releases/tag/6.2.1"},{"type":"ADVISORY","url":"https://github.com/ansibleforms/ansibleforms/security/advisories/GHSA-56pr-p4x6-mwm6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73968"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansibleforms/ansibleforms","events":[{"introduced":"0"},{"fixed":"7a9b9668953f8135e9d345d1c9913e90977ce716"},{"fixed":"27d2064f4714c40356ac928545287548f817819d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"6.2.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"27d2064f4714c40356ac928545287548f817819d"}]},{"range":[{"fixed":"7a9b9668953f8135e9d345d1c9913e90977ce716"}],"source":"REFERENCES_TAG","original_tag":"6.2.1"}]}}],"versions":["6.2.0","6.1.5","6.1.4","6.1.3","6.1.2","6.1.1","6.1.0","6.0.2","6.0.1","6.0.0","5.0.10","5.0.9","5.0.8","5.0.7","5.0.6","5.0.5","5.0.4","5.0.3","5.0.2","5.0.1","5.0.0","4.0.19","4.0.18","4.0.17","4.0.16","4.0.15","4.0.14","4.0.13","4.0.12","4.0.11","4.0.10","4.0.9","4.0.8","4.0.7","4.0.5","4.0.3","4.0.2","4.0.1","4.0.0","3.1.1","3.1.0","3.0.9","3.0.7","3.0.6","3.0.5","3.0.4","3.0.3","3.0.2","3.0.1","3.0.0","2.2.4","2.2.3","2.2.2","2.2.1","2.2.0","2.1.6","2.1.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73968.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}