CVE Explorer
CVE-2026-39822
On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will open "symlink" even when "symlink" is a symbolic link pointing outside of the root.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"description":"CWE-61: UNIX Symbolic Link (Symlink) Following","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-61","description":"CWE-61 UNIX Symbolic Link (Symlink) Following","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/adp/0/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"os","product":"os","programRoutines":[{"name":"rootOpenFileNolog"},{"name":"openRootInRoot"},{"name":"OpenInRoot"},{"name":"Root.Create"},{"name":"Root.Open"},{"name":"Root.OpenFile"},{"name":"Root.OpenRoot"},{"name":"Root.ReadFile"},{"name":"Root.WriteFile"},{"name":"rootFS.Open"},{"name":"rootFS.ReadDir"},{"name":"rootFS.ReadFile"}],"vendor":"Go standard library","versions":[{"lessThan":"1.25.12","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.26.5","status":"affected","version":"1.26.0…
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"description":"CWE-61: UNIX Symbolic Link (Symlink) Following","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-61","description":"CWE-61 UNIX Symbolic Link (Symlink) Following","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/adp/0/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://go.dev/cl/797880"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/cna/references/2
{"url":"https://go.dev/issue/79005"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/cna/references/0
{"url":"https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/cna/references/1
{"url":"https://pkg.go.dev/vuln/GO-2026-4970"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dd6dd8791568515d89d66c1589b9052c01837f7662f2fc4fc45e8a8e8f31263a · sha256:d9c35efa12393e5b… · /containers/cna/references/3
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.