Vulnerabilities in pkg:golang/github.com/aws/aws-advanced-go-wrapper/mysql-driver

PACKAGE
Advisory Identifier: GHSA-r236-5pc3-3qcp
Advisory Summary

CVE-2026-11401 is a HIGH (CVSS 8.0) aws advanced go wrapper has vulnerability (CWE-426: Untrusted Search Path) affecting Github.com/aws/aws advanced go wrapper/awssql/v2 libraries in the Go ecosystem. The issue involves aws advanced go wrapper has privilege escalation in aurora postgresql instance. Remediation is available by upgrading affected packages to version 2.0.1, 1.07, 1.1.2, 1.0.4, 1.1.1, 1.0.7.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/aws/aws-advanced-go-wrapper/mysql-driver

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/aws/aws-advanced-go-wrapper/mysql-driver. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-r236-5pc3-3qcp CVE-2026-11401 HIGH AWS Advanced Go Wrapper has Privilege Escalation in Aurora PostgreSQL instance
GHSA-7wq2-32h4-9hc9 - HIGH AWS Advanced Go Wrapper: Privilege Escalation in Aurora PostgreSQL Instance

CVE-2026-11401 at a Glance

CVE Identifier CVE-2026-11401
GHSA Identifier GHSA-r236-5pc3-3qcp
Severity HIGH
CVSS v3.1 Base Score 8.0
CWE Classification CWE-426: Untrusted Search Path
Affected Product Github.com/aws/aws advanced go wrapper/awssql/v2
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-11401

To remediate this vulnerability, upgrade all affected Github.com/aws/aws advanced go wrapper/awssql/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/aws/aws-advanced-go-wrapper/awssql/v2 fixed: 2.0.1
Upgrade github.com/aws/aws-advanced-go-wrapper/awssql/v2 to 2.0.1
github.com/aws/aws-advanced-go-wrapper/xray fixed: 1.07
Upgrade github.com/aws/aws-advanced-go-wrapper/xray to 1.07
github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager fixed: 1.1.2
Upgrade github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager to 1.1.2
github.com/aws/aws-advanced-go-wrapper/custom-endpoint fixed: 1.0.4
Upgrade github.com/aws/aws-advanced-go-wrapper/custom-endpoint to 1.0.4
github.com/aws/aws-advanced-go-wrapper/federated-auth fixed: 1.1.1
Upgrade github.com/aws/aws-advanced-go-wrapper/federated-auth to 1.1.1
github.com/aws/aws-advanced-go-wrapper/iam fixed: 1.1.1
Upgrade github.com/aws/aws-advanced-go-wrapper/iam to 1.1.1
github.com/aws/aws-advanced-go-wrapper/mysql-driver fixed: 1.1.1
Upgrade github.com/aws/aws-advanced-go-wrapper/mysql-driver to 1.1.1
github.com/aws/aws-advanced-go-wrapper/okta fixed: 1.1.1
Upgrade github.com/aws/aws-advanced-go-wrapper/okta to 1.1.1
github.com/aws/aws-advanced-go-wrapper/pgx-driver fixed: 1.1.1
Upgrade github.com/aws/aws-advanced-go-wrapper/pgx-driver to 1.1.1
github.com/aws/aws-advanced-go-wrapper/otlp fixed: 1.0.7
Upgrade github.com/aws/aws-advanced-go-wrapper/otlp to 1.0.7
github.com/aws/aws-advanced-go-wrapper/auth-helpers fixed: 1.1.1
Upgrade github.com/aws/aws-advanced-go-wrapper/auth-helpers to 1.1.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/aws/aws-advanced-go-wrapper/awssql/v2

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-11401, inspect your project dependencies for Github.com/aws/aws advanced go wrapper/awssql/v2:

inspect dependencies for github.com/aws/aws-advanced-go-wrapper/awssql/v2

Analyze the terminal output to locate any version of Github.com/aws/aws advanced go wrapper/awssql/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-426: Untrusted Search Path, where the product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. In Github.com/aws/aws advanced go wrapper/awssql/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Aurora PostgreSQL is a fully managed relational database engine that's compatible with PostgreSQL. An issue in Aurora PostgreSQL using the AWS Go Wrapper waa identified, see CVE-2026-11401. Impact An issue in AWS Wrappers for Amazon Aurora PostgreSQL may allow for privilege escalation to rds_superuser role. A low privilege authenticated user can create a crafted function that could be executed with permissions of other Amazon Relational Database Service (RDS) users. Impacted versions: AWS Go Wrapper 2026-04-06 Patches This issue has been addressed in AWS Go Wrapper 2026-05-26. Maintainers recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. Workarounds Remove the public schema from the search path. References If there are any questions or comments about this advisory, contact [AWS/Amazon] Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.

CVE-2026-11401 Affected Github.com/aws/aws advanced go wrapper/awssql/v2 Versions

