{"items":[{"id":"NVI-00017503","kind":"vulnerability","title":"oras-go has file store write outside workingDir via symlink traversal","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-8xwf-rjm4-xvhv","CVE-2026-50162"],"plain_summary":"GitHub lists this reviewed advisory for oras.land/oras-go/v2. 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-0be0220fb2007996cc940e9833ca45ed"],"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-0be0220fb2007996cc940e9833ca45ed","url":"https://github.com/advisories/GHSA-8xwf-rjm4-xvhv","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-8xwf-rjm4-xvhv","publisher":"GitHub Advisory Database","observed_at":"2026-11-05T03:47:42.887Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0be0220fb2007996cc940e9833ca45ed"],"technology":"oras.land/oras-go/v2","known_exclusions":[],"conditions_summary":"The file content store in `oras-go` attempts to confine writes to `workingDir` when `AllowPathTraversalOnWrite=false`, but the guard is lexical and does not account for symlink traversal. If `workingDir` contains a symlink path component and an attacker-controlled blob title (via `ocispec.AnnotationTitle`) targets a path under that symlink, `pushFile()` can create a file outside `workingDir`.\n\n## relevant links\n\n- repository: https://github.com/oras-project/oras-go\n- commit: 03243809936cce826494b5506f724c6dc11115b1\n- callsite: content/file/file.go:609 `resolveWritePath()` (used by `pushFile()`)\n\n## vulnerability details\n\n**pins:** oras-project/oras-go@03243809936cce826494b5506f724c6dc11115b1\n\n**as-of:** 2026-02-17\n\n**policy:** GitHub Security Advisory (oras-project/oras-go)\n\n**callsite:** content/file/file.go:609 `resolveWritePath()` → `pushFile()`\n\n**attacker control:** Attacker controls the pushed name (`ocispec.AnnotationTitle`) and can select a path with a symlink path component under `workingDir` → `resolveWritePath()` blocks `..` via `filepath.Rel` but does not prevent symlink traversal → `pushFile()` opens/creates the final path and follows the symlink → a file is created ou","public_affected_ranges":["< 2.6.1"]}],"null_published_at":"2026-11-05T19:10:21.399Z","source_updated_at":"2026-07-01T21:43:12.000Z","source_disclosed_at":"2026-07-01T21:43:10.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-05T03:47:42.887Z"}],"next_cursor":null,"snapshot_revision":"42594"}