Skip to content
OpenAdvisories
Medium ALAS2-2026-3203 3 CVEs

Moderate: golang security update (Amazon Linux 2)

Published Mar 16, 2026 · Updated Mar 19, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-27142: Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0. CVE-2026-27139: On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root. CVE-2026-25679: url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.

Fixed packages 7

ReleasePackageFixed in
Amazon Linux · 2 golang 0:1.25.8-1.amzn2.0.1
Amazon Linux · 2 golang-bin 0:1.25.8-1.amzn2.0.1
Amazon Linux · 2 golang-docs 0:1.25.8-1.amzn2.0.1
Amazon Linux · 2 golang-misc 0:1.25.8-1.amzn2.0.1
Amazon Linux · 2 golang-shared 0:1.25.8-1.amzn2.0.1
Amazon Linux · 2 golang-src 0:1.25.8-1.amzn2.0.1
Amazon Linux · 2 golang-tests 0:1.25.8-1.amzn2.0.1

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-25679.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-27139.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-27142.html