CVE-2026-47357

CRITICAL CVSS 4.0: 9.2 EPSS 0.48%
Updated Jul 24, 2026
Tenable
Parameter Value
CVSS 9.2 (CRITICAL)
Affected Versions before 1.18.3
Type CWE-610, CWE-918 (Server-Side Request Forgery (SSRF)), CWE-73 (External Control of File Name or Path)
Vendor Tenable
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Tenable Terrascan
cpe:2.3:a:tenable:terrascan:*:*:*:*:*:*:*:*
— <= 1.18.3