{"items":[{"id":"NVI-00014155","kind":"vulnerability","title":"Orval: Import-time RCE via enum-typed default -> zod module-level template literal","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3575-w9fc-c2j6","CVE-2026-71868"],"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-5114f86f91bb9d9dad6fd11d1dd4dbac"],"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-5114f86f91bb9d9dad6fd11d1dd4dbac","url":"https://github.com/advisories/GHSA-3575-w9fc-c2j6","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3575-w9fc-c2j6","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T02:21:29.477Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5114f86f91bb9d9dad6fd11d1dd4dbac"],"technology":"orval","known_exclusions":[],"conditions_summary":"### Summary\n\nOrval's zod schema generation emits the **enum-typed** `default` value as a module-level template literal (`export const …Default = ``;`) without escaping `${` or the backtick. A default of the form `v${}w` injects a live JavaScript expression evaluated when the generated zod schema module is imported, executing attacker-controlled code at import — no request or function call needed. Verified on 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: an enum-typed property 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 template-literal sink; a single fix (escape `default` values) closes all of them, and a CNA may choose to consolidate the related reports.\n\n### PoC\n\n`reproduce.sh` (+ `make_spec.py`) attached: generates the zod schema with default validation, bundles it, 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.214Z","source_updated_at":"2026-09-03T18:20:56.000Z","source_disclosed_at":"2026-09-03T18:20:55.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:29.477Z"}],"next_cursor":null,"snapshot_revision":"42594"}