CVE-2026-27704
Last modified
CVE-2026-27704 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. The Dart and Flutter SDKs provide software development kits for the Dart programming language. In versions of the Dart SDK prior to 3.11.0 and the Flutter SDK prior to version 3.41.0, when the pub client (`dart pub` and `flutter pub`) extracts a package in the pub cache, a malicious package archive can have files extracted outside the destination directory in the `PUB_CACHE`. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
The Dart and Flutter SDKs provide software development kits for the Dart programming language. In versions of the Dart SDK prior to 3.11.0 and the Flutter SDK prior to version 3.41.0, when the pub client (`dart pub` and `flutter pub`) extracts a package in the pub cache, a malicious package archive can have files extracted outside the destination directory in the `PUB_CACHE`. A fix has been landed in commit 26c6985c742593d081f8b58450f463a584a4203a. By normalizing the file path before writing file, the attacker can no longer traverse up via a symlink. This patch is released in Dart 3.11.0 and Flutter 3.41.0.vAll packages on pub.dev have been vetted for this vulnerability. New packages are no longer allowed to contain symlinks. The pub client itself doesn't upload symlinks, but duplicates the linked entry, and has been doing this for years. Those whose dependencies are all from pub.dev, third-party repositories trusted to not contain malicious code, or git dependencies are not affected by this vulnerability.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dart | Dart Software Development Kit | < 3.11.0 |
| Flutter | Flutter | < 3.41.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-27704?
How severe is CVE-2026-27704?
How do I fix CVE-2026-27704?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-27699The `basic-ftp` FTP client library for Node.js contains a pa…9.8
- CVE-2026-2770Use-after-free in the DOM: Bindings (WebIDL) component. This…9.8
- CVE-2026-27700Hono is a Web application framework that provides support fo…7.5
- CVE-2026-27701LiveCode is an open-source, client-side code playground. Pri…8.8
- CVE-2026-27702Budibase is a low code platform for creating internal tools,…9
- CVE-2026-27703RIOT is an open-source microcontroller operating system, des…9.8
- CVE-2026-27705Plane is an an open-source project management tool. Prior to…6.5
- CVE-2026-27706Plane is an an open-source project management tool. Prior to…7.7
- CVE-2026-27707Seerr is an open-source media request and discovery manager …9.8
- CVE-2026-27708FOSSBilling is a free, open-source billing and client manage…7.1
- CVE-2026-27709NanaZip is an open source file archive. Starting in version …6.6
- CVE-2026-2771Undefined behavior in the DOM: Core & HTML component. This v…9.8
Are you affected by CVE-2026-27704?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
