Intel

AIKIDO-2026-78931

awswrangler is vulnerable to Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CVE-2026-119301Published Nov 5, 2026
November 5, 2026

50

CVE Score

Medium

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Are you affected? Scan for Free

TL;DR

awswrangler.athena.to_iceberg() interpolates table and column names into Athena Iceberg CREATE TABLE, ALTER TABLE, and DML SQL without escaping embedded backticks or double quotes; column names may come from the DataFrame and Glue schema reconciliation. If an attacker can influence those identifiers and induce a call, they can break out of identifier syntax and inject SQL executed with the application's Athena permissions, affecting data and schema integrity and query availability. The fix escapes identifier delimiters before building these statements.

How do I fix this?

Upgrade the awswrangler package to version 3.17.1 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and are calling to_iceberg to create or alter Iceberg tables in Athena from a DataFrame whose column names originate from an external or catalog-controlled schema.

Versions

3.1.0 - 3.17.0

Fixed in 3.17.1

Background info

awswrangler is vulnerable to Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in versions 3.1.0 - 3.17.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea