Amazon Athena ODBC Driver

Amazon.com Services LLC · Amazon.AthenaODBCDriver.2

Athena ODBC 2.x driver

Use an ODBC connection to connect to Athena from third-party SQL client tools and applications.

winget install --id Amazon.AthenaODBCDriver.2 --exact --source winget

Latest 2.1.0.0

Release Notes

The Amazon Athena The Amazon Athena ODBC v2.1.0.0 driver includes security improvements. This release enhances authentication flows, query processing, and transport security. We recommend upgrading to this version as soon as possible. Breaking changes

  • SSL certificate validation enabled by default – The driver now enforces SSL certificate verification when connecting to identity providers. If you use a local identity provider without a valid SSL certificate, you must explicitly set SSL_Insecure=1 in your connection string. For more information, see SSL insecure (IdP).
  • TLS 1.2 minimum enforced – The driver no longer accepts TLS 1.0 or TLS 1.1 connections to identity providers. All IdP connections now require TLS 1.2 or later.
  • BrowserSSOOIDC authentication flow updated – The BrowserSSOOIDC plugin now uses Authorization Code with PKCE instead of Device Code Authorization. A new optional parameter listen_port (default 7890) is available for the OAuth 2.0 callback server. You may need to allowlist this port on your network. The default scope has changed to sso:account:access. For more information, see Browser SSO OIDC. Improvements
  • BrowserSSOOIDC – Migrated from Device Code flow to Authorization Code with PKCE for improved security.
  • BrowserAzureAD – Added PKCE (Proof Key for Code Exchange) to the OAuth 2.0 authorization flow to prevent authorization code interception attacks.
  • BrowserSAML – Added RelayState CSRF protection to prevent SAML token injection attacks.
  • Credentials cache – Starting in v2.1.0.0, cached credentials are stored as plaintext JSON in the user-profile/.athena-odbc/ directory with file permissions restricted to the owning user, consistent with how the AWS CLI protects locally stored credentials.
  • IAM Profile – Added support for EcsContainer and Environment credential sources in addition to the existing Ec2InstanceMetadata.
  • Connection string parser – Implemented proper ODBC }} escape handling.
  • Catalog queries – Added SQL identifier escaping for schema names and table patterns.
  • ODBC pattern matching – Replaced regex-based matching with direct ODBC LIKE wildcard matcher.
  • XML parsing – Added recursion depth limit (100 levels) and size limit (1MB) for SAML tokens.
  • ADFS authentication – Added response size limit (200KB) for ADFS server responses. Fixes
  • Fixed improper neutralization of special elements in authentication components that could allow code execution or authentication flow redirection via crafted connection parameters. Affects BrowserSSOOIDC, BrowserAzureAD, and BrowserSAML plugins.
  • Fixed improper neutralization of special elements in query processing components that could allow denial of service or SQL injection via crafted table metadata.
  • Fixed improper certificate validation when connecting to identity providers.
  • Fixed missing authentication security controls in browser-based authentication flows, including PKCE for OAuth, CSRF protection for SAML, secure credential caching, and exclusive callback port binding.
  • Fixed uncontrolled resource consumption in parsing components that could allow denial of service via crafted input patterns, unbounded server responses, or deeply nested XML payloads.
  • Fixed an issue where SQLColumns and SQLTables returned no results when using UseSingleCatalogAndSchema=1 with cross-account federated catalogs in Power BI Import mode. To download the new ODBC v2 driver, see ODBC 2.x driver download. For connection information, see Amazon Athena ODBC 2.x.

Installer type: wix

Architecture Scope Download SHA256
x64 Download 2417F304F423744C2E468347DD9372C4CF0B008D7F7DB0D5477CA911A099B6E0

Details

Homepage
https://docs.aws.amazon.com/athena/latest/ug/odbc-v2-driver.html
License
Proprietary
Publisher
Amazon.com Services LLC
Support
https://console.aws.amazon.com/support/home/
Privacy Policy
https://aws.amazon.com/privacy/
Copyright
© 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Tags

athenaawsodbc

Older versions (5)

2.0.6.0
Architecture Scope Download SHA256
x64 Download E08584D9C9486D90D2A43219EBE12BDBF955D594D15BE18CC9654E1C45B98875
2.0.5.1
Architecture Scope Download SHA256
x64 Download D4B1DDE57928EC71A883AE858FBF8231F5ABCA3FBA3D25CED1BD1BF4C02230D8
2.0.5.0
Architecture Scope Download SHA256
x64 Download 72EFFF2EFA71CD6F068BC5C430C8553439E06829EFEB95DE0594D36C9B264753
2.0.4.0
Architecture Scope Download SHA256
x64 Download C4A9B166FBE7BFB825C2568D0A50B006C74B15B8438624992FF071AF54EC0D0A
2.0.3.0
Architecture Scope Download SHA256
x64 Download 9A0F76B07E884DEEBCF4D167D3E258664FF34C9695F18E81EBEC9B8633F91809