CVE-2026-58139
Last modified
CVE-2026-58139 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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..
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| duckdb | duckdb-aws | < 7d04119ee8d3f8836e278f0e8cbf21827ff5338b |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-58139?
How severe is CVE-2026-58139?
How do I fix CVE-2026-58139?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-58123Hermes WebUI before 0.51.788 contains an unauthenticated rem…9.8
- CVE-2026-58125Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-58126PACSgear PACS Scan 5.2.1 contains an unauthenticated remote …9.8
- CVE-2026-58127PACSgear MediaWriter 5.2.1 exposes a .NET Remoting TCP servi…9.8
- CVE-2026-5813A weakness has been identified in PHPGurukul Online Course R…7.3
- CVE-2026-58138Orkes Conductor 3.21.21 before 3.30.2 contains an unauthenti…9.8
- CVE-2026-5814A security vulnerability has been detected in PHPGurukul Onl…7.3
- CVE-2026-58143Cotonti Siena 0.9.26 and earlier contains a cross-site reque…8.8
- CVE-2026-58144Cotonti Siena 0.9.26 and earlier contains a stored cross-sit…5.4
- CVE-2026-58148Joomla Extension - chronoengine.com - Stored XSS in ChronoFo…8.7
- CVE-2026-58149Joomla Extension - joomdonation.com - User enumeration in Ev…5.3
- CVE-2026-5815A vulnerability was detected in D-Link DIR-645 1.01/1.02/1.0…8.8
Are you affected by CVE-2026-58139?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
