{"answers":{"affected":"3 open source packages ship an affected version, including oras.land/oras-go/v2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50151 exists.","fix":"Upgrade oras.land/oras-go/v2 to 2.6.1 or later.","what":"CVE-2026-50151 is a high-severity server-side request forgery vulnerability in oras-project oras-go, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50151 and fix it if it is affected.\n\nWhat it is: CVE-2026-50151 is a high-severity server-side request forgery vulnerability in oras-project oras-go, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50151 exists.\n\nAffected packages and fixed versions:\n- oras.land/oras-go/v2 (Go): affected all versions; fixed in 2.6.1\n- oras.land/oras-go/v2 (Go): affected all versions; fixed in 2.6.1\n- oras.land/oras-go/v2 (Go): affected all versions; fixed in 2.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50151/ (Markdown: https://insights.sbomify.com/CVE-2026-50151/index.md)","id":"CVE-2026-50151","markdown":"https://insights.sbomify.com/CVE-2026-50151/index.md","name":"CVE-2026-50151","record":{"aliases":["CLEANSTART-2026-BG37104","CLEANSTART-2026-CZ25792","CLEANSTART-2026-GY88228","DEBIAN-CVE-2026-50151","GHSA-jxpm-75mh-9fp7","GO-2026-5882","MINI-2285-gc7h-j6q5","MINI-22qw-7cp4-vp7h","MINI-232q-hx75-3rfp","MINI-26v8-27xc-x3q2","MINI-28qx-xqq8-m3qj","MINI-2hvm-grhw-65r2","MINI-2jp2-jwq7-7rpr","MINI-2mfh-p6j6-ww34","MINI-2w73-5w95-cfhp","MINI-2x38-q759-hccw","MINI-3484-754j-qwmr","MINI-386r-v478-qj8j","MINI-3f8r-cqfg-f56g","MINI-3ghq-3784-87xw","MINI-3gwv-2r4h-rpfm","MINI-3m84-93mr-mhmv","MINI-3mhw-3fwq-79r8","MINI-3p5q-3797-wwfr","MINI-3r7j-fgm2-3j72","MINI-4247-qj69-v49v","MINI-452g-2vrw-7wfh","MINI-45p8-r559-79rq","MINI-46fm-72r5-chqc","MINI-46q6-54qj-jhvx","MINI-46w6-m245-5g8h","MINI-4g33-5w29-5wff","MINI-4gpv-wh7x-3h4h","MINI-4j7h-6pp7-4jmg","MINI-4rfr-4969-3f6p","MINI-5c8r-53jh-qg29","MINI-5cwm-qphv-7whj","MINI-5fq6-2j93-5596","MINI-5fqj-pq7c-7c6q","MINI-5j22-7v8x-cm32","MINI-5p2h-rg83-c439","MINI-5qjm-2587-cx3m","MINI-5v85-hr3q-6gw5","MINI-5w92-5gwx-p45h","MINI-5wcp-9r4f-2jr7","MINI-623j-mq2v-2f77","MINI-62rm-vfch-cq4w","MINI-645x-9fcp-5cw2","MINI-646f-chjv-jv7h","MINI-6494-h6gh-cqm8","MINI-657v-cg7p-j3cq","MINI-66jm-qqrx-hr33","MINI-68p4-hcp9-p46x","MINI-694h-5vj2-6m8w","MINI-69xf-vw98-gxpm","MINI-6fhh-qcvm-4x4p","MINI-6gg2-c295-4g34","MINI-6hh5-jfpg-669f","MINI-6j88-f33p-pq4c","MINI-6mfv-6p5f-3hmg","MINI-6qr8-f4qx-fq6w","MINI-6v4g-rc72-xcw7","MINI-72xm-qgcx-mr9h","MINI-7744-8jv9-5cj7","MINI-7955-w9fq-jf75","MINI-7cvx-33v2-wv2j","MINI-7g96-382v-7hc4","MINI-7j62-68m5-35wv","MINI-7j73-hvmh-6w6j","MINI-7rf7-95ww-9j96","MINI-8322-59jv-q327","MINI-83r3-h3cj-qpr7","MINI-843g-8362-34r2","MINI-8467-865w-jm7w","MINI-8g37-q8m6-8grw","MINI-8hc4-44r4-c63j","MINI-8j5f-qm3c-ww23","MINI-8r4q-3xwm-28g2","MINI-8rj9-fgv7-m96r","MINI-92xq-33v2-rprm","MINI-93f6-rhhm-h2h4","MINI-94q6-v666-35wh","MINI-9j28-5c6w-gc9c","MINI-9j3v-cm96-frvj","MINI-9jhw-f5h7-v5v4","MINI-9m25-8h3w-v8p9","MINI-9mvr-72v9-xp4h","MINI-9p5q-qqvx-wj7p","MINI-9q2v-56hw-mpv4","MINI-9rf3-wm27-44xx","MINI-9vr9-29xf-fvx7","MINI-9x43-82h5-5xxf","MINI-9xr7-qcww-vf4w","MINI-c548-5ff4-ccfq","MINI-c6h2-jp7f-vq9m","MINI-c7qx-3fvq-r2j9","MINI-c8rh-5hrr-7vx9","MINI-ccfp-82v8-9jv7","MINI-cgh3-q8ww-vrfp","MINI-cm64-h9vp-7jpg","MINI-cr2p-h6jj-r3rc","MINI-cw2x-qfx6-86q4","MINI-f226-ghvh-w899","MINI-f2fq-6846-5grc","MINI-f3vv-24fq-fjg2","MINI-f5jq-gg52-6gv4","MINI-f6h2-v3cm-x784","MINI-f6rc-rwrr-wqpc","MINI-f87v-8rwj-x9jv","MINI-fff6-hggf-r58r","MINI-g927-pxpc-3cjj","MINI-g9pm-4mr2-9824","MINI-gj6p-h86x-x78w","MINI-gmcr-wj53-2m95","MINI-gvqq-45x7-6wq4","MINI-gvw8-gpjj-j886","MINI-gwqw-7hfm-g4vc","MINI-h2mp-j482-q8qg","MINI-h3j7-ghr9-679h","MINI-h4p4-5fvx-r693","MINI-h4rv-w7rc-56g2","MINI-h5g3-jqpw-4r2w","MINI-h7vx-h2h9-w56v","MINI-hcp5-9wvg-6xxg","MINI-hhcx-3vpr-65m9","MINI-hhg2-c4pg-wpc2","MINI-hpmf-59rc-4fcv","MINI-hqfx-3v3v-72wg","MINI-hqj2-3qhq-jhq6","MINI-hrgj-f2fj-hc69","MINI-j7p4-hqfj-9h35","MINI-j897-5hcv-5m49","MINI-jf37-ffq5-gw8v","MINI-jm7j-7c9w-7rgr","MINI-jq65-wpqx-v2mx","MINI-jwgr-r4f3-5gcx","MINI-jwp3-98g2-53j5","MINI-jx87-57c4-hg53","MINI-m24f-9hf7-wgc2","MINI-m2v9-r4h4-qqp5","MINI-m375-9hp4-596q","MINI-m7h7-c8g3-j44c","MINI-m873-8c9h-gpcf","MINI-m8gj-mwjg-6wx6","MINI-mcfq-hj35-q39h","MINI-mg4g-gv92-c3gf","MINI-mgxj-3395-pq6v","MINI-mmh2-p8vm-2jxh","MINI-mqmg-c7vc-cfc9","MINI-mx77-4r66-g87w","MINI-mx8x-pgjp-vccv","MINI-mxgv-2mqf-hrrv","MINI-p4m6-6h49-9g45","MINI-p88g-835p-4rg9","MINI-p8p9-9pr9-qhh5","MINI-p9g8-p526-x7fg","MINI-pcvj-2p6m-w239","MINI-pg9r-4r6j-77cg","MINI-pgqg-v2xh-964q","MINI-pjcc-g4qr-wfph","MINI-pjj9-487h-3f9v","MINI-pjvw-4685-6jxq","MINI-pmpp-447w-f645","MINI-ppxf-hfg9-46m7","MINI-pvw5-m2v3-492g","MINI-pwcf-687p-wfj6","MINI-pxgh-h46q-qwpv","MINI-q52v-46xq-2x6w","MINI-q7rx-j4qj-x337","MINI-qfcc-mx8v-5rfp","MINI-qfxr-pm5m-7mvj","MINI-qh9m-72x9-9mcg","MINI-qm94-w322-8476","MINI-qmcv-8vm6-vm69","MINI-qrpp-378m-qg65","MINI-r4vf-rvm9-g2cm","MINI-r75x-68q8-hjvr","MINI-r9fx-vwch-p843","MINI-rc34-crph-x8v2","MINI-rgh3-44gc-rc56","MINI-rjgr-6m89-67rr","MINI-rmp9-4ccc-f9pc","MINI-rprj-6p8v-hvq8","MINI-rvhw-qmqf-m8pj","MINI-rxhc-rvwx-wwrm","MINI-v7f3-7h5v-7gmh","MINI-v7vq-4mv5-62c7","MINI-v9hh-x2g3-5wqq","MINI-vf34-g22c-gwh6","MINI-vfx2-jh3f-vgw2","MINI-vgp9-fm4f-jqx8","MINI-vh9m-c7x8-pchv","MINI-vmvm-hw2c-fmf5","MINI-vp7c-q773-9hph","MINI-vwwx-99c2-3m5q","MINI-vxf9-wh29-mh9m","MINI-w2c9-5842-534m","MINI-w357-x3r2-j45w","MINI-w52g-j8pf-4994","MINI-w8c4-g8gp-52mf","MINI-w8f7-mh8c-pmvr","MINI-wm24-fp26-978g","MINI-wpf3-5x9h-xv9w","MINI-wrx6-3936-f9c7","MINI-wxqv-xf28-ppmc","MINI-wxr7-2g6p-fx7g","MINI-x29c-5wwp-9v92","MINI-x4qv-gc42-7mr7","MINI-x634-hggp-98hh","MINI-x6q7-crph-qfm6","MINI-x96h-87qh-fgxr","MINI-xxwj-2rr5-mwf2","ROOT-APP-GOBINARY-CVE-2026-50151","UBUNTU-CVE-2026-50151","openSUSE-SU-2026:11291-1","openSUSE-SU-2026:11292-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go OCI artifact library","requires_auth":"none","summary":"A malicious registry can steal user credentials by returning a cross-host Location header during blob uploads in the oras-go library.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"oras","vendor":"linuxfoundation"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, registry/remote/repository.go in blobStore.completePushAfterInitialPost follows a registry-controlled Location header during monolithic blob upload and reuses the Authorization header from the initial POST request for the subsequent PUT request, allowing a malicious registry to return a cross-host Location and receive the caller's credentials at an attacker-controlled endpoint. This issue is fixed in version 2.6.1.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"oras-go: credential forwarding via unvalidated Location header in blob upload","id":"CVE-2026-50151","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":5,"n_references":4,"next":{"headline":"Missing authorization in ceph","id":"CVE-2026-50152"},"packages":[{"ecosystem":"Go","fixed":["2.6.1"],"introduced":["0"],"last_affected":[],"package":"oras.land/oras-go/v2","purl":null,"source":"GHSA-jxpm-75mh-9fp7"},{"ecosystem":"Go","fixed":["2.6.1"],"introduced":["0"],"last_affected":[],"package":"oras.land/oras-go/v2","purl":"pkg:golang/oras.land/oras-go/v2","source":"GHSA-jxpm-75mh-9fp7"},{"ecosystem":"Go","fixed":["2.6.1"],"introduced":["0"],"last_affected":[],"package":"oras.land/oras-go/v2","purl":"pkg:golang/oras.land/oras-go/v2","source":"GO-2026-5882"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.2.3-2.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:rpm/opensuse/helm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11291-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.21.3-2.1"],"introduced":["0"],"last_affected":[],"package":"helm3","purl":"pkg:rpm/opensuse/helm3\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11292-1"}],"prev":{"headline":"Contour has Improper JWT Verification for Non-SNI Requests on Virtual Hosts with Fallback Certificate Enabled","id":"CVE-2026-50149"},"products":["oras-go"],"published":"2026-07-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["oras-project"]},"summary":"A malicious registry can steal user credentials by returning a cross-host Location header during blob uploads in the oras-go library.","url":"https://insights.sbomify.com/CVE-2026-50151/"}