{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-58139 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-58139 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-58139 is a medium-severity vulnerability in duckdb-aws, published on 3 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-58139 and fix it if it is affected.\n\nWhat it is: CVE-2026-58139 is a medium-severity vulnerability in duckdb-aws, published on 3 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-58139 in the wild and no public exploit code.\n\nAffected product: duckdb-aws. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-58139/ (Markdown: https://insights.sbomify.com/CVE-2026-58139/index.md)","id":"CVE-2026-58139","markdown":"https://insights.sbomify.com/CVE-2026-58139/index.md","name":"CVE-2026-58139","record":{"aliases":["GHSA-g2r8-97m7-62w9"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"DuckDB AWS extension","requires_auth":"low_privilege","summary":"Attackers with SQL access can bypass redaction policies to extract plaintext AWS credentials via the load_aws_credentials function in the DuckDB AWS extension.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"DuckDB AWS Extension Security Policy Bypass via load_aws_credentials Procedure","id":"CVE-2026-58139","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Cotonti Siena 0.9.26 CSRF via admin.php Config Update Endpoint","id":"CVE-2026-58143"},"packages":[],"prev":{"headline":"Orkes Conductor 3.21.21 \u003c 3.30.2 Unauthenticated RCE via GraalVM Script Evaluators","id":"CVE-2026-58138"},"products":["duckdb-aws"],"published":"2026-08-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-14","vendors":["duckdb"]},"summary":"Attackers with SQL access can bypass redaction policies to extract plaintext AWS credentials via the load_aws_credentials function in the DuckDB AWS extension.","url":"https://insights.sbomify.com/CVE-2026-58139/"}