11 component(s)
Fixed Versions:
2.0.11.071.1.21.0.41.1.11.0.7
Product / Package Ecosystem Affected Versions Fixed Version
github.com/aws/aws-advanced-go-wrapper/awssql/v2
Go
< 2.0.1
2.0.1
github.com/aws/aws-advanced-go-wrapper/xray
Go
< 1.07
1.07
github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager
Go
< 1.1.2
1.1.2
github.com/aws/aws-advanced-go-wrapper/custom-endpoint
Go
< 1.0.4
1.0.4
github.com/aws/aws-advanced-go-wrapper/federated-auth
Go
< 1.1.1
1.1.1
github.com/aws/aws-advanced-go-wrapper/iam
Go
< 1.1.1
1.1.1
github.com/aws/aws-advanced-go-wrapper/mysql-driver
Go
< 1.1.1
1.1.1
github.com/aws/aws-advanced-go-wrapper/okta
Go
< 1.1.1
1.1.1
github.com/aws/aws-advanced-go-wrapper/pgx-driver
Go
< 1.1.1
1.1.1
github.com/aws/aws-advanced-go-wrapper/otlp
Go
< 1.0.7
1.0.7
github.com/aws/aws-advanced-go-wrapper/auth-helpers
Go
< 1.1.1
1.1.1

References

Frequently Asked Questions

What is CVE-2026-11401?
CVE-2026-11401 is a security vulnerability in Github.com/aws/aws advanced go wrapper/awssql/v2 involving AWS Advanced Go Wrapper has Privilege Escalation in Aurora PostgreSQL instance under CWE-426: Untrusted Search Path.
Which Github.com/aws/aws advanced go wrapper/awssql/v2 versions are affected?
Affected versions include releases prior to 2.0.1, 1.07, 1.1.2, 1.0.4, 1.1.1, 1.0.7 across affected packages: github.com/aws/aws-advanced-go-wrapper/awssql/v2, github.com/aws/aws-advanced-go-wrapper/xray, github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager, github.com/aws/aws-advanced-go-wrapper/custom-endpoint, github.com/aws/aws-advanced-go-wrapper/federated-auth, github.com/aws/aws-advanced-go-wrapper/iam, github.com/aws/aws-advanced-go-wrapper/mysql-driver, github.com/aws/aws-advanced-go-wrapper/okta, github.com/aws/aws-advanced-go-wrapper/pgx-driver, github.com/aws/aws-advanced-go-wrapper/otlp, github.com/aws/aws-advanced-go-wrapper/auth-helpers.
What version fixes CVE-2026-11401?
Upgrading to 2.0.1, 1.07, 1.1.2, 1.0.4, 1.1.1, 1.0.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/aws/aws-advanced-go-wrapper/awssql/v2 affected?
Yes, github.com/aws/aws-advanced-go-wrapper/awssql/v2 is affected in releases prior to 2.0.1. Upgrade your dependency to 2.0.1 or later.
Is github.com/aws/aws-advanced-go-wrapper/xray affected?
Yes, github.com/aws/aws-advanced-go-wrapper/xray is affected in releases prior to 1.07. Upgrade your dependency to 1.07 or later.
What is the CVSS score of CVE-2026-11401?
CVE-2026-11401 has a CVSS v3.1 base score of 8.0 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-11401?
CVE-2026-11401 is classified under CWE-426: Untrusted Search Path (The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.).
How can I check Go dependencies for CVE-2026-11401?
Run the dependency tree command: 'inspect dependencies for github.com/aws/aws-advanced-go-wrapper/awssql/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r236-5pc3-3qcp",
  "modified" : "2026-06-11T20:33:12Z",
  "published" : "2026-06-11T20:33:12Z",
  "aliases" : [ "CVE-2026-11401" ],
  "summary" : "AWS Advanced Go Wrapper has Privilege Escalation in Aurora PostgreSQL instance",
  "details" : "Aurora PostgreSQL is a fully managed relational database engine that's compatible with PostgreSQL.\n\nAn issue in Aurora PostgreSQL using the AWS Go Wrapper waa identified, see CVE-2026-11401.\n\n\nImpact\nAn issue in AWS Wrappers for Amazon Aurora PostgreSQL may allow for privilege escalation to rds_superuser role. A low privilege authenticated user can create a crafted function that could be executed with permissions of other Amazon Relational Database Service (RDS) users.\n\nImpacted versions: AWS Go Wrapper 2026-04-06\n\nPatches\nThis issue has been addressed in  AWS Go Wrapper 2026-05-26. Maintainers recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. \n\nWorkarounds\nRemove the public schema from the search path.\n\nReferences\nIf there are any questions or comments about this advisory, contact [AWS/Amazon] Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/awssql/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.0.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/xray"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.07"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.06"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/aws-secrets-manager"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.1"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/custom-endpoint"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.0.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/federated-auth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/iam"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/mysql-driver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/okta"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/pgx-driver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/otlp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.0.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/aws/aws-advanced-go-wrapper/auth-helpers"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aws/aws-advanced-go-wrapper/security/advisories/GHSA-r236-5pc3-3qcp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-11401"
  }, {
    "type" : "WEB",
    "url" : "https://aws.amazon.com/security/security-bulletins/2026-039-aws"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aws/aws-advanced-go-wrapper"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aws/aws-advanced-go-wrapper/releases/tag/release-2026-05-26"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-426" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-11T20:33:12Z",
    "nvd_published_at" : "2026-06-05T20:17:28Z"
  }
}