Skip to content
Heist/ feed
Back to feed
UnratedFix available

golang: Fix of 6 CVEs

Type: advisorySources: OSV

- CVE-2026-27142: fix missing escaping of URLs in meta tag content attributes in html/template by tracking the url= portion of the content attribute and applying URL escaping (prerequisite for CVE-2026-39823) - CVE-2026-39826: fix escaper bypass in html/template by treating script type attributes that are empty or whitespace-only as JavaScript - CVE-2026-39825: fix query parameter smuggling in net/http/httputil ReverseProxy by reencoding outbound queries that exceed the urlmaxqueryparams limit so Rewrite hooks cannot be bypassed - CVE-2026-39819: fix 'go bug' writing files with predictable names in the system temporary directory by creating a private directory with os.MkdirTemp, preventing symlink-based file overwrite - CVE-2026-39817: fix 'go tool pack' extracting archive entries to arbitrary filesystem locations by refusing to extract files with directory components - CVE-2026-39823: fix XSS in html/template where ASCII whitespace around the '=' rune in a meta tag content attribute URL bypassed URL escaping

Products
go-toolset, golang, golang-bin, golang-docs, golang-misc, golang-race, golang-src, golang-tests
Affected versions
Not specified
Fixed versions
1.25.7-1.el9_6.tuxcare.els10
CVEs
CVE-2026-27142, CVE-2026-39817, CVE-2026-39819, CVE-2026-39823, CVE-2026-39825, CVE-2026-39826
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:46 UTC · Revision 1

Source evidence

golang: Fix of 6 CVEs

core-osv · Original source

Published 31 Jul 2026, 12:09 UTC

- CVE-2026-27142: fix missing escaping of URLs in meta tag content attributes in html/template by tracking the url= portion of the content attribute and applying URL escaping (prerequisite for CVE-2026-39823) - CVE-2026-39826: fix escaper bypass in html/template by treating script type attributes that are empty or whitespace-only as JavaScript - CVE-2026-39825: fix query parameter smuggling in net/http/httputil ReverseProxy by reencoding outbound queries that exceed the urlmaxqueryparams limit so Rewrite hooks cannot be bypassed - CVE-2026-39819: fix 'go bug' writing files with predictable names in the system temporary directory by creating a private directory with os.MkdirTemp, preventing symlink-based file overwrite - CVE-2026-39817: fix 'go tool pack' extracting archive entries to arbitrary filesystem locations by refusing to extract files with directory components - CVE-2026-39823: fix XSS in html/template where ASCII whitespace around the '=' rune in a meta tag content attribute URL bypassed URL escaping

osv:CLSA-2026-1781256571

go-toolset

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

golang

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

golang-bin

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

golang-docs

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

golang-misc

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

golang-race

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

golang-src

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

golang-tests

Fixed versions: 1.25.7-1.el9_6.tuxcare.els10

Complete source record
{
  "id": "b682aa794c22826e5f2e8deb2ef19f40910db084bb54b86904f5b3e3c29fc592",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1781256571",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "golang: Fix of 6 CVEs",
    "summary": "- CVE-2026-27142: fix missing escaping of URLs in meta tag content attributes in html/template by tracking the url= portion of the content attribute and applying URL escaping (prerequisite for CVE-2026-39823) - CVE-2026-39826: fix escaper bypass in html/template by treating script type attributes that are empty or whitespace-only as JavaScript - CVE-2026-39825: fix query parameter smuggling in net/http/httputil ReverseProxy by reencoding outbound queries that exceed the urlmaxqueryparams limit so Rewrite hooks cannot be bypassed - CVE-2026-39819: fix 'go bug' writing files with predictable names in the system temporary directory by creating a private directory with os.MkdirTemp, preventing symlink-based file overwrite - CVE-2026-39817: fix 'go tool pack' extracting archive entries to arbitrary filesystem locations by refusing to extract files with directory components - CVE-2026-39823: fix XSS in html/template where ASCII whitespace around the '=' rune in a meta tag content attribute URL bypassed URL escaping",
    "evidence": "osv:CLSA-2026-1781256571",
    "products": [
      {
        "name": {
          "value": "go-toolset",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-bin",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-docs",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-misc",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-race",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-src",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/6/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-tests",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.25.7-1.el9_6.tuxcare.els10",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1781256571",
      "aliases": [
        "CLSA-2026-1781256571"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "go-toolset",
            "purl": "pkg:rpm/tuxcare/go-toolset?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "golang",
            "purl": "pkg:rpm/tuxcare/golang?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-bin",
            "purl": "pkg:rpm/tuxcare/golang-bin?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-docs",
            "purl": "pkg:rpm/tuxcare/golang-docs?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-misc",
            "purl": "pkg:rpm/tuxcare/golang-misc?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-race",
            "purl": "pkg:rpm/tuxcare/golang-race?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-src",
            "purl": "pkg:rpm/tuxcare/golang-src?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.25.7-1.el9_6.tuxcare.els10"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-tests",
            "purl": "pkg:rpm/tuxcare/golang-tests?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1781256571.json"
          }
        }
      ],
      "modified": "2026-10-26T09:43:16.076981870Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-27142",
        "CVE-2026-39817",
        "CVE-2026-39819",
        "CVE-2026-39823",
        "CVE-2026-39825",
        "CVE-2026-39826"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1781256571.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-27142",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39817",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39819",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39823",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39825",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39826"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-27142",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-39817",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-39819",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-39823",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-39825",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-39826",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 449795,
  "published_at": "2026-07-31T12:09:14+00:00"
}