{"id":"CVE-2026-89065","kind":"vulnerability","aliases":["CVE-2026-89065"],"related":[],"title":"projen: crafted manifest entries let project sync delete files outside the repo","description":"CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection\n\n### CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection\n\nBulletin ID: 2026-108-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 09/11/2026 09:00 AM PDT\n\nDescription:\n\nprojen is an open-source tool for defining and synthesizing software project configurations as code. AWS identified two issues in projen affecting the generated file manifest cleanup component and the task synthesis component.\n\n- CVE-2026-89065 — Relative path traversal in the generated file manifest cleanup component in projen before 0.101.37 might allow context-dependent attackers to recursively delete files and directories outside the project directory, via crafted entries in the version-controlled generated file manifest (.projen/files.json) that is consumed during project synthesis. The corrected containment check is automatically applied by the projen runtime the next time it is run.\n- CVE-2026-89066 — Improper neutralization of special elements used in an OS command in the task synthesis component in projen before 0.103.0 might allow context-dependent attackers to execute arbitrary commands on a developer workstation or continuous integration runner via shell metacharacters in project configuration values and repository file names that are interpolated into generated task definitions in .projen/tasks.json.\n\nImpacted versions:\n\n- All projen versions before 0.101.37 (CVE-2026-89065)\n- All projen versions before 0.103.0 (CVE-2026-89066)\n\nResolution:\n\n- CVE-2026-89065 has been addressed in projen version 0.101.37. Upgrading to 0.101.37 or later is sufficient; re-synthesis is not required.\n- CVE-2026-89066 has been addressed in projen version 0.103.0. After upgrading, you must re-synthesize your project to regenerate .projen/tasks.json with the corrected task definitions. Upgrading alone is not sufficient because the generated task definition file is committed to the repository.\n\nWe recommend upgrading to the latest version and ensuring any derivative code is patched to incorporate the new fixes.\n\nWorkarounds:\n\n- CVE-2026-89065: Review the version control history of .projen/files.json for entries that escape the project directory and remove them prior to running projen.\n- CVE-2026-89066: Audit project configuration values — including LambdaFunctionOptions.entrypoint, AddBundleOptions fields, JestOptions.extraCliOptions, PytestOptions.testMatch, ReleaseOptions.artifactsDirectory, and other properties listed in the advisory — for shell metacharacters and remove or escape them prior to running projen.\n\nReferences:\n\n- CVE-2026-89065\n- GHSA-7p65-6x86-v7f3\n- CVE-2026-89066\n- GHSA-q6g4-h6vc-vqm8 \n\n Please email aws-security@amazon.com with any security questions or concerns.","summary":"projen, a tool that generates project configuration, has a path traversal flaw in its cleanup of generated files. A crafted entry in the committed .projen/files.json can make a synthesis run recursively delete files and directories outside the project directory.","severity":"high","cvss":7.1,"epss":0.00185,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["aws","ci","lab-disclosure","node","package","projen","typescript"],"not_affected_if":["not-using-projen","version-0.101.37-or-later"],"how_to_check":"- Run `npx projen --version` or check `package.json` for the `projen` version; affected if below `0.101.37`.\n- Review git history of `.projen/files.json` for entries whose paths escape the project directory (such as `../`).","fix":"- Upgrade projen to `0.101.37` or later; re-synthesis is not required for this issue.\n- Remove any escaping entries from `.projen/files.json` before running projen.","status":"open","published_at":"2026-09-11T16:17:49+00:00","first_seen_at":"2026-10-24T19:12:58+00:00","triaged_at":"2026-10-25T05:29:57+00:00","updated_at":"2026-10-25T17:17:31+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T05:29:57Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade projen to `0.101.37` or later; re-synthesis is not required for this issue.\n- Remove any escaping entries from `.projen/files.json` before running projen.","reach":"local","title":"projen: crafted manifest entries let project sync delete files outside the repo","impact":"high","summary":"projen, a tool that generates project configuration, has a path traversal flaw in its cleanup of generated files. A crafted entry in the committed .projen/files.json can make a synthesis run recursively delete files and directories outside the project directory.","category":"package","nicknames":[],"who_cares":["projen","typescript","node","ci"],"confidence":0.8,"needs_auth":"unknown","worst_case":"Files and directories outside the project directory get recursively deleted","analyst_note":"","how_to_check":"- Run `npx projen --version` or check `package.json` for the `projen` version; affected if below `0.101.37`.\n- Review git history of `.projen/files.json` for entries whose paths escape the project directory (such as `../`).","needs_analyst":false,"not_affected_if":["version-0.101.37-or-later","not-using-projen"],"who_is_affected":"Teams that use projen to generate and synthesize their project configuration, and whose repositories contain a `.projen/files.json` that could be altered by a contributor or an untrusted change. Projen users on `0.101.37` or later are not affected by this flaw. Teams not using projen can skip it.","user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000697,"input_tokens":4313,"output_tokens":531,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-108':102C '-2026':14A,17A,68C,72C,84C,88C,154C,222C,289C,297C,301C,324C,387C,411C,445C,453C '-89065':15A,18A,69C,85C,155C,290C,302C,388C,446C '-89066':73C,89C,223C,298C,325C,412C,454C '0.101.37':169C,287C,309C,312C '0.103.0':242C,295C,332C '00':115C '09':114C '09/11/2026':113C '2026':101C '6x86':450C '7p65':449C 'addbundleopt':419C 'address':305C,328C 'advisori':430C 'affect':141C 'allow':171C,244C 'alon':351C 'appli':210C 'arbitrari':251C 'attack':175C,248C 'attent':110C 'audit':413C 'automat':209C 'aw':19B,103C,105C,135C 'aws-security@amazon.com':462C 'bulletin':99C 'check':207C 'ci':20B 'cleanup':42B,146C,164C 'code':134C,377C 'command':81C,97C,233C,252C 'commit':51B,362C 'compon':147C,152C,165C,238C 'concern':468C 'configur':34B,132C,266C,415C 'consum':200C 'contain':206C 'content':106C 'context':173C,246C 'context-depend':172C,245C 'continu':258C 'control':193C,392C 'correct':205C,347C 'craft':2A,47B,187C 'cve':13A,16A,67C,71C,83C,87C,153C,221C,288C,296C,300C,323C,386C,410C,444C,452C 'date':112C 'defin':127C 'definit':278C,349C,359C 'delet':8A,59B,178C 'depend':174C,247C 'deriv':376C 'descript':118C 'develop':255C 'directori':62B,66B,181C,185C,402C 'disclosur':23B 'element':228C 'email':461C 'ensur':374C 'entri':4A,48B,188C,397C 'escap':399C,437C 'execut':250C 'field':420C 'file':9A,45B,60B,144C,162C,179C,195C,270C,360C 'fix':384C 'flaw':39B 'generat':32B,44B,143C,161C,194C,276C,357C 'ghsa':448C,456C 'ghsa-7p65-6x86-v7f3':447C 'ghsa-q6g4-h6vc-vqm8':455C 'h6vc':458C 'histori':393C 'id':100C 'identifi':136C 'impact':281C 'import':108C 'improp':224C 'includ':417C 'incorpor':381C 'inject':82C,98C 'integr':259C 'interpol':274C 'issu':74C,90C,138C 'jestoptions.extraclioptions':421C 'lab':22B 'lab-disclosur':21B 'lambdafunctionoptions.entrypoint':418C 'later':314C 'latest':371C 'let':5A 'list':427C 'make':54B 'manifest':3A,145C,163C,196C 'metacharact':263C,433C 'might':170C,243C 'must':336C 'name':271C 'neutral':225C 'new':383C 'next':216C 'node':24B 'open':123C 'open-sourc':122C 'os':80C,96C,232C 'outsid':10A,63B,182C 'packag':25B 'patch':379C 'path':37B,77C,93C,157C 'pdt':117C 'pleas':460C 'prior':406C,439C 'project':6A,33B,65B,131C,184C,202C,265C,341C,401C,414C 'projen':1A,26B,28B,76C,92C,119C,140C,167C,213C,240C,284C,292C,307C,330C,409C,442C 'projen/files.json':52B,197C,395C 'projen/tasks.json':280C,344C 'properti':426C 'public':111C 'pytestoptions.testmatch':422C 'q6g4':457C 'question':466C 're':318C,338C 're-synthes':337C 're-synthesi':317C 'recommend':367C 'recurs':58B,177C 'refer':443C 'regener':343C 'relat':156C 'releaseoptions.artifactsdirectory':423C 'remov':404C,435C 'repo':12A 'repositori':269C,365C 'requir':109C,322C 'resolut':299C 'review':389C 'run':57B,220C,408C,441C 'runner':260C 'runtim':214C 'scope':104C 'secur':465C 'shell':262C,432C 'softwar':130C 'sourc':124C 'special':227C 'suffici':316C,354C 'sync':7A 'synthes':129C,339C 'synthesi':56B,151C,203C,237C,319C 'task':150C,236C,277C,348C,358C 'time':217C 'tool':30B,125C 'travers':38B,78C,94C,158C 'two':137C 'type':107C 'typescript':27B 'upgrad':310C,334C,350C,368C 'use':229C 'v7f3':451C 'valu':267C,416C 'version':192C,282C,285C,293C,308C,331C,372C,391C 'version-control':191C 'via':186C,261C 'vqm8':459C 'workaround':385C 'workstat':256C","nicknames":[],"mitigations":[{"kind":"workaround","scope":"projen generated file manifest cleanup (.projen/files.json)","since":null,"covers":"Removes version-controlled .projen/files.json entries that escape the project directory before projen runs, so the cleanup cannot delete files outside the project","limits":"none stated","source":"https://aws.amazon.com/security/security-bulletins/rss/2026-108-aws/","vendor":"Team","seen_at":"2026-10-25T17:17:31Z","confidence":0.9,"source_title":"CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection","customer_action":"Review the version control history of .projen/files.json for entries that escape the project directory and remove them prior to running projen"}],"who_affected":"Teams that use projen to generate and synthesize their project configuration, and whose repositories contain a `.projen/files.json` that could be altered by a contributor or an untrusted change. Projen users on `0.101.37` or later are not affected by this flaw. Teams not using projen can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-09-11T16:17:49+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/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","cvss_by":"ff89ba41-3aa1-4d27-914a-91399e9639e5","poc_count":0,"sources":[{"source":"lab","external_id":"https://aws.amazon.com/security/security-bulletins/rss/2026-108-aws/#CVE-2026-89065","url":"https://aws.amazon.com/security/security-bulletins/rss/2026-108-aws/","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T19:12:58+00:00","fetched_at":"2026-10-25T17:18:59+00:00","note":"AWS: CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection"},{"source":"nvd","external_id":"CVE-2026-89065","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89065","severity":null,"published_at":"2026-09-11T16:17:49+00:00","modified_at":"2026-09-11T18:24:59+00:00","first_seen_at":"2026-10-24T19:23:38+00:00","fetched_at":"2026-10-24T19:23:38+00:00","note":null},{"source":"epss","external_id":"CVE-2026-89065","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-89065","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-25T12:38:49+00:00","fetched_at":"2026-10-25T12:38:49+00:00","note":null}],"documents":[{"id":2933,"url":"https://aws.amazon.com/security/security-bulletins/rss/2026-108-aws/","title":"AWS: CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection","kind":"advisory","source":"lab","text":"CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection\n\n### CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection\n\nBulletin ID: 2026-108-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 09/11/2026 09:00 AM PDT\n\nDescription:\n\nprojen is an open-source tool for defining and synthesizing software project configurations as code. AWS identified two issues in projen affecting the generated file manifest cleanup component and the task synthesis component.\n\n- CVE-2026-89065 — Relative path traversal in the generated file manifest cleanup component in projen before 0.101.37 might allow context-dependent attackers to recursively delete files and directories outside the project directory, via crafted entries in the version-controlled generated file manifest (.projen/files.json) that is consumed during project synthesis. The corrected containment check is automatically applied by the projen runtime the next time it is run.\n- CVE-2026-89066 — Improper neutralization of special elements used in an OS command in the task synthesis component in projen before 0.103.0 might allow context-dependent attackers to execute arbitrary commands on a developer workstation or continuous integration runner via shell metacharacters in project configuration values and repository file names that are interpolated into generated task definitions in .projen/tasks.json.\n\nImpacted versions:\n\n- All projen versions before 0.101.37 (CVE-2026-89065)\n- All projen versions before 0.103.0 (CVE-2026-89066)\n\nResolution:\n\n- CVE-2026-89065 has been addressed in projen version 0.101.37. Upgrading to 0.101.37 or later is sufficient; re-synthesis is not required.\n- CVE-2026-89066 has been addressed in projen version 0.103.0. After upgrading, you must re-synthesize your project to regenerate .projen/tasks.json with the corrected task definitions. Upgrading alone is not sufficient because the generated task definition file is committed to the repository.\n\nWe recommend upgrading to the latest version and ensuring any derivative code is patched to incorporate the new fixes.\n\nWorkarounds:\n\n- CVE-2026-89065: Review the version control history of .projen/files.json for entries that escape the project directory and remove them prior to running projen.\n- CVE-2026-89066: Audit project configuration values — including LambdaFunctionOptions.entrypoint, AddBundleOptions fields, JestOptions.extraCliOptions, PytestOptions.testMatch, ReleaseOptions.artifactsDirectory, and other properties listed in the advisory — for shell metacharacters and remove or escape them prior to running projen.\n\nReferences:\n\n- CVE-2026-89065\n- GHSA-7p65-6x86-v7f3\n- CVE-2026-89066\n- GHSA-q6g4-h6vc-vqm8 \n\n Please email aws-security@amazon.com with any security questions or concerns.","published_at":null,"relation":"advisory","confidence":null,"note":null}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}