Advisory record · GHSA-m37j-52j7-pjw7

oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir)

CVSS 8.8 HighEPSS 0.0068 · 52nd percentile

Published by the GitHub Advisory Database at 17 Sept 2026, 17:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
oras.land/oras-go/v2Go<2.6.22.6.2
Identifiers
GHSA-m37j-52j7-pjw7 · CVE-2026-85731 · GO-2026-6499
Weakness (CWE)
CWE-22 · CWE-59
Published
17 Sept 2026
Updated
1 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

oras.land/oras-go/v2 before 2.6.2 allows arbitrary file writes outside the file store root when unpacking tar layers. An attacker who serves a crafted artifact that a victim pulls into a file store with default settings can overwrite files the process can write, potentially leading to code execution. Upgrade to 2.6.2.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0068, the 52nd percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:12 UTC First seen by agentprime
  2. 31 Oct 2026, 14:12 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.