Vulnerability
CVE-2026-50162
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, resolveWritePath() in content/file/file.go uses a lexical filepath.Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec.AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir. This issue is fixed in version 2.6.1.
639 advisories report this vulnerability, across 8 ecosystems.
Advisories
- CGA-22cg-g22p-rrm6
- CGA-22px-pp2f-p4xp
- CGA-22vf-59wm-grr4
- CGA-232q-5xj2-jcfv
- CGA-2473-mg2c-w63w
- CGA-24jq-hjf2-7jgr
- CGA-24m3-mrr5-34fw
- CGA-24xg-wq7m-jwrf
- CGA-2522-xc3m-7424
- CGA-26v5-m5hp-xxr3
- CGA-26xj-82vj-m5p7
- CGA-2897-p5gq-59m6
- CGA-29jj-392m-q26g
- CGA-29x4-8qvq-f5f5
- CGA-2c4r-45rq-9cmp
- CGA-2fgr-97h3-p5j4
- CGA-2fh5-jg9f-jrqw
- CGA-2fwg-7452-6v93
- CGA-2fx9-w843-3xr2
- CGA-2g2r-g4qw-4v6v
- CGA-2g8p-wwvc-8xv8
- CGA-2jxw-xvf5-q8fq
- CGA-2m62-fxqr-jx3m
- CGA-2phm-rh9v-wfmq
- CGA-2pqj-fp95-wf44
- CGA-2pr3-x7qh-8928
- CGA-2pr9-6647-hw7x
- CGA-2q6w-qxh4-xc6f
- CGA-2q7m-rfv3-6qvc
- CGA-2rg7-9jj8-7qxc
- CGA-2vfv-v74p-j8pm
- CGA-2w74-9qc7-qf2r
- CGA-2wvv-cxcg-w52w
- CGA-2x2x-w659-gp7r
- CGA-3288-f7xj-qrvg
- CGA-32f8-q5m5-86fx
- CGA-35m5-4w9w-9xgg
- CGA-35mc-8v9q-vjxr
- CGA-379j-q9g7-hp48
- CGA-37h2-6cg4-vc92
- CGA-37r3-fq34-xv22
- CGA-3h2m-55vv-xvjm
- CGA-3h6r-62w3-v2m5
- CGA-3jg9-x3gv-hfc2
- CGA-3jq6-f285-4jg5
- CGA-3jwm-x4r6-p3mm
- CGA-3m6w-w774-8fgc
- CGA-3m86-c8jg-2q8r
- CGA-3m9g-frpf-2j3x
- CGA-3mgq-5cp2-xj56
- CGA-3q34-f57m-f6c2
- CGA-3q5g-7q84-jx4h
- CGA-3r29-94gr-r497
- CGA-3r78-3f58-ph7c
- CGA-3rwh-fqv4-5g9h
- CGA-3v6c-v4q8-f8jc
- CGA-3v9q-m4m7-xg8v
- CGA-3xgh-75v6-72x6
- CGA-3xrc-3qj6-f45c
- CGA-3xwp-qjw6-98hv
- CGA-42gv-3ppx-fgqx
- CGA-42w2-q25x-c7cf
- CGA-439c-f5q2-fvgw
- CGA-4496-jw2f-hj83
- CGA-44g3-3wxp-rrgj
- CGA-468p-c429-jxcf
- CGA-47jj-f3fh-4fxr
- CGA-48xc-m7gr-9xmx
- CGA-495m-3359-5frg
- CGA-4fq4-c8x8-vrm5
- CGA-4fq7-rq3f-vqhp
- CGA-4gm9-mmw5-rff9
- CGA-4gmc-8h5q-r4cw
- CGA-4h8j-f5w3-p3c9
- CGA-4h9q-8fff-94fx
- CGA-4hc3-mqm2-p6vr
- CGA-4hg7-xm6w-j3wp
- CGA-4j7f-g7jf-c8jm
- CGA-4jjw-qhc9-76w9
- CGA-4mg2-v5hc-9w6p
- CGA-4mv7-444j-cmjq
- CGA-4mx9-385q-mpr6
- CGA-4p2m-5gxq-2f96
- CGA-4p3x-cw4p-2pqf
- CGA-4pfx-9xpx-r79h
- CGA-4ppx-693f-qp7c
- CGA-4v3v-8233-5fxw
- CGA-4vcq-23jq-89f5
- CGA-4wpr-wp58-3rfj
- CGA-4xpw-7f27-4j62
- CGA-522j-w9m7-jrfj
- CGA-52wh-866q-93hf
- CGA-53h2-cvfc-73rj
- CGA-5449-qhm3-7883
- CGA-549q-84r2-x9rr
- CGA-54hh-q295-mvg9
- CGA-5564-gv97-7vw9
- CGA-558p-h8hv-mxp5
- CGA-55cv-p526-xg72
- CGA-55g7-g87q-8r23
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-50162.