Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to trestle workspace or CI/CD config
-
DeliveryInsert malicious SSRF URL targeting metadata endpoint
-
ExploitLegitimate user triggers trestle fetch operation
-
ExecutionHTTPSFetcher._do_fetch() issues unvalidated request
-
PersistCloud metadata service returns IAM credentials
-
ImpactAttacker retrieves credentials from logs or exfil endpoint
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: (1) a low-privileged local attacker (PR:L per CVSS) who can supply or modify a URL consumed by compliance-trestle's HTTPSFetcher - for example, by editing a trestle workspace configuration file, a fetched model reference, or a CI/CD pipeline input; (2) a legitimate user or automated pipeline must subsequently invoke trestle's remote fetch functionality with the malicious URL (UI:R per CVSS); (3) the target system must be running a vulnerable version of compliance-trestle (< 3.12.2 on the 3.x branch, or 4.0.0-4.0.2 on the 4.x branch). Exploitation is limited by the local attack vector - an unauthenticated remote attacker cannot directly trigger the fetch without first gaining write access to the workspace or pipeline configuration. The cloud metadata exfiltration path (e.g., 169.254.169.254) further requires the host to be a cloud VM instance with an attached instance role; the attack is ineffective on on-premises hosts without a metadata service. The co-located path traversal vulnerabilities (tracked separately) can be chained to extend impact but are not required for the SSRF alone. |
| Impact | The CVSS 3.1 base score of 6.7 with vector AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N presents a notable signal conflict: AV:L (local attack vector) is atypical for SSRF, which conventionally carries AV:N. This scoring appears deliberate - trestle is a command-line/CI/CD tool where the attacker must supply a malicious URL through a locally accessible configuration file or model, requiring a legitimate user to subsequently invoke the fetch operation (UI:R). This limits opportunistic remote exploitation but is highly relevant in CI/CD threat models where supply chain or insider attackers can modify input files. Confidentiality impact is rated High (C:H) due to cloud metadata credential exfiltration potential, and Scope is Changed (S:C) because the impact extends to cloud infrastructure beyond the vulnerable process. No EPSS score was provided, and this CVE is not listed in the CISA KEV catalog - real-world exploitation is plausible but not confirmed at time of analysis. The combination of a public POC with 13 verified vectors and the CI/CD deployment context elevates practical risk above what the moderate CVSS score alone suggests, particularly for organizations running trestle in cloud-hosted pipelines. |
| Exploit ScenarioDerived | An attacker with write access to a trestle workspace configuration file (e.g., a malicious contributor to a CI/CD repository) inserts a crafted HTTPS URL pointing to http://169.254.169.254/latest/meta-data/iam/security-credentials/. When a legitimate pipeline operator runs trestle to fetch remote OSCAL content, HTTPSFetcher._do_fetch() issues a request to the cloud metadata endpoint and returns the instance's IAM credentials, which the attacker can retrieve from pipeline logs or an exfiltration endpoint. A public POC (poc_ssrf_and_path_traversal.py) with 13 verified vectors is attached to the GitHub advisory and covers this and related chained path traversal scenarios. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Server-Side Request Forgery in compliance-trestle's HTTPSFetcher._do_fetch() allows a local low-privileged attacker to redirect outbound HTTP requests to internal services or cloud metadata endpoints such as 169.254.169.254 - enabling credential theft from AWS, GCP, or Azure instance metadata. Affected are all pip releases of compliance-trestle before 3.12.2 and versions 4.0.0 through 4.0.2. A public proof-of-concept (poc_ssrf_and_path_traversal.py) with 13 verified exploit vectors is attached to the GitHub Security Advisory GHSA-w76h-q7c6-jpjp; no public exploit identified at time of analysis as confirmed active exploitation (CISA KEV) and no EPSS score was provided in the input data.
RemediationAI
Upgrade compliance-trestle to version 4.0.3 (for 4.x users) or 3.12.2 (for 3.x users) - these are the vendor-confirmed fixed releases per GHSA-w76h-q7c6-jpjp. Patch commits are available at https://github.com/oscal-compass/compliance-trestle/commit/53de5e75332888ea54f5da41d4c7859bb1d608e1 and https://github.com/oscal-compass/compliance-trestle/commit/5c65c5926fe7ca908b9c1d281f904e7d97ba8310. For environments that cannot patch immediately, set the environment variable TRESTLE_BLOCK_PRIVATE_IPS=true to block RFC 1918 ranges in addition to the hard-blocked loopback and cloud metadata endpoints introduced in the fix. As a compensating control, restrict the network egress of the process running trestle so it cannot reach 169.254.169.254 or other metadata endpoints - most cloud providers support host-level firewall rules or IMDSv2 enforcement (AWS) that can block unauthenticated metadata access as a defense-in-depth measure, though this does not fix the underlying code flaw. Audit CI/CD pipeline configuration files for externally controlled URL inputs to trestle fetch operations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
compliance-trestle (pkg:pip/compliance-trestle) is an OSCAL (Open Security Controls Assessment Language) automation framework used in compliance and CI/CD workflows. The vulnerable code resides in trestle/core/remote/cache.py, specifically in the HTTPSFetcher._do_fetch() method, which invokes Python's requests.get() with an unvalidated caller-supplied URL. CWE-918 (Server-Side Request Forgery) applies: the server-side process makes outbound HTTP requests to destinations the attacker controls, bypassing network controls that filter inbound traffic. The same module also contains path traversal flaws (CWE-22) in the HTTPSFetcher and LocalFetcher caching logic (tracked in separate CVEs per the advisory), which can be chained with this SSRF to read or write files outside the intended cache directory. The patched code introduces a two-tier SSRF defense: hard-blocking of loopback (127.0.0.0/8), link-local (169.254.0.0/16), and cloud metadata endpoints; and optional blocking of RFC 1918 private ranges via TRESTLE_BLOCK_PRIVATE_IPS=true.
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
AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Primary rating from Vendor (https://github.com/oscal-compass/compliance-trestle).
CVSS VectorVendor: https://github.com/oscal-compass/compliance-trestle
DescriptionCVE.org
A source code audit led to the discovery of three significant security vulnerabilities in the trestle/core/remote/cache.py module.
Finding 1 (Critical): SSRF (CWE-918) The HTTPSFetcher._do_fetch() method passes a user-supplied URL directly to requests.get() without validation. This allows an attacker to perform Server-Side Request Forgery, targeting internal services or cloud metadata endpoints (e.g., 169.254.169.254).
Per rule 4.2.11 of the CVE CNA rules Finding 1 will be addressed in this advisory, while findings 2 & 3 will be addressed in separate advisories:
---
Multiple Path Traversal Vulnerabilities in Remote Fetching Subsystem
Finding 2 & 3 (High/Medium): Path Traversal (CWE-22) The caching logic for HTTPSFetcher and LocalFetcher fails to sanitize URI paths, allowing for arbitrary file reads via file:// or writing cached files outside the intended directory.
Impact: > These vulnerabilities can be chained to exfiltrate sensitive cloud credentials or compromise CI/CD environments.
Reproduction: > Please see the attached poc_ssrf_and_path_traversal.py and terminal_output.txt. 13 exploit vectors have been verified locally.
compliance-trestle_audit_2026-03-30.pdf poc_ssrf_and_path_traversal.py terminal_output.txt
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.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-58712
GHSA-w76h-q7c6-jpjp
NVD
CVE.org
EPSS
VulDB
Exploit-DB