Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or create Huginn user account
-
DeliverySubmit crafted IMDS URL to ScenarioImport fetch_url
-
ExploitServer issues unrestricted HTTP GET to 169.254.169.254
-
ExecutionRetrieve IAM role credentials from IMDS response
-
ImpactUse 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
Network-reachable by low-privilege authenticated users; scope changes to adjacent cloud/internal systems with high confidentiality impact via IMDS credential theft.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-46072
GHSA-9r7r-j892-2c6m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB