Critical · 9.8 Critical vulnerabilities CVE-2026-73969
AnsibleForms: Hard-Coded JWT Secret Allows Full Authentication Bypass (CVE-2026-73969)
AnsibleForms prior to version 6.2.1 ships with a public hard-coded fallback JWT signing secret used when ACCESS_TOKEN_SECRET is not set. Attackers can forge tokens with administrator privileges and gain full access to the application without authenticating.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been disclosed in AnsibleForms, a self-hosted web application that turns automation playbooks into self-service forms. The issue, tracked as CVE-2026-73969, allows an unauthenticated attacker to forge authentication tokens that are accepted as valid administrator sessions, resulting in complete authentication bypass and privileged API access. The vulnerability is fixed in version 6.2.1.
What happened
AnsibleForms was found to use a public, hard-coded fallback secret for signing JSON Web Tokens (JWTs) whenever the ACCESS_TOKEN_SECRET environment variable is not configured. Because this fallback value is known, an unauthenticated attacker can construct and sign their own token containing privileged claims, such as administrator roles, and have it accepted by the application as a legitimate session.
Technical cause
The root cause is twofold. First, server/config/auth.config.js contains a public hard-coded JWT signing secret that is used as a fallback when ACCESS_TOKEN_SECRET is unset. Second, server/src/auth/auth_jwt.js verifies only the token's signature without reloading the associated user record from the database, while server/src/lib/middleware.js trusts the roles and options embedded in the token for authorization decisions. Combined, these issues mean a token forged with the known fallback secret is accepted as genuine and its embedded privilege claims are trusted outright. This corresponds to CWE-287, Improper Authentication.
Why it matters
This vulnerability allows a complete authentication bypass without any prior access or user interaction. An attacker who can reach the application over the network can forge a token granting administrator privileges, gaining full access to privileged API functionality. Given that AnsibleForms exposes self-service automation capabilities, such access could allow an attacker to view, modify, or trigger automation workflows with elevated permissions.
Who is affected
Any AnsibleForms deployment running a version prior to 6.2.1 that does not have the ACCESS_TOKEN_SECRET environment variable explicitly configured is affected. In this scenario, the application falls back to the public hard-coded secret, making forged administrator tokens possible.
Affected versions
All versions of AnsibleForms prior to 6.2.1 are affected. The issue is resolved in version 6.2.1.
Fixes and mitigation
The vendor has released version 6.2.1, which addresses this issue. Administrators should update to this version as soon as possible. The fact package provided does not specify the exact technical nature of the fix beyond the version number; organizations unable to update immediately should ensure ACCESS_TOKEN_SECRET is explicitly set to a strong, unique value, as using the fallback secret is the root enabler of this vulnerability.
Recommended action
Update AnsibleForms to version 6.2.1 immediately. If an update cannot be applied right away, verify that the ACCESS_TOKEN_SECRET environment variable is set to a strong, randomly generated value in every deployment, since the vulnerability specifically relies on this variable being unset. Review access logs for anomalous administrator activity following the update, particularly from sessions that cannot be tied to a known user login.
PatchBriefing score
9.8 / 10 · Critical
Official CVSS: 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.0304 (88 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
The vendor has released version 6.2.1, which addresses this issue. Administrators should update to this version as soon as possible. The fact package provided does not specify the exact technical nature of the fix beyond the version number; organizations unable to update immediately should ensure ACCESS_TOKEN_SECRET is explicitly set to a strong, unique value, as using the fallback secret is the root enabler of this vulnerability.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated