Skip to main content

Huginn CVE-2026-63769

| EUVDEUVD-2026-46072 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-20 disclosure@vulncheck.com GHSA-9r7r-j892-2c6m
6.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain or create Huginn user account
  2. Delivery
    Submit crafted IMDS URL to ScenarioImport fetch_url
  3. Exploit
    Server issues unrestricted HTTP GET to 169.254.169.254
  4. Execution
    Retrieve IAM role credentials from IMDS response
  5. Impact
    Use credentials externally against cloud APIs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential 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 a valid authenticated session on the target Huginn instance (PR:L confirmed by CVSS vector). The ScenarioImport feature must be accessible to the authenticated user - in standard Huginn deployments this is available to all registered users. No additional configuration is required on the Huginn side; the vulnerability exists in the default code path. Cloud metadata exfiltration further requires Huginn to be deployed in a cloud environment (AWS, GCP, Azure) where the IMDS endpoint (169.254.169.254 or fd00:ec2::254) is routable from the server - this is the default on most cloud VM and container deployments unless explicitly blocked. Internal network enumeration works in any deployment with reachable internal services. Exploitation is limited by the requirement for at least one valid user account; unauthenticated exploitation is not possible per the PR:L CVSS metric.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H) assigns a score of 6.3 and accurately reflects the threat model: no direct impact on the vulnerable Huginn system itself, but high confidentiality impact on subsequent/adjacent systems reachable from the server. The most severe real-world scenario is cloud metadata credential theft: if Huginn is deployed on AWS, GCP, or Azure, the IMDS endpoint is reachable by default and returns IAM role credentials that can be used to escalate privilege far beyond the Huginn application. This elevates real-world risk substantially above a generic 6.3 might suggest. Low privileges (PR:L) are required, which limits the attack surface to users with Huginn accounts - in many self-hosted deployments this may be a small trusted group, but multi-tenant or organizational deployments expand exposure. No EPSS data was provided, and no KEV listing exists, indicating no confirmed mass exploitation. The upstream fix is available via PR but no tagged release version has been confirmed, meaning all current installations are potentially affected.

Exploit ScenarioDerived

An attacker with a valid Huginn account submits a crafted ScenarioImport request with a URL pointing to the cloud IMDS endpoint (e.g., http://169.254.169.254/latest/meta-data/iam/security-credentials/) and the Huginn server fetches it without restriction, returning AWS IAM role credentials in the response body. The attacker can then use those credentials externally to access S3 buckets, EC2 APIs, or other AWS resources with the role's permissions. No public exploit code has been identified, but the attack requires only a basic HTTP request to the ScenarioImport endpoint, making it trivially reproducible by any developer familiar with SSRF.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 20, 2026

Server-side request forgery in Huginn through 2022.08.18 allows any authenticated user to weaponize the ScenarioImport fetch_url method to issue arbitrary outbound HTTP requests from the server. An attacker with low-privilege access can probe internal network topology, enumerate ports via timing and error signatures, and - critically - reach cloud Instance Metadata Service (IMDS) endpoints such as AWS 169.254.169.254 to harvest IAM credentials. No public exploit code or CISA KEV listing has been identified at time of analysis, but the upstream fix (PR #3684) and disclosure by VulnCheck confirm the vulnerability.

RemediationAI

Upstream fix available via GitHub PR #3684 (https://github.com/huginn/huginn/pull/3684), which introduces the SafeScenarioUrlFetcher class with comprehensive private-IP blocklisting; a specific released and tagged patched version has not been independently confirmed from available data, so operators should apply the patch from the PR directly or monitor the Huginn release channel. The VulnCheck advisory at https://www.vulncheck.com/advisories/huginn-ssrf-via-scenarioimport-fetch-url-method provides additional context. As a compensating control where patching is not immediately possible, operators should apply outbound network egress filtering at the host or container level to block access to RFC1918 ranges, 169.254.0.0/16 (cloud IMDS), and ::1/loopback from the Huginn process - this prevents SSRF lateral movement and metadata theft without modifying application code. On cloud platforms, disabling or requiring IMDSv2 with hop-limit enforcement (AWS: set --http-put-response-hop-limit 1) prevents IMDS access from application-layer SSRF. Restricting Huginn account creation to trusted users reduces the authenticated attacker pool.

Affected VersionsENISA

huginn 0 ≤2022.08.18

Affected Packages

euvd huginn no fix

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 self-hosted, Ruby-on-Rails-based automation agent platform analogous to IFTTT or Zapier. The vulnerable code path resides in the ScenarioImport importer, which exposes a fetch_url method for importing agent scenario definitions from remote URLs. CWE-918 (Server-Side Request Forgery) describes the root cause: the application accepts a user-supplied URL and passes it to Net::HTTP without validating the resolved IP address against internal/private network ranges. The fix in PR #3684 introduces a new SafeScenarioUrlFetcher class that performs DNS resolution via Ruby's Resolv library and then checks the returned addresses against a comprehensive blocklist of RFC1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), link-local (169.254.0.0/16 - the AWS/GCP IMDS range), CGNAT (100.64.0.0/10), and other reserved IPv4/IPv6 ranges before establishing a connection. The fix also pins the TCP connection to the resolved IP using Net::HTTP's ipaddr parameter, preventing DNS rebinding bypass.

Know when the next one hits your stack

  • 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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
vuln.today AI 7.7 HIGH

Network-reachable by low-privilege authenticated users; scope changes to adjacent cloud/internal systems with high confidentiality impact via IMDS credential theft.

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:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Huginn through 2022.08.18 contains a server-side request forgery vulnerability in the fetch_url method of ScenarioImport that allows authenticated users to make arbitrary HTTP requests by submitting crafted URLs. Attackers can probe internal network services, enumerate ports via error signatures, and access cloud metadata endpoints to retrieve sensitive credentials.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
self-hosted niche automation tool, small hobbyist and SMB footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 No
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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