- Package
- drupal/s3fs_cors
- Fixed in
- 1.4.0
- Published
- Wed 11 Nov 2026, 18:06 Lisbon
In plain words
A user who can upload files through the S3 File System CORS Upload widget can overwrite other files in the storage bucket, including files they could not otherwise replace. The module gives the browser upload permission that is too broad. An attacker must have access to a form using this widget.
How serious is it?
The source record has no severity score, so the rating is yours to make. Read the description for two things: what an attacker needs (an account, a particular setting, a user who clicks a link) and what they get. Drupal security advisories carry their own risk score on drupal.org, which is not in the OSV record. When the advisory gives no details at all, assume the worst until you know more: an unfixed issue with an unknown impact is not a low one.
Am I affected?
Look for drupal/s3fs_cors and its installed version in composer.lock. The advisory lists 1.4.0 as fixed but gives no affected version range. Check whether any entity forms use the S3 File System CORS Upload widget to upload to Amazon S3 or an S3-compatible service, and who can access those forms.
Did you install drupal/s3fs_cors, or did a dependency?
Composer says why a package is in your project:
composer why drupal/s3fs_cors
If the output names your own project, you required drupal/s3fs_cors directly and the update is yours to make. If it names another package, drupal/s3fs_cors came in through it, and that package's version constraint decides which release you can install. To see what stands between you and the fix, ask Composer directly:
composer why-not drupal/s3fs_cors 1.4.0
Every line it prints is a constraint that blocks 1.4.0. Update the package it names, or raise your own constraint, and run it again until it prints nothing.
What to do
Check which version you have, then update to a fixed release for your branch (1.4.0):
composer show drupal/s3fs_cors | grep versions
composer update drupal/s3fs_cors
If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.
If you cannot update yet
The vulnerability is mitigated by the requirement that an attacker must have access to a form using the S3 File System CORS Upload widget.
Check the whole project at once
Composer 2.4 and later can list every installed package with a known advisory, this one included once Packagist has it:
composer audit --locked
--locked reads composer.lock instead of the vendor folder, so you can run it on a release tag or in CI without installing anything. It exits with a non-zero code when it finds an advisory, which is enough to fail a build. Run it on every branch you still support, not only the newest: an older release your customers run is affected in the same way.
Under the Cyber Resilience Act
No exploitation of this vulnerability is known, so on its own it does not start the Article 14 reporting clock, which covers actively exploited vulnerabilities. That changes if you learn it is being exploited through your product: then the 24-hour early warning applies.
Either way, if drupal/s3fs_cors ships inside a product you sell, the CRA treats its vulnerabilities as yours. Article 13(5) asks for due diligence on the components you include, and from 11 December 2027 Annex I asks you to ship security fixes without delay and free of charge for the support period you declared. A short note in your changelog saying which release updated drupal/s3fs_cors, and why, is the evidence you will want later.
What goes in each Article 14 report · Does the CRA apply to your product?
drupal/s3fs_cors's record
This is one of 2 advisories for drupal/s3fs_cors in the digest, the first published on 4 November 2026. A package with several advisories is not worse than one with none, which often just means nobody looked; it does tell you to keep it on your update list and to run composer audit after each update.
Other advisories for drupal/s3fs_cors
- CVE-2026-122057 · 4 Nov 2026 · Unrated · fixed in 1.3.0 This module enables you to upload files from the browser directly to Amazon S3 and register them as Drupal files, bypassing normal PHP file size and timeout lim...
The advisory's description
The S3 File System CORS Upload module lets users upload files straight from the browser to Amazon S3 (or an S3-compatible service), using a file widget on entity forms.
The module doesn't sufficiently restrict the upload permission it gives the browser. A user who can upload through the widget can overwrite other files already stored in the bucket, including files they couldn't otherwise replace.
This vulnerability is mitigated by the fact that an attacker must have access to a form that uses the S3 File System CORS Upload widget.
The advisory
- OSV.dev: DRUPAL-CONTRIB-2026-337
- The week's digest, with the other advisories from 9 Nov 2026
- All advisories for drupal/s3fs_cors