{"id":"CVE-2026-34730","state":"PUBLISHED","title":"Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode","description":"Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _external_data feature allows a template to load YAML files using template-controlled paths. If untrusted templates are in scope, a malicious template can read attacker-chosen YAML-parseable local files that are accessible to the user running Copier and expose their contents in rendered output. This issue has been patched in version 9.14.1.","publishedAt":"2026-04-02T18:09:16.007Z","updatedAt":"2026-04-03T13:01:14.081Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["copier-org copier"],"affected":[{"vendor":"copier-org","product":"copier","versions":[{"version":"< 9.14.1","status":"affected"}]}],"references":["https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h","https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b","https://github.com/copier-org/copier/releases/tag/v9.14.1"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34730.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34730","state":"PUBLISHED","datePublished":"2026-04-02T18:09:16.007Z","dateUpdated":"2026-04-03T13:01:14.081Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-30T18:41:20.754Z"},"containers":{"cna":{"title":"Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode","descriptions":[{"lang":"en","value":"Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _external_data feature allows a template to load YAML files using template-controlled paths. If untrusted templates are in scope, a malicious template can read attacker-chosen YAML-parseable local files that are accessible to the user running Copier and expose their contents in rendered output. This issue has been patched in version 9.14.1."}],"affected":[{"vendor":"copier-org","product":"copier","versions":[{"version":"< 9.14.1","status":"affected"}]}],"references":[{"url":"https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h","name":"https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b","name":"https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b","tags":["x_refsource_MISC"]},{"url":"https://github.com/copier-org/copier/releases/tag/v9.14.1","name":"https://github.com/copier-org/copier/releases/tag/v9.14.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-02T18:09:16.007Z"},"source":{"advisory":"GHSA-hgjq-p8cr-gg4h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-03T13:01:09.904637Z","id":"CVE-2026-34730","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-03T13:01:14.081Z"}}]}}}