Threat Feed

CVE-2026-73969: ansibleguy76 ansibleforms · Authentication bypass

Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-18

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.

Enclave's analysis

AnsibleForms ships a hard-coded fallback JWT signing secret that kicks in whenever the operator leaves ACCESS_TOKEN_SECRET unset, which is the out-of-the-box default in its setup template. Anyone who reads the public source gets the exact secret and can forge a JWT claiming an admin role, because the server never re-checks the token against the database. That forged token is accepted as a full admin session, and the vendor's own advisory says it chains with a separate command-injection bug for unauthenticated remote code execution. Upgrade to 6.2.1, which drops the hard-coded fallback.

Fix

Upgrade ansibleforms (ansibleguy76/ansibleforms) to 6.2.1. No fixed version is listed for ansibleforms; follow the vendor advisory.

Affected versions

ProductVulnerableFixed in
ansibleforms< 6.2.1Not listed
ansibleforms (ansibleguy76/ansibleforms)< 6.2.16.2.1

Seen in 2 sources