AnsibleForms <= 6.2.0 unauthenticated RCE: CVE-2026-73969 + CVE-2026-73968 proof of concept
# AnsibleForms ≤ 6.2.0 - Unauthenticated RCE
[AnsibleForms](https://github.com/ansibleforms/ansibleforms) is a web application that provides self-service forms for Ansible automations. Two vulnerabilities in AnsibleForms ≤ 6.2.0 chain into **unauthenticated remote code execution** on a host running the application.
| # | Advisory | CVE | Severity | CWE |
|---|----------|-----|----------|-----|
| 1 | [GHSA-g27f-cjvv-42rf](https://github.com/ansibleforms/ansibleforms/security/advisories/GHSA-g27f-cjvv-42rf) | [CVE-2026-73969](https://www.cve.org/CVERecord?id=CVE-2026-73969) | Critical (9.8) | CWE-798 |
| 2 | [GHSA-56pr-p4x6-mwm6](https://github.com/ansibleforms/ansibleforms/security/advisories/GHSA-56pr-p4x6-mwm6) | [CVE-2026-73968](https://www.cve.org/CVERecord?id=CVE-2026-73968) | High (7.2) | CWE-78 |
## Vulnerabilities
### 1. Authentication bypass via hard-coded JWT secret (Critical)
The JWT signing secret falls back to a hard-coded default when `ACCESS_TOKEN_SECRET` is not set.
The token is trusted without database re-validation, so an attacker can forge a valid admin token from the public source code.
- **File:** `server/config/auth.config.js` - hard-coded fallback secret
- **File:** `server/src/auth/auth_jwt.js` - no DB lookup on token validation
- **File:** `server/src/lib/middleware.js` - roles/options read from token claims
### 2. OS command injection in git operations (High)
Repository operations interpolate user-supplied values (`uri`, `branch`, `name`, hostname) directly into shell commands executed with `spawn(..., {shell: true})`. Shell metacharacters in any field execute arbitrary commands on the host.
- **File:** `server/src/models/repo.model.js` - unsanitized string interpolation
- **File:** `server/src/lib/cmd.js` - shell execution via spawn
## Attack chain
Vulnerabilities 1 and 2 chain together for an **unauthenticated RCE**:
```mermaid
sequenceDiagram
participant A as Attacker
participant AF as AnsibleForms
A->>AF: Forge a