---
id: CVE-2026-52776
title: >-
  Compliance-trestle (Trestle) is a tooling platform for managing compliance as
  code
summary: >-
  Compliance-trestle (Trestle) is a tooling platform for managing compliance as
  code. In versions before 3.12.4 and versions 4.0.0 through 4.0.3, the
  URLSecurityValidator that guards trestle's remote-fetch paths against
  server-side request…
severity: high
cwe:
  - CWE-184
  - CWE-918
vendor: compliance-trestle
product: compliance-trestle
affected:
  - compliance-trestle < 4.1.0
patched:
  - compliance-trestle 4.1.0
published: '2026-08-26'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:09:13.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52776'
references:
  - url: >-
      https://github.com/oscal-compass/compliance-trestle/commit/5335ff873a2a68eb7de43df029bea09cadff22fd
    label: security-advisories@github.com
  - url: >-
      https://github.com/oscal-compass/compliance-trestle/commit/d107cd16efe8eb15d46be3c1d97f1ec73d32447c
    label: security-advisories@github.com
  - url: >-
      https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-h47f-gmjp-m7rr
    label: security-advisories@github.com
  - url: >-
      https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-h47f-gmjp-m7rr
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-h47f-gmjp-m7rr'
tags:
  - nvd
  - ghsa
  - pip
epss: 0.00439
epssPercentile: 0.35446
aliases:
  - GHSA-h47f-gmjp-m7rr
ecosystem: pip
ingestedAt: '2026-08-12T15:53:05.824Z'
---

## Overview

Compliance-trestle (Trestle) is a tooling platform for managing compliance as code. In versions before 3.12.4 and versions 4.0.0 through 4.0.3, the URLSecurityValidator that guards trestle's remote-fetch paths against server-side request forgery can be bypassed to reach loopback, link-local, cloud-metadata, and internal network endpoints it was designed to block. The blocklist does not canonicalize IPv4-mapped IPv6 literals such as [::ffff:169.254.169.254], which resolve to IPv6Address objects that never match the blocked IPv4 ranges, and it does not block the unspecified address 0.0.0.0, which routes to local services on Linux and inside containers. An attacker who can supply or influence an OSCAL artifact that trestle fetches, such as a malicious profile whose imports reference one of these bypass URLs, can cause the HTTPSFetcher and SFTPFetcher paths to contact cloud instance-metadata services, loopback interfaces, or internal hosts. This issue is fixed in versions 3.12.4 and 4.1.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-52776)

Affected packages:

- `compliance-trestle < 4.1.0`

Patched in:

- `compliance-trestle 4.1.0`

Source: https://github.com/advisories/GHSA-h47f-gmjp-m7rr
