CVE-2026-58139 Details
Description
The DuckDB AWS extension for DuckDB contains a security policy bypass vulnerability that allows any database user with SQL execution permissions to extract plaintext AWS credentials by calling the load_aws_credentials function with the redact_secret parameter set to false, circumventing the database-wide allow_unredacted_secrets=false policy. Attackers can invoke this single function to retrieve the underlying AWS credential chain including access_key_id, secret_access_key, session_token, and region in plaintext, which are immediately valid against AWS APIs and particularly impactful in managed environments where pg_duckdb is preloaded and an AWS credential chain such as IMDSv2, IRSA, ECS task role, or EC2 instance role is reachable.
A security policy bypass vulnerability has been identified in the DuckDB AWS extension. This vulnerability allows any database user with SQL execution permissions to extract plaintext AWS credentials. The issue arises when the load_aws_credentials function is called with the redact_secret parameter set to false, bypassing the database-wide allow_unredacted_secrets=false policy. Exploiting this vulnerability retrieves the AWS credential chain, including access_key_id, secret_access_key, session_token, and region, all in plaintext. These credentials are immediately valid against AWS APIs, posing a significant risk in managed environments where the AWS credential chain is accessible.
Users can update to the latest version of the DuckDB AWS extension, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 3, 2026CISA-ADP
Assessed Aug 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| DuckDB AWS Extension | < 7d04119ee8d3f8836e278f0e8cbf21827ff5338b |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Aug 3, 2026 | New CVE Received | [email protected] |
Volerion