CVE-2026-47357

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.
References
Link Resource
https://github.com/tenable/terrascan Product
Configurations

Configuration 1 (hide)

cpe:2.3:a:tenable:terrascan:*:*:*:*:*:*:*:*

History

20 May 2026, 14:23

Type Values Removed Values Added
References () https://github.com/tenable/terrascanĀ - () https://github.com/tenable/terrascanĀ - Product
First Time Tenable
Tenable terrascan
CPE cpe:2.3:a:tenable:terrascan:*:*:*:*:*:*:*:*

19 May 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-19 17:16

Updated : 2026-05-20 14:23


NVD link : CVE-2026-47357

Mitre link : CVE-2026-47357

CVE.ORG link : CVE-2026-47357


JSON object : View

Products Affected

tenable

  • terrascan
CWE
CWE-73

External Control of File Name or Path

CWE-610

Externally Controlled Reference to a Resource in Another Sphere

CWE-918

Server-Side Request Forgery (SSRF)