Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Huginn instance
-
DeliveryCreate or configure a JqAgent
-
ExploitSupply jq filter using env or $ENV
-
ExecutionDry-run agent to capture process environment
-
ImpactHarvest APP_SECRET_TOKEN and DB/SMTP/OAuth secrets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection System info exposure prevention
|
| Exploitation Conditions | Requires that jq support is enabled on the Huginn instance via the USE_JQ environment variable (a non-default deployment mode) AND that the attacker holds an authenticated account with permission to create, configure, or dry-run a JqAgent (PR:L). The specific trigger is a JqAgent filter containing the jq |
| Impact | This is a genuine but access-gated secret-disclosure flaw rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/SC:H, 8.3 High) tells a consistent story: network-reachable, low attack complexity, but it explicitly requires low privileges (PR:L) - i.e. an authenticated Huginn account - and the GHSA advisory adds a second, non-CVSS gate that the vulnerable JqAgent is only reachable when jq support is enabled via the USE_JQ environment variable (not the default build). VC:H/SC:H correctly capture that a user configuring an Agent can cross the trust boundary and read server-process secrets (APP_SECRET_TOKEN, database/SMTP/OAuth credentials). The vuln.today Decision label is 'this_week' and the finding was reported by VulnCheck with a vendor patch already shipped (v2026.11.09), which aligns with a prompt-but-not-drop-everything priority. No EPSS score and no KEV status were supplied, and no proof-of-concept or exploit reference appears in the inputs, so there is no evidence of active exploitation or of public exploit code - the risk is driven by severity-of-impact and ease-of-trigger-once-authenticated, not by observed in-the-wild activity. The main uncertainty is deployment-dependent: impact is high only where USE_JQ is enabled AND untrusted or lower-trust users hold accounts; on single-operator or jq-disabled instances the practical risk is much lower. |
| Exploit ScenarioDerived | On a Huginn instance running with USE_JQ enabled, an attacker who holds (or obtains) any authenticated account creates or dry-runs a JqAgent whose filter uses the jq |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
JqAgent in Huginn before v2026.11.09 leaks the entire server process environment to authenticated users, exposing APP_SECRET_TOKEN, database and SMTP credentials, OAuth client secrets and the invitation code. An attacker with an account able to create, configure or dry-run a JqAgent can submit a jq filter using the env builtin or $ENV variable and read the inherited environment as Agent event output; exploitation additionally requires that jq support be turned on via USE_JQ, a non-default deployment mode. The issue is access-gated rather than a mass-exploitation emergency, and no public exploit code or confirmed active exploitation was identified at time of analysis; a vendor-released fix in v2026.11.09 starts jq with an empty environment.
RemediationAI
Vendor-released patch: upgrade to Huginn v2026.11.09 or later, which starts jq with an empty environment and adds regression tests for env and $ENV (release notes at https://github.com/huginn/huginn/releases/tag/v2026.11.09, fix commit 826f4bd471c027660b1951408b44f9e5c5452aff, advisory GHSA-3f56-748g-q34j). If upgrading immediately is not possible, disable jq support by unsetting USE_JQ and restarting the affected Huginn processes; this removes the JqAgent code path entirely but breaks any workflows that depend on JqAgent filters, and filters must then be replaced with alternative agents. Because exposure is silent, if jq support was enabled while untrusted users had accounts, treat environment-supplied secrets as potentially exposed and rotate them, including APP_SECRET_TOKEN - note that rotating APP_SECRET_TOKEN invalidates existing sessions - along with database, SMTP, OAuth client secrets and the invitation code. After upgrading, filters using env or $ENV return an empty object, so pass intended inputs through the Agent variables option instead.
Affected VersionsENISA
Affected Packages
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
Huginn is a Ruby on Rails automation framework whose Agents process events; JqAgent shells out to the external jq binary via Ruby's Open3.popen3 to evaluate a user-supplied filter against event payloads. Because the child process was spawned without clearing the environment, it inherited the full Huginn server process environment, which in typical deployments carries secrets such as APP_SECRET_TOKEN, database and SMTP credentials, OAuth client secrets and the invitation code - the CWE-497 root cause class (exposure of sensitive system information to an unauthorized actor). The GHSA text also frames it under CWE-214 (invocation of process with unnecessarily retained environment) and CWE-526 (exposure of sensitive information through environment variables). The jq env builtin and $ENV variable return that inherited environment as part of the filter output, which JqAgent then emits as Agent events visible to the user. The upstream commit 826f4bd471c027660b1951408b44f9e5c5452aff applies unsetenv_others: true to the Open3.popen3 call in app/models/agents/jq_agent.rb, so jq starts with an empty environment, and adds regression specs asserting both env and $ENV yield an empty object. Filters using those constructs now return {}; intended inputs must be passed through the Agent variables option. The CPE cpe:2.3:a:huginn:huginn:*:*:*:*:*:*:*:* with EUVD listing 0 through versions before 2026.11.09 covers the affected range.
Know when Huginn 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Network-reachable JqAgent needs an authenticated account (PR:L) but no user interaction; reading server-process secrets that belong to the wider system is a scope change (S:C) with high confidentiality impact and no integrity/availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Huginn before 2026.11.09 contains an information exposure vulnerability in JqAgent that allows authenticated users to read the server process environment because the jq child process inherits it. Attackers who can create, configure or dry-run a JqAgent can supply a filter using env or $ENV to disclose APP_SECRET_TOKEN, database, SMTP and OAuth secrets.
Technical POC Analysis
Bug class: information exposure through an inherited process environment.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-127082 is a high-severity vulnerability in Huginn's JqAgent (versions before v2026.11.09) that allows authenticated users to exfiltrate sensitive server environment variables, including APP_SECRET_TOKEN, database/SMTP credentials, OAuth client secrets, and an invitation code. While exploitation requires a non-default configuration (USE_JQ enabled), the exposure of such credentials could lead to broader system compromise. Leadership should be concerned due to the potential for unauthorized access to critical systems and data, especially if the Huginn instance is used for automation with privileged accounts.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Server-side request forgery in Huginn lets an authenticated user with permission to create or configure agents route out
Stored cross-site scripting in Huginn before 2026.11.05 allows an authenticated user who can connect an OAuth account an
EUVD-2026-125100
GHSA-w8pv-mr4h-2g9v
NVD
CVE.org
EPSS
Exploit-DB