← All updates

Security / News explained

An EMR log bucket’s name does not prove who owns it

AWS SDK for pandas could send EMR logs to a predictable bucket owned by somebody else. Version 3.18.0 checks ownership, but existing destinations and the permissions needed for that check still need review.

By Zyel · Published · 5 min read

AWS disclosed CVE-2026-127119 on November 12, 2026, affecting the EMR integration in AWS SDK for pandas, also known as awswrangler. When an affected application creates a cluster without choosing a log destination explicitly, the library can select a predictable S3 bucket without confirming that the caller’s account owns it. A bucket name that looks familiar is not an ownership check. [1]

The affected versions run from 1.1.0 up to, but excluding, 3.18.0. That fixed release was published on October 27, before the November disclosure. Its release notes already describe the ownership validation. Teams assessing this news should distinguish the date the vulnerability became public from the date the corrected package became available. [1] [3]

The route to exposure is specific

The project advisory describes an actor who knows the target’s account ID and region and obtains the predictable default bucket name before the target owns it. The target must create an EMR cluster through the affected library without an explicit log location. Its EMR roles must also permit writes to buckets in other accounts; the advisory says the default EMR instance role permits that. [2]

Under those conditions, the bucket’s owner may be able to read cluster logs. The advisory includes job-step output, step scripts and cluster configuration in the possible contents. It describes a confidentiality issue, and specifically says this vulnerability does not let the actor alter the target’s job data or affect cluster availability. [2]

That distinction matters for prioritization. A successful analytics job is not evidence that its logs reached an appropriate owner. Equally, this advisory is not evidence that every EMR cluster or every pandas installation leaked information. The library version, cluster-creation path, chosen destination and effective permissions determine whether the described situation existed.

The fix checks before creating the cluster

The 3.18.0 release changes default-destination handling: the library verifies that the bucket exists and belongs to the caller’s account. If that validation fails, cluster creation raises an error instead of proceeding with an unchecked destination. The change makes a previously implicit assumption an explicit prerequisite. [3]

The current API reference explains that the ownership check uses HeadBucket with ExpectedBucketOwner before cluster creation. It requires s3:ListBucket on the default log bucket. This is an important deployment consequence: an application can have permission to perform other EMR work yet still lack the permission required by the new check. [4]

Our reading is that an ownership-validation failure after an upgrade deserves investigation as a useful refusal. It should not automatically be treated as an inconvenient regression to bypass. The missing permission, missing bucket and wrong owner are different operational explanations, and a broad permission expansion is not a substitute for knowing which one applies.

An explicit destination needs an explicit owner

AWS’s workaround is to choose a log location in a bucket the organization owns, or establish the expected default bucket in its own account in every region it uses. If another account already has that default name, AWS says to treat it as untrusted and use an explicit location instead. [1]

The API exposes the destination through logging_s3_path. Supplying a value expresses an application choice; it does not, by itself, demonstrate that the selected storage belongs to the intended organization. The documented automatic ownership check concerns the default destination. Our recommendation is to retain ownership evidence for an explicit destination too. [4]

A fictional analytics team might have an old deployment template that simply accepts the library default. Another team might pass a destination copied from a notebook. Neither example proves exposure. They illustrate why a review needs the effective destination and its owner, rather than an answer such as “the job uses the usual bucket.”

This is also a useful distinction between recognizability and authority. A destination can contain the expected account number in its name while belonging to a different account. The vulnerability exists because the earlier creation path treated a predictable name as sufficient, not because an account identifier is a password. [2]

The historical question survives the upgrade

The documented protection runs when the library creates a cluster. Installing a corrected package is therefore evidence about future behavior through that creation path. It is not, on its own, evidence about where older clusters wrote logs or who could read material already delivered. That is our interpretation of the fix’s scope, rather than a claim about an observed incident.

For organizations that find an unexpected destination, the next business question is what the logs actually contained. In a hypothetical workflow, diagnostic output might contain only task progress, or it might include sensitive values printed by a job. The second possibility would justify a different response. Neither should be assumed without examining the organization’s own evidence.

We would preserve the relevant configuration and available history while establishing the destination’s owner, the affected time window and the sensitivity of the output. Any decision about credential replacement or data handling should follow that evidence. The public advisory establishes a possible disclosure route, not the contents of an individual organization’s logs.

A small default with a large responsibility

For the package change, useful release evidence connects the corrected awswrangler version, the cluster-creation identity’s required access and the intended log destination. For earlier activity, useful evidence answers the separate ownership and content questions. Combining those into one green “upgraded” checkbox would hide the part that the package cannot answer.

Logs are an application output, even when they are filed under operations. They deserve an intended recipient just as much as a report or export does. This advisory makes that responsibility unusually concrete: before a service sends information to a convenient default, somebody needs to establish who is waiting at the other end.

Sources + further reading

Source dates describe the original material. Publication above is the date this Zyel article went live.

  1. CVE-2026-127119: unverified default EMR log bucket ownershipAWS Security · Checked Nov 13, 2026
  2. GHSA-3rgm-255m-m9g5: EMR log destination conditions and impactAWS SDK for pandas on GitHub · Checked Nov 13, 2026
  3. AWS SDK for pandas 3.18.0 release notesAWS SDK for pandas on GitHub · Checked Nov 13, 2026
  4. awswrangler.emr.create_cluster API referenceAWS SDK for pandas documentation · Checked Nov 13, 2026

Reader discussion

What would you ask next?

Questions, useful corrections and thoughtful disagreement are welcome. Comments are reviewed before they appear.

No reader comments yet.

10–2,000 characters. Plain text. Leave out passwords, private project data and personal contact details. A blank display name appears as Anonymous.

Complete the CAPTCHA before sending. Verification runs on your device.