Skip to main content

Huginn EUVDEUVD-2026-125100

| CVE-2026-127082 HIGH
Exposure of Sensitive System Information to an Unauthorized Control Sphere (CWE-497)
2026-11-13 VulnCheck GHSA-w8pv-mr4h-2g9v
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Huginn instance
  2. Delivery
    Create or configure a JqAgent
  3. Exploit
    Supply jq filter using env or $ENV
  4. Execution
    Dry-run agent to capture process environment
  5. Impact
    Harvest 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 env builtin or $ENV variable, which reads the inherited server process environment. Limiting factors: exploitation is impossible if USE_JQ is unset (jq disabled), and impact scales with how much the server environment actually holds and how far account access is trusted - on an instance where only the operator has an account, the disclosure stays within the operator's own trust boundary. Fixed version v2026.11.09 starts jq with an empty environment, closing the vector.

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 env builtin or $ENV variable. Because the jq child process inherited the full server environment, its output - returned as Agent events - discloses APP_SECRET_TOKEN plus database, SMTP, OAuth and invitation-code secrets, which the attacker can then use to forge sessions or pivot into connected systems. No public exploit code is referenced in the inputs, but the technique is trivial given the low attack complexity (AC:L) and single-step filter.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 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

huginn 0 <2026.11.09

Affected Packages

euvd huginn fix: 2026.11.09

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

Vendor (VulnCheck) PRIMARY 8.3 HIGH
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
vuln.today AI 7.7 HIGH

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.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
self-hosted open-source automation tool, niche/enthusiast production 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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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