AnsibleForms: Authentication bypass via hard-coded default JWT signing secret

State
Published
Severity
9.8 Critical
Published
Nov 18, 2026
Updated
Nov 19, 2026
Reserved
Aug 13, 2026

Read the record on cve.org

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.

ProductVersions
ansibleforms ansibleguy76< 6.2.1 Affected

Weaknesses

  • CWE-287 Improper Authentication
  • CWE-798 Use of Hard-coded Credentials
  • CWE-1188 Initialization of a Resource with an Insecure Default

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.