{"api_version":"1","generated_at":"2026-04-09T17:01:20+00:00","cve":"CVE-2026-34730","urls":{"html":"https://cve.report/CVE-2026-34730","api":"https://cve.report/api/cve/CVE-2026-34730.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-34730","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-34730"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-04-02 19:21:32","updated_at":"2026-04-03 19:43:42"},"problem_types":["CWE-22","CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","data":{"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"}}],"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","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/copier-org/copier/releases/tag/v9.14.1","name":"https://github.com/copier-org/copier/releases/tag/v9.14.1","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b","name":"https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b","refsource":"security-advisories@github.com","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-34730","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34730","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"copier-org","product":"copier","version":"affected < 9.14.1","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"34730","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"copier-org","cpe5":"copier","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"34730","cve":"CVE-2026-34730","epss":"0.000100000","percentile":"0.009830000","score_date":"2026-04-07","updated_at":"2026-04-08 00:03:39"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-34730","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-04-03T13:01:09.904637Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-04-03T13:01:14.081Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"copier","vendor":"copier-org","versions":[{"status":"affected","version":"< 9.14.1"}]}],"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."}],"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","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-02T18:09:16.007Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h","tags":["x_refsource_CONFIRM"],"url":"https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h"},{"name":"https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b","tags":["x_refsource_MISC"],"url":"https://github.com/copier-org/copier/commit/5413062eb17b73dc885f5e645cdc161e69ef641b"},{"name":"https://github.com/copier-org/copier/releases/tag/v9.14.1","tags":["x_refsource_MISC"],"url":"https://github.com/copier-org/copier/releases/tag/v9.14.1"}],"source":{"advisory":"GHSA-hgjq-p8cr-gg4h","discovery":"UNKNOWN"},"title":"Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-34730","datePublished":"2026-04-02T18:09:16.007Z","dateReserved":"2026-03-30T18:41:20.754Z","dateUpdated":"2026-04-03T13:01:14.081Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-02 19:21:32","lastModifiedDate":"2026-04-03 19:43:42","problem_types":["CWE-22","CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:copier-org:copier:*:*:*:*:*:python:*:*","versionEndExcluding":"9.14.1","matchCriteriaId":"08914294-5C57-49CB-8D05-BBB156C6B8B1"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"34730","Ordinal":"1","Title":"Copier `_external_data` allows path traversal and absolute-path ","CVE":"CVE-2026-34730","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"34730","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Copier `_external_data` allows path traversal and absolute-path "}]}}}