AnsibleForms: Authentication bypass via hard-coded default JWT signing secret
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.
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.
Briefing
Written from the sources below · deepseek-v4.1-flash
AnsibleForms before 6.2.1 uses a public hard-coded fallback JWT signing secret when ACCESS_TOKEN_SECRET is unset, and tokens are trusted for roles without database revalidation. Unauthenticated attackers can forge an administrator token and gain full privileged API access.
Why it mattersCritical authentication bypass with public nuclei exploit material and low EPSS; any exposed self-hosted AnsibleForms instance with the default secret is at risk of full admin takeover.
ActionUpgrade AnsibleForms to 6.2.1 or later, or set a strong unique ACCESS_TOKEN_SECRET; check logs for forged or anomalous JWT sessions.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ansibleguy76 | <6.2.1 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket