A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-47912

CVE-2025-47912: Golang Go URL Parsing Vulnerability

CVE-2025-47912 is a URL parsing flaw in Golang Go where the Parse function incorrectly accepts non-IPv6 values in square brackets. This article covers the technical details, affected versions, security impact, and mitigation.

Published: May 26, 2026

CVE-2025-47912 Overview

CVE-2025-47912 affects the Go standard library net/url package. The Parse function fails to enforce RFC 3986 host-component rules. Specifically, it accepts arbitrary values inside square brackets in a URL host, when those brackets must be reserved for IPv6 literals such as http://[::1]/. IPv4 addresses and hostnames placed within square brackets are accepted without error. Applications that rely on url.Parse to extract or validate the host can be misled into trusting a malformed authority component. This creates an input validation weakness that can support URL parser confusion attacks against Go programs and downstream services.

Critical Impact

Inconsistent URL host parsing in Go can enable validation bypass and parser-differential attacks against allowlists, SSRF filters, and routing logic that depend on url.Parse.

Affected Products

  • Golang Go standard library (net/url package)
  • Applications and services built with affected Go versions that invoke url.Parse
  • Downstream libraries relying on net/url for host validation

Discovery Timeline

  • 2025-10-29 - CVE-2025-47912 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2025-47912

Vulnerability Analysis

The vulnerability is an Improper Input Validation issue in the Go net/url.Parse function. RFC 3986 reserves square brackets in the URL authority component exclusively for IP-literal forms, primarily IPv6 addresses. The Go parser does not enforce this constraint and allows arbitrary content such as IPv4 addresses or DNS hostnames to appear inside brackets. As a result, a URL like http://[127.0.0.1]/ or http://[example.com]/ parses successfully and exposes a host value that does not match what other RFC-compliant parsers would accept.

The practical risk is parser differential behavior. Security controls that perform host allowlisting, SSRF prevention, redirect validation, or origin checks using url.Parse may see one value, while a downstream HTTP client, proxy, or browser interprets the same URL differently. This mismatch can be used to bypass validation logic without triggering an error from the parser.

Root Cause

The root cause is missing structural validation in the host-parsing branch of net/url. The parser strips the surrounding brackets and stores the inner value as the host without verifying that the content is a valid IP-literal as required by RFC 3986 Section 3.2.2.

Attack Vector

An attacker supplies a crafted URL containing bracketed non-IPv6 content to an application that uses url.Parse for validation. The application accepts the URL as well-formed and processes it under incorrect assumptions about the host. Network reachability is sufficient for exploitation, and no authentication or user interaction is required. Exploitation details depend on how the calling application uses the parsed host. See the Go.dev Vulnerability Report for technical specifics.

Detection Methods for CVE-2025-47912

Indicators of Compromise

  • HTTP request logs containing URLs with bracketed hosts that are not valid IPv6 literals, such as http://[127.0.0.1]/ or http://[internal.service]/
  • Outbound connection attempts to internal addresses originating from services that should restrict targets via URL allowlists
  • Discrepancies between logged request URLs and resolved destination hosts

Detection Strategies

  • Inventory Go binaries and modules in the environment and identify those built against vulnerable versions referenced in GO-2025-4010
  • Run govulncheck across source repositories and CI pipelines to flag dependent code paths
  • Inspect web server, proxy, and WAF logs for request URIs containing [ and ] in the host position

Monitoring Recommendations

  • Alert on URLs whose bracketed host content fails strict IPv6 validation at ingress proxies
  • Correlate application logs of parsed host values with actual TCP destinations to detect parser-differential behavior
  • Track outbound requests from internet-facing Go services to RFC 1918 ranges and other internal targets

How to Mitigate CVE-2025-47912

Immediate Actions Required

  • Upgrade Go to the fixed release identified in the Go security announcement and rebuild affected binaries
  • Run govulncheck ./... against all Go projects to identify code paths that reach the vulnerable function
  • Audit application code that performs host allowlisting or SSRF filtering using url.Parse and add explicit IP-literal validation

Patch Information

The Go team published the fix in change CL 709857, tracked in issue 75678. Details and affected versions are documented in the Go.dev Vulnerability Report GO-2025-4010. Rebuild all Go applications with the patched toolchain — installing a newer Go runtime alone does not update existing binaries.

Workarounds

  • Reject incoming URLs whose host begins with [ unless the bracketed content parses as a valid IPv6 address via net.ParseIP
  • Normalize and re-validate host components after calling url.Parse and before using them in security decisions
  • Place a strict RFC 3986 compliant reverse proxy in front of Go services to filter malformed authority components
bash
# Verify installed Go version and scan modules for the advisory
go version
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGolang Go

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Go.dev Issue Tracker

  • Google Groups Announcement

  • OpenWall OSS Security Discussion
  • Vendor Resources
  • Go.dev Article

  • Go.dev Vulnerability Report
  • Related CVEs
  • CVE-2025-0913: Golang Go Symlink Handling Vulnerability

  • CVE-2022-23806: Golang Go Elliptic Curve Vulnerability

  • CVE-2021-34558: Golang Go TLS Certificate Vulnerability

  • CVE-2023-29402: Golang Go RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English