AnsibleForms auth bypass in JWT verification with fallback secret
ansibleguy76 ansibleforms
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ansibleguy76 ansibleforms |
| No fix yet |
Original description
AnsibleForms is a self-hosted web application that turns automation into self-service forms. Prior to 6.2.1, AnsibleForms uses a public hard-coded fallback JWT signing secret from server/config/auth.config.js when ACCESS_TOKEN_SECRET is unset. An unauthenticated attacker can sign a self-contained token with privileged claims because server/src/auth/auth_jwt.js verifies the signature without reloading the user from the database, and server/src/lib/middleware.js trusts the token's roles and options for authorization. A forged token can therefore be accepted as an administrator session, resulting in authentication bypass and full privileged API access. This issue is fixed in version 6.2.1.
From the CVE record · GitHub_M
References
- github.com/ansibleforms/ansibleforms/security/advisories/GHSA-g27f-cjvv-42rf
- github.com/ansibleforms/ansibleforms/pull/473
- github.com/ansibleforms/ansibleforms/commit/a9b4979165c4730b2abe1dbcfd053b4d3f9a5594
- github.com/ansibleforms/ansibleforms/releases/tag/6.2.1
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73969.json
- nvd.nist.gov/vuln/detail/CVE-2026-73969