{"id":"CVE-2026-89066","kind":"vulnerability","aliases":["CVE-2026-89066"],"related":[],"title":"projen: shell metacharacters in project config run commands on developer machines","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, puts project configuration values and repository file names into generated task definitions without escaping shell metacharacters. An attacker who controls those values can run arbitrary commands on a developer workstation or CI runner when the tasks run.","severity":"high","cvss":8.4,"epss":0.00234,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["aws","ci","developer-tooling","javascript","lab-disclosure","package","projen","typescript"],"not_affected_if":["no-untrusted-config-input","projen-0.103.0-or-later"],"how_to_check":"- Check the installed version with `npx projen --version` or by reading `projen` in `package.json`; versions below `0.103.0` are affected.\n- Look for `.projen/tasks.json` in the repository and review it for shell metacharacters (such as `;`, `|`, `$(`, backticks) in task commands.\n- Review project configuration values named in the advisory (LambdaFunctionOptions.entrypoint, AddBundleOptions, JestOptions.extraCliOptions, PytestOptions.testMatch, ReleaseOptions.artifactsDirectory) for shell metacharacters.","fix":"- Upgrade `projen` to `0.103.0` or later.\n- Re-run `npx projen` to regenerate `.projen/tasks.json`, then commit the regenerated file, since upgrading alone does not fix the committed task definitions.\n- Until upgraded, remove shell metacharacters from the listed configuration values and file names.","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:37+00:00","updated_at":"2026-10-25T12:38:49+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T05:29:37Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade `projen` to `0.103.0` or later.\n- Re-run `npx projen` to regenerate `.projen/tasks.json`, then commit the regenerated file, since upgrading alone does not fix the committed task definitions.\n- Until upgraded, remove shell metacharacters from the listed configuration values and file names.","reach":"local","title":"projen: shell metacharacters in project config run commands on developer machines","impact":"high","summary":"projen, a tool that generates project configuration, puts project configuration values and repository file names into generated task definitions without escaping shell metacharacters. An attacker who controls those values can run arbitrary commands on a developer workstation or CI runner when the tasks run.","category":"package","nicknames":[],"who_cares":["projen","typescript","javascript","ci","developer-tooling"],"confidence":0.8,"needs_auth":"unknown","worst_case":"Attacker runs arbitrary commands on developer workstations or CI runners","analyst_note":"","how_to_check":"- Check the installed version with `npx projen --version` or by reading `projen` in `package.json`; versions below `0.103.0` are affected.\n- Look for `.projen/tasks.json` in the repository and review it for shell metacharacters (such as `;`, `|`, `$(`, backticks) in task commands.\n- Review project configuration values named in the advisory (LambdaFunctionOptions.entrypoint, AddBundleOptions, JestOptions.extraCliOptions, PytestOptions.testMatch, ReleaseOptions.artifactsDirectory) for shell metacharacters.","needs_analyst":false,"not_affected_if":["projen-0.103.0-or-later","no-untrusted-config-input"],"who_is_affected":"Any project that uses projen below 0.103.0 and synthesizes its tasks is exposed, mainly where project configuration or file names come from untrusted contributors or pull requests. Developer workstations and CI runners that run projen tasks are the places where code would execute. Projects on 0.103.0 or later, which have re-synthesized, are not affected.","user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000806,"input_tokens":4308,"output_tokens":750,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-108':109C '-2026':13A,16A,75C,79C,91C,95C,161C,229C,296C,304C,308C,331C,394C,418C,452C,460C '-89065':76C,92C,162C,297C,309C,395C,453C '-89066':14A,17A,80C,96C,230C,305C,332C,419C,461C '0.101.37':176C,294C,316C,319C '0.103.0':249C,302C,339C '00':122C '09':121C '09/11/2026':120C '2026':108C '6x86':457C '7p65':456C 'addbundleopt':426C 'address':312C,335C 'advisori':437C 'affect':148C 'allow':178C,251C 'alon':358C 'appli':217C 'arbitrari':61B,258C 'attack':54B,182C,255C 'attent':117C 'audit':420C 'automat':216C 'aw':18B,110C,112C,142C 'aws-security@amazon.com':469C 'bulletin':106C 'check':214C 'ci':19B,68B 'cleanup':153C,171C 'code':141C,384C 'command':8A,62B,88C,104C,240C,259C 'commit':369C 'compon':154C,159C,172C,245C 'concern':475C 'config':6A 'configur':36B,39B,139C,273C,422C 'consum':207C 'contain':213C 'content':113C 'context':180C,253C 'context-depend':179C,252C 'continu':265C 'control':56B,200C,399C 'correct':212C,354C 'craft':194C 'cve':12A,15A,74C,78C,90C,94C,160C,228C,295C,303C,307C,330C,393C,417C,451C,459C 'date':119C 'defin':134C 'definit':48B,285C,356C,366C 'delet':185C 'depend':181C,254C 'deriv':383C 'descript':125C 'develop':10A,21B,65B,262C 'developer-tool':20B 'directori':188C,192C,409C 'disclosur':26B 'element':235C 'email':468C 'ensur':381C 'entri':195C,404C 'escap':50B,406C,444C 'execut':257C 'field':427C 'file':43B,151C,169C,186C,202C,277C,367C 'fix':391C 'generat':34B,46B,150C,168C,201C,283C,364C 'ghsa':455C,463C 'ghsa-7p65-6x86-v7f3':454C 'ghsa-q6g4-h6vc-vqm8':462C 'h6vc':465C 'histori':400C 'id':107C 'identifi':143C 'impact':288C 'import':115C 'improp':231C 'includ':424C 'incorpor':388C 'inject':89C,105C 'integr':266C 'interpol':281C 'issu':81C,97C,145C 'javascript':23B 'jestoptions.extraclioptions':428C 'lab':25B 'lab-disclosur':24B 'lambdafunctionoptions.entrypoint':425C 'later':321C 'latest':378C 'list':434C 'machin':11A 'manifest':152C,170C,203C 'metacharact':3A,52B,270C,440C 'might':177C,250C 'must':343C 'name':44B,278C 'neutral':232C 'new':390C 'next':223C 'open':130C 'open-sourc':129C 'os':87C,103C,239C 'outsid':189C 'packag':27B 'patch':386C 'path':84C,100C,164C 'pdt':124C 'pleas':467C 'prior':413C,446C 'project':5A,35B,38B,138C,191C,209C,272C,348C,408C,421C 'projen':1A,28B,30B,83C,99C,126C,147C,174C,220C,247C,291C,299C,314C,337C,416C,449C 'projen/files.json':204C,402C 'projen/tasks.json':287C,351C 'properti':433C 'public':118C 'put':37B 'pytestoptions.testmatch':429C 'q6g4':464C 'question':473C 're':325C,345C 're-synthes':344C 're-synthesi':324C 'recommend':374C 'recurs':184C 'refer':450C 'regener':350C 'relat':163C 'releaseoptions.artifactsdirectory':430C 'remov':411C,442C 'repositori':42B,276C,372C 'requir':116C,329C 'resolut':306C 'review':396C 'run':7A,60B,73B,227C,415C,448C 'runner':69B,267C 'runtim':221C 'scope':111C 'secur':472C 'shell':2A,51B,269C,439C 'softwar':137C 'sourc':131C 'special':234C 'suffici':323C,361C 'synthes':136C,346C 'synthesi':158C,210C,244C,326C 'task':47B,72B,157C,243C,284C,355C,365C 'time':224C 'tool':22B,32B,132C 'travers':85C,101C,165C 'two':144C 'type':114C 'typescript':29B 'upgrad':317C,341C,357C,375C 'use':236C 'v7f3':458C 'valu':40B,58B,274C,423C 'version':199C,289C,292C,300C,315C,338C,379C,398C 'version-control':198C 'via':193C,268C 'vqm8':466C 'without':49B 'workaround':392C 'workstat':66B,263C","nicknames":[],"mitigations":[],"who_affected":"Any project that uses projen below 0.103.0 and synthesizes its tasks is exposed, mainly where project configuration or file names come from untrusted contributors or pull requests. Developer workstations and CI runners that run projen tasks are the places where code would execute. Projects on 0.103.0 or later, which have re-synthesized, are not affected.","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:H/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-89066","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-24T19:12:58+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-89066","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89066","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-89066","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-89066","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"}