Skip to main content

AnsibleForms EUVDEUVD-2026-129181

| CVE-2026-73969 CRITICAL
Improper Authentication (CWE-287)
2026-11-18 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Read default JWT secret from public source
  2. Delivery
    Forge admin-claim JWT signed with secret
  3. Exploit
    Send Bearer token to privileged API
  4. Execution
    Signature verified, payload roles trusted
  5. Persist
    Accepted as administrator session
  6. Impact
    Full privileged API access / takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the AnsibleForms deployment to be running with ACCESS_TOKEN_SECRET unset or equal to the old hard-coded default - the advisory notes .env.example leaves the variable commented out, so any instance that did not explicitly configure a strong secret is vulnerable and signs/verifies tokens with the public default. Given that condition, exploitation is remote and unauthenticated with no user interaction: the attacker needs only network reachability to a privileged API endpoint and knowledge of the public default secret. The primary limiting factor is configuration - a deployment that set a strong unique ACCESS_TOKEN_SECRET is not exploitable via this path; version <= 6.2.0 is also required, as 6.2.1 removes the fallback and refuses the old default.

Impact

Multiple signals point the same direction here, with one important caveat about scope. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated flaw with full C:H/I:H/A:H impact, scoring 9.8 - and the mechanism in the GHSA advisory corroborates it: the JWT signing secret falls back to a hard-coded value ("j6fz%Q9S2YJC?x|u", now visible in the public diff), auth_jwt.js verifies only the signature plus a truthy access claim without any database re-validation, and middleware.js reads roles/options straight from the token payload. That is a clean, deterministic forge-an-admin-token path, not a probabilistic memory-corruption bug. The vuln.today Decision label is act_now, reinforcing priority. The one qualifier CVSS cannot express: exploitability depends on the deployment running with the unset/default ACCESS_TOKEN_SECRET - because .env.example comments the variable out, not-explicitly-configured instances are vulnerable, so PR:N is justified for the common case, but a deployment that set a strong secret is not exploitable via this path. No EPSS score and no KEV status were supplied in the input; absence of KEV means I cannot claim active exploitation. This is a genuine high-priority issue (trivial, reliable, unauthenticated admin takeover against default deployments) rather than a high-CVSS-but-low-real-risk theoretical - the main thing limiting blast radius is the modest install base of the product.

Exploit ScenarioDerived

An unauthenticated attacker reads the hard-coded fallback secret from the public source tree, mints a JWT signed with it whose payload asserts an administrator identity and a truthy access claim, and sends it as Authorization: Bearer <token> to any privileged endpoint - the server accepts it as a fully privileged admin session with no account and no user interaction. A public PoC reference describing this mechanism exists in the GHSA advisory; it is not verified as working weaponized exploit code. The advisory notes that chaining this with a separate command-injection advisory yields unauthenticated remote code execution on the host.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 public PoC Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Unauthenticated authentication bypass in AnsibleForms 6.2.0 and earlier lets a remote attacker forge an administrator JWT session and reach every privileged API endpoint, because the application falls back to a hard-coded signing secret published in its own source tree when ACCESS_TOKEN_SECRET is not configured. Any deployment that left the variable unset - which the shipped .env.example encourages by leaving it commented out - is trivially forgeable, and the JWT strategy never re-checks the user against the database, so the token's own role and options claims are trusted verbatim. Rated CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) with an act_now priority; the advisory describes a proof-of-concept forging mechanism rather than weaponized code, and no confirmed active exploitation was identified at time of analysis. The lone gating condition is configuration: instances that set a strong unique ACCESS_TOKEN_SECRET are not exploitable through this path.

RemediationAI

