Skip to main content

Huginn CVE-2026-123094

| EUVDEUVD-2026-117539 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-05 VulnCheck GHSA-wjrx-rm4h-jrhj
5.1
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
    Connect OAuth account with crafted display name
  3. Exploit
    Mark malicious service global
  4. Execution
    Victim attaches service to Agent
  5. Persist
    JavaScript executes on Agent page view
  6. Impact
    Read Credentials and invoke admin actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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

Exploitation Conditions

Exploitation requires an authenticated account on the Huginn instance (PR:L) with the ability to connect an OAuth service and share it globally, plus victim interaction (UI:P): the victim must attach the attacker's globally shared service to an Agent and view that Agent's page for the stored payload in the OAuth display name to fire. Impact is scoped to whatever the victim can access - Credentials, Agents, and Events - and escalates to administrator actions (including user-switching) only if the victim is an administrator; the user-switching endpoint still requires administrator authentication and is not reachable by unauthenticated users. Key limiting factors: the instance must permit untrusted users to register and share services (the advisory flags such installations as higher risk), a second distinct user must act on the malicious service, and private (non-shared) services can only affect their own owner. The attack does not depend on reading the session cookie. The only complete fix is upgrading to v2026.11.05; the vendor's interim workaround is to avoid attaching and to remove services owned by untrusted users, which reduces but does not eliminate exposure.

Impact

This is a genuine but moderate-priority issue, not a drop-everything emergency, and the signals are internally consistent. The CVSS 4.0 base score is 5.1 (medium) with vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N: network-reachable but requiring existing low-privilege authentication (PR:L) and passive victim interaction (UI:P), with no impact on the vulnerable system itself and only low confidentiality/integrity impact on a subsequent system (the victim's browser session). That subsequent-system mapping correctly captures a stored XSS that runs in another user's session rather than compromising the server directly. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the medium severity. No EPSS score and no CISA KEV entry are present in the input, so there is no quantitative exploitation-probability or active-exploitation signal; absence of these is not evidence of safety but does argue against widespread automated exploitation. A public PoC reference exists (a hackmd write-up by the reporter and a VulnCheck advisory); it is not verified as working exploit code, so treat it as proof-of-concept detail rather than a confirmed weaponized exploit. The realistic risk is concentrated in multi-user Huginn installations that allow untrusted users to register and share OAuth services globally; single-user or trusted-team deployments face far lower exposure (private services can only self-affect their owner).

Exploit ScenarioDerived

An authenticated low-privilege user on a shared Huginn instance connects an OAuth account whose display name (nickname, name, or email) contains a JavaScript payload, then marks that service as global. When another user - potentially an administrator - attaches the shared service to an Agent and opens the Agent page, the unescaped name executes script in the victim's session, allowing it to read Credentials, manipulate Agents and Events, and, if the victim is an admin, invoke administrator actions such as user-switching. A public PoC reference exists but is not verified as working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 05, 2026

Stored cross-site scripting in Huginn before 2026.11.05 allows an authenticated user who can connect an OAuth account and share the resulting service globally to plant JavaScript in the service display name, which then executes in the session of any other user who attaches that service to an Agent and views the Agent page. The injected script can read the victim's Credentials and manipulate their Agents and Events, and can invoke administrator actions such as switching users when the victim holds admin rights, although the user-switching endpoint itself still requires administrator authentication. Exploitation requires victim interaction and an instance that permits untrusted users to register and share services; the vendor-released patch is v2026.11.05, and no public exploit identified at time of analysis.

RemediationAI

Upgrade to Huginn v2026.11.05 or later (release tag https://github.com/huginn/huginn/releases/tag/v2026.11.05, commit 92229a5e7343bfffc740d31e42b9654b212b678b as documented in GHSA-rjw9-xx87-f2ww); the fix escapes service display names at render time, so existing stored names are neutralized with no database migration or name cleanup required, and the same release also sanitizes Agent descriptions after Markdown rendering and moves user switching to CSRF-protected POST requests. Until the update is installed, the vendor's workaround is to avoid attaching services owned by untrusted users and to remove such services from existing Agents, which reduces cross-user exposure but does not fix the underlying rendering bug - upgrading is the only complete fix. Exposure is highest on instances that allow untrusted users to register and share services globally, since private services can only affect their own owner.

Affected VersionsENISA

huginn 0 <2026.11.05

Affected Packages

euvd huginn fix: 2026.11.05

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

The flaw is CWE-79 (improper neutralization of input during web page generation) in Huginn's Rails view helper layer. In app/helpers/application_helper.rb the service_label helper built a label from the provider icon and the OAuth service display name by joining the fragments and calling .html_safe on the result, which marked the attacker-controlled service name (derived from an OAuth account nickname, name or email) as trusted markup so ERB never escaped it. Because the name string is stored with the Service record, any page render that displays that service label - notably Agent show pages where a user has attached the service - emits the payload. The upstream fix in commit 92229a5e7343bfffc740d31e42b9654b212b678b replaces the .join.html_safe pattern in both omniauth_provider_name and service_label with safe_join, which escapes each element while keeping the provider icon markup intact; a helper spec asserts the label text equals the raw name and that no img element survives. The same release hardens a second rendering path: markdown_class_attributes now runs Kramdown output through Rails::HTML5::SafeListSanitizer with an allowlist that adds table elements and the class attribute, preventing HTML injection through Agent options interpolated into Markdown descriptions (e.g. a Webhook Agent secret or payload_path). It also changes user switching and returning to the original administrator to require POST requests with valid CSRF tokens, while the advisory notes CSRF protection alone would not prevent same-origin XSS. The fix applies at render time, so previously stored malicious names are neutralized without a database migration or name cleanup. CPE cpe:2.3:a:huginn:huginn:*:*:*:*:*:*:*:* maps the entire pre-2026.11.05 range, and EUVD lists the affected span as 0 through versions below 2026.11.05.

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 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated attacker injects the payload (PR:L) but a different victim must view the Agent page (UI:R); script runs in the victim's session, so scope changes (S:C) with low confidentiality/integrity impact and no availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Huginn before 2026.11.05 contains a stored cross-site scripting vulnerability in the service_label helper that marks unescaped OAuth service display names as html_safe. Authenticated attackers can connect an OAuth account with a crafted nickname, name or email and share it globally, executing JavaScript when victims attach it to Agents and view them, exposing Credentials, Agents and Events, and admin actions if the victim is an administrator.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche self-hosted open-source automation tool, limited 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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