Live threats

All CVEs / ansibleguy76

CVE-2026-73969ansibleguy76 ansibleforms

Authentication bypass via hardcoded JWT secret in AnsibleForms

Critical 9.8 No auth needed

Priority
77
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Nov 18, 2026
Updated
Nov 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287, CWE-798, CWE-1188
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

AnsibleForms prior to 6.2.1 uses a publicly hardcoded JWT secret as fallback when ACCESS_TOKEN_SECRET is unset. An unauthenticated attacker can forge JWT tokens with administrator privileges, as signature verification does not reload the user from the database. This allows full privileged API access.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 6.2.1

Update AnsibleForms to version 6.2.1 or later and set the ACCESS_TOKEN_SECRET environment variable with a unique secret value.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for ansibleforms.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.