Upgrade to AnsibleForms 6.2.1 (vendor-released patch: 6.2.1, release notes at https://github.com/ansibleforms/ansibleforms/releases/tag/6.2.1, security advisory GHSA-g27f-cjvv-42rf), which removes the hard-coded fallback and refuses to treat the old default as valid. After upgrading, set a strong, unique ACCESS_TOKEN_SECRET in the environment and treat the upgrade as a secret rotation: every token minted or forgeable under the old default must be invalidated, which means restarting the service with a fresh secret. Be aware of the trade-off the vendor introduced deliberately - if ACCESS_TOKEN_SECRET is absent in 6.2.1, the process generates a random secret at startup and logs a warning, so signing survives only for that process lifetime and all sessions are dropped on every restart; this is safe but operationally disruptive, so configure the variable rather than relying on auto-generation. The advisory's additional hardening recommendation is to re-validate the token subject against the database in the JWT strategy (confirm the user still exists and derive roles and options server-side) instead of trusting payload claims, since the self-contained-token trust model is what turns a leaked signing key into instant administrator access; the relevant changes are in commit a9b4979165c4730b2abe1dbcfd053b4d3f9a5594 and pull request https://github.com/ansibleforms/ansibleforms/pull/473. Until upgrade is possible, no configuration-level workaround is documented beyond setting a strong non-default ACCESS_TOKEN_SECRET on the existing version, which removes the forgeable key but does not fix the missing database re-validation of subject, roles and options.

Affected VersionsENISA

ansibleforms < 6.2.1

Affected Packages

euvd ansibleforms fix: 6.2.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AnsibleForms is a Node.js/Express self-hosted front end for Ansible that exposes REST APIs for repositories, credentials and form-driven automation; API authentication is stateless JWT handled by a passport-jwt strategy. server/config/auth.config.js resolved the signing key as process.env.ACCESS_TOKEN_SECRET || "j6fz%Q9S2YJC?x|u", so an unset environment variable silently produced a symmetric key that anyone who can read the public repository already knows, and .env.example shipped the variable commented out - the insecure default therefore became the de facto production configuration for careless installs. Compounding the flaw, server/src/auth/auth_jwt.js verified only the signature and a truthy jwtPayload.access flag and then assigned the decoded payload to req.user without reloading the subject from the database, while server/src/lib/middleware.js performed authorization by reading req.user.user.roles and req.user.user.options straight out of that payload. The token is fully self-contained, so a forged payload asserting an administrator identity and the corresponding options is accepted as a legitimate privileged session. The root cause spans CWE-287 (improper authentication) with the contributing classes CWE-798 (use of hard-coded credentials) and CWE-1188 (insecure default initialization); the fix in 6.2.1 removes the literal fallback, generating a per-process crypto.randomBytes(64) secret with a startup security warning when the variable is missing, and emits an additional warning from server/index.js when the ephemeral secret is in use. Note that the advisory states that chaining this bypass with a separate command-injection flaw in repository operations would yield unauthenticated remote code execution on the host.

Know when Ansibleforms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Default deployments ship the public fallback secret so forging an admin token is network, unauthenticated, low-complexity; full admin API access yields complete C/I/A loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 21:03 EUVD
CVE Published
Nov 18, 2026 - 20:14 cve.org
CRITICAL 9.8

DescriptionCVE.org

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.

Technical POC Analysis

The defect is improper authentication, CWE-287, with hard-coded credentials and insecure default initialization also cited as CWE-798 and CWE-1188.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 public PoC link from nuclei

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

AnsibleForms, a platform used for IT automation, contains a critical flaw that allows unauthenticated attackers to gain full administrative control of any deployment missing a specific secret configuration. This puts all organizations using the software at risk of data theft, system compromise, and disruption to automated workflows. Leadership must treat this as an urgent configuration and security governance issue.

Business Impact: High
Compensating Controls

Ensure ACCESS_TOKEN_SECRET is set to a strong, unique value; restrict network access to AnsibleForms instances; monitor authentication logs for anomalous JWT usage.

Threat Model

4 threats: Spoofing, Elevation of Privilege, Tampering and 1 more

4-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
niche self-hosted Ansible form app, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy