{"id":"GHSA-7p65-6x86-v7f3","kind":"vulnerability","aliases":["GHSA-7p65-6x86-v7f3"],"related":[],"title":"CVE-2026-89065 and CVE-2026-89066: Issue with projen - Path traversal and OS command injection","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 files, has two flaws: a crafted entry in .projen/files.json can make it recursively delete files outside the project directory, and shell metacharacters in project configuration values or repository file names can be injected into generated task definitions in .projen/tasks.json. An attacker who can change those files or names can run arbitrary commands on a developer workstation or CI runner.","severity":"high","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["aws","ci","developer-workstations","javascript","lab-disclosure","package","projen","typescript"],"not_affected_if":["not-using-projen"],"how_to_check":"- Check the installed version with `npx projen --version` or `grep -A1 '\"projen\"' package.json` and compare to `0.101.37` and `0.103.0`\n- Review `.projen/files.json` in version control history for entries that point outside the project directory\n- Review `.projen/tasks.json` and project configuration values (for example LambdaFunctionOptions.entrypoint, JestOptions.extraCliOptions, PytestOptions.testMatch, ReleaseOptions.artifactsDirectory) for shell metacharacters","fix":"- Upgrade projen to `0.103.0` or later (`0.101.37` or later fixes only CVE-2026-89065)\n- Re-synthesize the project after upgrading (run `npx projen`) so `.projen/tasks.json` is regenerated and committed\n- Remove any out-of-directory entries from `.projen/files.json` and any shell metacharacters from configuration values before running projen","status":"open","published_at":null,"first_seen_at":"2026-10-24T19:12:58+00:00","triaged_at":"2026-10-25T04:51:37+00:00","updated_at":"2026-10-25T17:17:31+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T04:51:37Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade projen to `0.103.0` or later (`0.101.37` or later fixes only CVE-2026-89065)\n- Re-synthesize the project after upgrading (run `npx projen`) so `.projen/tasks.json` is regenerated and committed\n- Remove any out-of-directory entries from `.projen/files.json` and any shell metacharacters from configuration values before running projen","reach":"unknown","title":"projen: path traversal deletes files outside project; command injection via config values","impact":"high","summary":"projen, a tool that generates project configuration files, has two flaws: a crafted entry in .projen/files.json can make it recursively delete files outside the project directory, and shell metacharacters in project configuration values or repository file names can be injected into generated task definitions in .projen/tasks.json. An attacker who can change those files or names can run arbitrary commands on a developer workstation or CI runner.","category":"package","nicknames":[],"who_cares":["projen","typescript","javascript","ci","developer-workstations"],"confidence":0.8,"needs_auth":"unknown","worst_case":"Arbitrary commands run on developer workstations or CI runners; files deleted outside project","analyst_note":"Check the AWS bulletin 2026-108-AWS and GHSA-q6g4-h6vc-vqm8 for exploitation conditions and whether the injection is reachable without repository write access.","how_to_check":"- Check the installed version with `npx projen --version` or `grep -A1 '\"projen\"' package.json` and compare to `0.101.37` and `0.103.0`\n- Review `.projen/files.json` in version control history for entries that point outside the project directory\n- Review `.projen/tasks.json` and project configuration values (for example LambdaFunctionOptions.entrypoint, JestOptions.extraCliOptions, PytestOptions.testMatch, ReleaseOptions.artifactsDirectory) for shell metacharacters","needs_analyst":true,"not_affected_if":["not-using-projen"],"who_is_affected":"Any project that uses projen before 0.101.37 (path traversal) or before 0.103.0 (command injection) is exposed. The command injection needs attacker influence over project configuration values or repository file names, so it matters most for projects that accept outside contributions or run projen on CI runners. Projects not using projen can skip it.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000848,"input_tokens":4293,"output_tokens":838,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-108':140C '-2026':2A,6A,106C,110C,122C,126C,192C,260C,327C,335C,339C,362C,425C,449C,483C,491C '-89065':3A,107C,123C,193C,328C,340C,426C,484C '-89066':7A,111C,127C,261C,336C,363C,450C,492C '0.101.37':207C,325C,347C,350C '0.103.0':280C,333C,370C '00':153C '09':152C '09/11/2026':151C '2026':139C '6x86':20A,25A,488C '7p65':19A,24A,487C 'addbundleopt':457C 'address':343C,366C 'advisori':468C 'affect':179C 'allow':209C,282C 'alon':389C 'appli':248C 'arbitrari':96B,289C 'attack':86B,213C,286C 'attent':148C 'audit':451C 'automat':247C 'aw':27B,141C,143C,173C 'aws-security@amazon.com':500C 'bulletin':137C 'chang':89B 'check':245C 'ci':28B,103B 'cleanup':184C,202C 'code':172C,415C 'command':15A,97B,119C,135C,271C,290C 'commit':400C 'compon':185C,190C,203C,276C 'concern':506C 'configur':45B,70B,170C,304C,453C 'consum':238C 'contain':244C 'content':144C 'context':211C,284C 'context-depend':210C,283C 'continu':296C 'control':231C,430C 'correct':243C,385C 'craft':51B,225C 'cve':1A,5A,105C,109C,121C,125C,191C,259C,326C,334C,338C,361C,424C,448C,482C,490C 'date':150C 'defin':165C 'definit':82B,316C,387C,397C 'delet':59B,216C 'depend':212C,285C 'deriv':414C 'descript':156C 'develop':30B,100B,293C 'developer-workst':29B 'directori':64B,219C,223C,440C 'disclosur':35B 'element':266C 'email':499C 'ensur':412C 'entri':52B,226C,435C 'escap':437C,475C 'execut':288C 'field':458C 'file':46B,60B,74B,91B,182C,200C,217C,233C,308C,398C 'fix':422C 'flaw':49B 'generat':43B,80B,181C,199C,232C,314C,395C 'ghsa':18A,23A,486C,494C 'ghsa-7p65-6x86-v7f3':17A,22A,485C 'ghsa-q6g4-h6vc-vqm8':493C 'h6vc':496C 'histori':431C 'id':138C 'identifi':174C 'impact':319C 'import':146C 'improp':262C 'includ':455C 'incorpor':419C 'inject':16A,78B,120C,136C 'integr':297C 'interpol':312C 'issu':8A,112C,128C,176C 'javascript':32B 'jestoptions.extraclioptions':459C 'lab':34B 'lab-disclosur':33B 'lambdafunctionoptions.entrypoint':456C 'later':352C 'latest':409C 'list':465C 'make':56B 'manifest':183C,201C,234C 'metacharact':67B,301C,471C 'might':208C,281C 'must':374C 'name':75B,93B,309C 'neutral':263C 'new':421C 'next':254C 'open':161C 'open-sourc':160C 'os':14A,118C,134C,270C 'outsid':61B,220C 'packag':36B 'patch':417C 'path':11A,115C,131C,195C 'pdt':155C 'pleas':498C 'prior':444C,477C 'project':44B,63B,69B,169C,222C,240C,303C,379C,439C,452C 'projen':10A,37B,39B,114C,130C,157C,178C,205C,251C,278C,322C,330C,345C,368C,447C,480C 'projen/files.json':54B,235C,433C 'projen/tasks.json':84B,318C,382C 'properti':464C 'public':149C 'pytestoptions.testmatch':460C 'q6g4':495C 'question':504C 're':356C,376C 're-synthes':375C 're-synthesi':355C 'recommend':405C 'recurs':58B,215C 'refer':481C 'regener':381C 'relat':194C 'releaseoptions.artifactsdirectory':461C 'remov':442C,473C 'repositori':73B,307C,403C 'requir':147C,360C 'resolut':337C 'review':427C 'run':95B,258C,446C,479C 'runner':104B,298C 'runtim':252C 'scope':142C 'secur':503C 'shell':66B,300C,470C 'softwar':168C 'sourc':162C 'special':265C 'suffici':354C,392C 'synthes':167C,377C 'synthesi':189C,241C,275C,357C 'task':81B,188C,274C,315C,386C,396C 'time':255C 'tool':41B,163C 'travers':12A,116C,132C,196C 'two':48B,175C 'type':145C 'typescript':38B 'upgrad':348C,372C,388C,406C 'use':267C 'v7f3':21A,26A,489C 'valu':71B,305C,454C 'version':230C,320C,323C,331C,346C,369C,410C,429C 'version-control':229C 'via':224C,299C 'vqm8':497C 'workaround':423C 'workstat':31B,101B,294C","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":"Any project that uses projen before 0.101.37 (path traversal) or before 0.103.0 (command injection) is exposed. The command injection needs attacker influence over project configuration values or repository file names, so it matters most for projects that accept outside contributions or run projen on CI runners. Projects not using projen can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":null,"kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"lab","external_id":"https://aws.amazon.com/security/security-bulletins/rss/2026-108-aws/#GHSA-7p65-6x86-v7f3","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"}],"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"}