CVE-2026-58139CWE-863broken-access-control

CVE-2026-58139

Medium · published August 4, 2026

CVSS v3.1
6.5
EPSS
1%
Percentile
42.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00509 · 42.6th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2026-08-04T00:17Z
References (3)
EPSS history
Timeline
  • 03 AUG 19:45Z
    DuckDB AWS Extension Security Policy Bypass via load_aws_credentials Procedure
    cvelistv5