CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
CVE details

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.

Score
7.8 high
Published
2026-07-08
Links
NVD · cve.org · Report wrong data

Matched ports (1)

PortPackageVersionStatusMaintainer
lang/gogo1.27_21,2unaddressedgo@FreeBSD.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>go</name>
	<range><lt>1.25.12</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>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.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-39822</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-39822</url>
    </references>
    <dates>
      <discovery>2026-07-08</discovery>
      <entry>2026-10-26</entry>
    </dates>
  </vuln>