Skip to main content

Terrascan EUVDEUVD-2026-30957

| CVE-2026-47357 CRITICAL
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-19 tenable GHSA-p747-w96h-fwcj
9.2
CVSS 4.0 · Vendor: tenable
View

Attack ChainAIDerived

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

  1. Access
    Discover exposed Terrascan server port
  2. Delivery
    Host attacker HTTP endpoint with X-Terraform-Get header
  3. Exploit
    POST remote_url to /remote/dir/scan endpoint
  4. Execution
    Server fetches attacker URL and leaks .netrc credentials
  5. Persist
    Follow redirect to file:// URI
  6. Impact
    Read arbitrary local files via scan response

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 the target to be running Terrascan in server mode via the 'terrascan server' subcommand (the default CLI scanning mode is not exposed), network reachability to that daemon (which by default binds 0.0.0.0 with no authentication), and the attacker hosting an HTTP endpoint that returns an X-Terraform-Get header pointing at a file:// URL. No user interaction, credentials, or non-default configuration of the server itself is needed once the daemon is running. Limiting factors: organizations that only invoke Terrascan as a one-shot CLI in CI pipelines are not exposed, and credential exfiltration via Netrc only yields data if a ~/.netrc file exists for the account running the daemon.

Impact

Signals are consistent and point to a real priority where Terrascan server mode is exposed: CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VC:H and SC:H confirms unauthenticated network exploitation yielding high confidentiality impact and a scope change (local file disclosure and credential leakage beyond the vulnerable component). The vulnerability is not listed in CISA KEV and no EPSS value was supplied, and no public exploit was identified at time of analysis, but the abandoned-project status materially raises long-term risk because no fix will arrive. The deployment caveat is decisive: Terrascan CLI usage is unaffected - only the optional 'terrascan server' daemon, which binds 0.0.0.0 with no auth, is exposed; defenders should verify whether any internal CI or scanning workflow runs that daemon rather than treating every Terrascan install as critical.

Exploit ScenarioDerived

An attacker scans for exposed Terrascan server endpoints (port typically 9010) on the internet or an internal network and POSTs to /v1/terraform/v14/aws/remote/dir/scan with remote_type=http and remote_url pointing to a server they control. Their server returns an X-Terraform-Get header redirecting to file:///etc/passwd or file:///root/.aws/credentials, which go-getter dutifully reads and includes in the scan response; in parallel, the initial HTTP fetch causes Terrascan to send any ~/.netrc credentials for that hostname to the attacker. No public PoC is referenced, but the primitive is straightforward to weaponize given the documented go-getter behavior.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – May 19, 2026

Server-Side Request Forgery in Tenable's Terrascan IaC scanner (versions 1.18.3 and prior) lets unauthenticated remote attackers read arbitrary local files and exfiltrate ~/.netrc credentials when the tool runs in server mode. Because Terrascan was archived in August 2023, no vendor patch will ever be released, and the daemon binds to 0.0.0.0 with no authentication by default. No public exploit identified at time of analysis, but the CVSS 4.0 score of 9.2 reflects trivial network-reachable abuse paired with significant confidentiality scope change.

Earlier versions of this analysis (1)
v1 May 19, 2026 - 17:15 CVSS 7.5

Server-Side Request Forgery in Terrascan v1.18.3 and prior allows unauthenticated remote attackers to coerce the scanner into reading local files and leaking ~/.netrc credentials when run in server mode. The flaw stems from the remote directory scan endpoint passing user-supplied URLs directly into hashicorp/go-getter v1.7.5, whose HttpGetter honors X-Terraform-Get redirects to file:// URIs and has Netrc enabled. No public exploit identified at time of analysis, and because Terrascan was archived in August 2023, no vendor patch will ever be released.

RemediationAI

No vendor-released patch identified at time of analysis and none will be issued because Tenable archived the project in August 2023, so the durable fix is to migrate off Terrascan to an actively maintained IaC scanner such as Checkov, KICS, tfsec/Trivy, or Tenable's commercial successor. Until migration is complete, stop running 'terrascan server' entirely and use the CLI mode (which is not affected) inside CI pipelines; if the server must run, bind it to 127.0.0.1 or an internal interface, place it behind an authenticating reverse proxy, and use egress firewall rules to block outbound traffic from the Terrascan host to anything other than known IaC source repositories - trade-off: this breaks legitimate fetches from arbitrary Git/HTTP sources. Additionally, remove or empty ~/.netrc on the account running the daemon to neutralize the credential-leak vector, and block the /v1/*/remote/dir/scan path at any fronting proxy. The upstream repository is at https://github.com/tenable/terrascan (archived).

Affected VersionsENISA

Terrascan 0 ≤1.18.3

Affected Packages

euvd terrascan 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

Terrascan is a static analysis tool for Infrastructure-as-Code (Terraform, Kubernetes, Helm, etc.) originally developed by Accurics and later maintained by Tenable. Its server mode exposes an HTTP API including POST /v1/{iac}/{iacVersion}/{cloud}/remote/dir/scan, which delegates remote fetching to hashicorp/go-getter v1.7.5. The root cause (CWE-918, SSRF) stems from passing the user-supplied remote_url straight to go-getter's HttpGetter without scheme or destination validation; HttpGetter honors the X-Terraform-Get response header, which can redirect a download to a file:// URI, and it has Netrc=true, which causes it to attach ~/.netrc credentials when contacting any hostname the attacker controls.

Know when Terrascan 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 (tenable) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (tenable) · only source for this CVE.

CVSS VectorVendor: tenable

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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

Lifecycle Timeline

3
Analysis Updated
May 19, 2026 - 17:28 vuln.today
v2 - CVSS changed
Severity Changed
May 19, 2026 - 17:22 NVD
HIGH CRITICAL
CVSS changed
May 19, 2026 - 17:22 NVD
7.5 (HIGH) 9.2 (CRITICAL)

DescriptionCVE.org

Terrascan v1.18.3 and prior are vulnerable to Server-Side Request Forgery (SSRF) via the remote_url parameter in the remote directory scan endpoint (POST /v1/{iac}/{iacVersion}/{cloud}/remote/dir/scan) when running in server mode. An unauthenticated remote attacker can supply an attacker-controlled HTTP URL as remote_url with remote_type set to "http". The URL is passed directly to hashicorp/go-getter (v1.7.5) without validation. Go-getter's HttpGetter supports the X-Terraform-Get response header, allowing the attacker's server to redirect the download to a file:// URL, enabling local file read. Additionally, HttpGetter has Netrc set to true, causing it to read ~/.netrc and send stored credentials to attacker-controlled hostnames. This affects deployments running terrascan in server mode (terrascan server), which binds to 0.0.0.0 with no authentication. Note: Terrascan was archived in August 2023 and no patch will be released.

Executive ViewAI

Why It Matters

Tenable's Terrascan Infrastructure-as-Code scanner (versions 1.18.3 and prior) contains a critical vulnerability that enables unauthorized access to system credentials from any network-connected instance. The product was archived in August 2023 with no vendor patches forthcoming, creating a persistent security exposure for organizations still deploying it. Leadership should treat this as an active incident requiring immediate inventory and remediation.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable server mode and restrict Terrascan to local CLI-only usage; (2) if server mode cannot be immediately disabled, isolate the daemon behind network access controls (firewall/VPN) restricting connectivity to trusted internal networks only; (3) immediately rotate all authentication credentials that may have been accessed; (4) monitor systems for unauthorized file access and credential compromise; (5) prioritize rapid decommissioning given the archived product status and lack of vendor support.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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