{"items":[{"id":"NVI-00013890","kind":"vulnerability","title":"Orval: Import-time RCE via query-parameter default -> zod module-level template literal","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-p4cg-3328-rvfg","CVE-2026-72716"],"plain_summary":"GitHub lists this reviewed advisory for orval. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-16d7d55f4a83c88e4fc2f252ce9ec8e2"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-16d7d55f4a83c88e4fc2f252ce9ec8e2","url":"https://github.com/advisories/GHSA-p4cg-3328-rvfg","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-p4cg-3328-rvfg","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T02:21:43.711Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-16d7d55f4a83c88e4fc2f252ce9ec8e2"],"technology":"orval","known_exclusions":[],"conditions_summary":"### Summary\n\nOrval's zod schema generation emits the **query-parameter** `default` value as a module-level template literal\n(`export const …Default = ``;`) without escaping `${` or the backtick. A default of the form\n`v${}w` injects a live JavaScript expression evaluated when the generated zod schema module is\nimported, executing attacker-controlled code at import — no request or function call needed. Verified\non Orval 8.19.0; survives default OpenAPI validation.\n\n### Details\n\n```ts\nexport const …Default = `v${globalThis.ORVPWN()}w`;   // ${...} = arbitrary JS expression, runs at import\n```\n\nMalicious input: a query parameter with a `default` of `v${}w`. `${...}` permits any JS expression.\n\nNote: this is one of several `default`-bearing positions that reach the same unescaped zod\ntemplate-literal sink; a single fix (escape `default` values) closes all of them, and a CNA may choose\nto consolidate the related reports.\n\n### PoC\n\n`reproduce.sh` (+ `make_spec.py`) attached: generates the zod schema with default validation, bundles\nit, imports it, and shows a marker written at import. Verified on 8.19.0.\n\n### Impact\n\nCode execution at import in any application","public_affected_ranges":["< 8.21.0"]}],"null_published_at":"2026-11-02T10:00:37.170Z","source_updated_at":"2026-09-02T14:53:16.000Z","source_disclosed_at":"2026-09-02T14:53:14.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-02T02:21:43.711Z"}],"next_cursor":null,"snapshot_revision":"42594"}