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. the CNA's CVSS baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(high)
- EG Risk
- 29(Track)EG Risk 29/100SSVC: Track
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%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 22%
- KEV
- Not listed
Published
August 3, 2026
Last Modified
August 14, 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 20× in last 7d / 51× 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.
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 18:42 UTCGHSA enrichment
- 2026-08-19 18:57 UTCEG score recompute
- 2026-08-19 18:57 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 18:19 UTCEG score recompute
- 2026-08-18 18:19 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 16:32 UTCEG score recompute
- 2026-08-17 16:32 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 16:42 UTCEG score recompute
- 2026-08-16 16:42 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 16:57 UTCEG score recompute
- 2026-08-15 16:57 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 17:11 UTCEG score recompute
- 2026-08-14 17:11 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 19:52 UTCGHSA enrichment
- 2026-08-12 20:07 UTCEG score recompute
- 2026-08-12 20:07 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
Show 26 moreShow fewer
- 2026-08-11 20:22 UTCEG score recompute
- 2026-08-11 20:22 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 20:37 UTCGHSA enrichment
- 2026-08-09 20:52 UTCEG score recompute
- 2026-08-09 20:52 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 21:07 UTCGHSA enrichment
- 2026-08-07 21:22 UTCEG score recompute
- 2026-08-07 21:22 UTCGHSA enrichment
- 2026-08-06 21:37 UTCEG score recompute
- 2026-08-06 21:37 UTCGHSA enrichment
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 21:51 UTCEG score recompute
- 2026-08-05 21:51 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 22:06 UTCEG score recompute
- 2026-08-04 22:06 UTCGHSA enrichment
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-03 22:21 UTCEG score recompute
- 2026-08-03 22:21 UTCGHSA enrichment
- 2026-08-03 21:38 UTCEG score recompute
- 2026-08-03 21:38 UTCGHSA enrichment
- 2026-08-03 20:19 UTCEG score recompute
- 2026-08-03 20:13 UTCEG score recompute
- 2026-08-03 20:13 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-863
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.