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.
CVE-2026-58139
Score 6.5 from GitHub Security Advisory published 2026-08-03. A secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
An upstream fix is merged but not yet released — mitigate (WAF / firewall / segmentation) until the release ships, then apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5MEDIUMmedium confidence
- EG Risk
- 29EG Risk 29/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation1% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines until it ships, then apply the release. - EPSS PROB
- 0.5%
- EPSS %ILE
- 41st
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines until it ships, then apply the release.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 3, 2026
Last Modified
September 9, 2026
Advisory Details (3)
Auto-updated Aug 3, 2026DuckDB AWS Extension Security Policy Bypass via load_aws_credentials Procedure | Advisories | VulnCheck
https://www.vulncheck.com/advisories/duckdb-aws-extension-security-policy-bypass-via-load-aws-credentials-procedureSecurity: remove deprecated function `load_aws_credentials()`
Fix merged in duckdb/duckdb-aws PR #156 on 2026-06-23 — awaiting tagged release
https://github.com/duckdb/duckdb-aws/pull/156commit 7d04119ee8d3 (duckdb/duckdb-aws)
Fix landed in duckdb/duckdb-aws commit 7d04119ee8d3 — awaiting tagged release
https://github.com/duckdb/duckdb-aws/commit/7d04119ee8d3f8836e278f0e8cbf21827ff5338bVendor Advisories for CVE-2026-58139(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 67× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 157 total refreshes for this CVE.
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 06:17 UTCEG score recompute
- 2026-10-04 06:17 UTCGHSA enrichment
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 17:56 UTCEPSS rescore
- 2026-10-02 10:17 UTCEG score recompute
- 2026-10-02 10:17 UTCGHSA enrichment
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-10-01 02:32 UTCEG score recompute
- 2026-10-01 02:32 UTCGHSA enrichment
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-29 15:22 UTCEPSS rescore
- 2026-09-29 06:37 UTCEG score recompute
- 2026-09-29 06:37 UTCGHSA enrichment
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-27 18:14 UTCEG score recompute
- 2026-09-27 18:14 UTCGHSA enrichment
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 04:46 UTCEG score recompute
- 2026-09-25 04:46 UTCGHSA enrichment
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-24 03:25 UTCEG score recompute
- 2026-09-24 03:25 UTCGHSA enrichment
- 2026-09-23 17:54 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-23 03:39 UTCEG score recompute
- 2026-09-23 03:39 UTCGHSA enrichment
- 2026-09-22 03:54 UTCEG score recompute
- 2026-09-22 03:54 UTCGHSA enrichment
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 04:25 UTCEG score recompute
- 2026-09-20 04:24 UTCGHSA enrichment
- 2026-09-19 04:35 UTCEG score recompute
- 2026-09-19 04:35 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 04:48 UTCEG score recompute
- 2026-09-18 04:48 UTCGHSA enrichment
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-17 05:03 UTCEG score recompute
- 2026-09-17 05:03 UTCGHSA enrichment
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:18 UTCEG score recompute
- 2026-09-16 05:18 UTCGHSA enrichment
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 03:11 UTCEPSS rescore
- 2026-09-15 01:49 UTCGHSA enrichment
- 2026-09-13 20:27 UTCEG score recompute
- 2026-09-13 20:27 UTCGHSA enrichment
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 20:42 UTCEG score recompute
- 2026-09-12 20:42 UTCGHSA enrichment
- 2026-09-11 20:52 UTCEG score recompute
- 2026-09-11 20:52 UTCGHSA enrichment
- 2026-09-10 20:51 UTCEG score recompute
- 2026-09-10 20:51 UTCGHSA enrichment
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 21:05 UTCEG score recompute
- 2026-09-09 21:05 UTCGHSA enrichment
- 2026-09-09 06:44 UTCEG score recompute
- 2026-09-09 06:44 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 18:47 UTCEG score recompute
- 2026-09-07 18:47 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 09:56 UTCEG score recompute
- 2026-09-06 09:56 UTCGHSA enrichment
- 2026-09-05 10:11 UTCEG score recompute
- 2026-09-05 10:11 UTCGHSA enrichment
- 2026-09-04 10:16 UTCEG score recompute
- 2026-09-04 10:16 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 08:41 UTCEG score recompute
- 2026-09-03 08:41 UTCGHSA enrichment
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 22:56 UTCEG score recompute
- 2026-09-01 22:56 UTCGHSA enrichment
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 23:10 UTCGHSA enrichment
- 2026-08-30 21:44 UTCEG score recompute
- 2026-08-30 21:44 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 21:59 UTCEG score recompute
- 2026-08-29 21:59 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 20:02 UTCEG score recompute
- 2026-08-27 20:02 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 19:11 UTCEG score recompute
- 2026-08-26 19:11 UTCGHSA enrichment
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 17:29 UTCEG score recompute
- 2026-08-25 17:29 UTCGHSA enrichment
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 17:44 UTCEG score recompute
- 2026-08-24 17:44 UTCGHSA enrichment
- 2026-08-23 17:58 UTCEG score recompute
- 2026-08-23 17:58 UTCGHSA enrichment
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-58139?
When was CVE-2026-58139 disclosed?
Is CVE-2026-58139 actively exploited?
What is the CVSS score of CVE-2026-58139?
How do I remediate CVE-2026-58139?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-58139
Is Your Infrastructure Affected by CVE-2026-58139?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.