{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45774","id":"CVE-2026-45774","title":"compliance-trestle Profile Import has an Arbitrary File Read via trestle:// URI and Relative Path Traversal","description":"compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the compliance-trestle library's profile import mechanism resolves `trestle://` URIs and relative file paths by joining them with `trestle_root` and calling `.resolve()`, but performs no boundary check to ensure the resolved path stays within the trestle workspace. An attacker can craft a ","descriptionLong":"compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the compliance-trestle library's profile import mechanism resolves `trestle://` URIs and relative file paths by joining them with `trestle_root` and calling `.resolve()`, but performs no boundary check to ensure the resolved path stays within the trestle workspace. An attacker can craft a malicious OSCAL profile YAML with `imports[].href` containing path traversal sequences to read arbitrary files from the server filesystem. Versions 3.12.3 and 4.0.3 patch the issue.","published":"2026-08-13T19:26:44.243Z","updated":"2026-10-28T02:30:28.992025293Z","reserved":"2026-05-13T07:45:21.251Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"GitHub"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"unrated","source":"OSV"}],"rating":"medium","products":["oscal-compass compliance-trestle"],"affectedProducts":[{"vendor":"oscal-compass","product":"compliance-trestle","defaultStatus":null,"versions":[{"version":"< 3.12.2","status":"affected"},{"version":">= 4.0.0, < 4.0.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"compliance-trestle","purl":"pkg:pypi/compliance-trestle","ranges":[">=4.0.0 <4.0.3","<3.12.2"],"fixed":["4.0.3","3.12.2"],"advisory":"GHSA-mj4x-vf5c-5xg8"}],"cwes":["CWE-22"],"aliases":["GHSA-mj4x-vf5c-5xg8","PYSEC-2026-2426"],"references":[{"url":"https://github.com/oscal-compass/compliance-trestle/security/advisories/GHSA-mj4x-vf5c-5xg8","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/oscal-compass/compliance-trestle/commit/5c65c5926fe7ca908b9c1d281f904e7d97ba8310","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/oscal-compass/compliance-trestle/commit/d00a0c2f702c24f7016009fbd626036f5c46f47b","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/compliance-trestle/PYSEC-2026-2426.yaml","tags":["x_refsource_MISC","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45774.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45774","tags":["advisory"]},{"url":"https://github.com/oscal-compass/compliance-trestle","tags":["package"]},{"url":"https://pypi.org/project/compliance-trestle","tags":["package"]},{"url":"https://github.com/advisories/GHSA-mj4x-vf5c-5xg8","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00544,"epssPercentile":0.46468,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45774","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45774","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45774","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mj4x-vf5c-5xg8","ok":true,"note":"GHSA-mj4x-vf5c-5xg8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45774","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}