Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. compliance-trestle
  4. ›
  5. CVE-2026-46380

CVE-2026-46380: compliance-trestle Vulnerable to SSRF in Remote Fetching Subsystem

May 28, 2026 (updated August 2, 2026)

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.

References

  • github.com/advisories/GHSA-w76h-q7c6-jpjp
  • github.com/oscal-compass/compliance-trestle/commit/53de5e75332888ea54f5da41d4c7859bb1d608e1
  • github.com/oscal-compass/compliance-trestle/commit/5c65c5926fe7ca908b9c1d281f904e7d97ba8310
  • github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-w76h-q7c6-jpjp
  • nvd.nist.gov/vuln/detail/CVE-2026-46380

Code Behaviors & Features

Detect and mitigate CVE-2026-46380 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.12.2, all versions starting from 4.0.0 before 4.0.3

Fixed versions

  • 3.12.2
  • 4.0.3

Solution

Upgrade to versions 3.12.2, 4.0.3 or above.

Impact 6.7 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/compliance-trestle/CVE-2026-46380.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.