# CVE-2026-27704: Dart SDK and Flutter SDK have Zip slip in Dart Pub package extraction

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-25 · Modified: 2026-02-25
- Record: https://cvemate.com/vulnerability/CVE-2026-27704 · JSON: https://cvemate.com/vulnerability/CVE-2026-27704/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.418%, percentile 38.043%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- dart-lang flutter: \< 3.41.0
- dart-lang sdk: \< 3.11.0
- dart dart\_software\_development\_kit: \< 3.11.0
- flutter flutter: \< 3.41.0

## References

- <https://github.com/dart-lang/sdk/security/advisories/GHSA-q739-79rh-vmvp>
- <https://github.com/dart-lang/pub/commit/26c6985c742593d081f8b58450f463a584a4203a>

---

Data as of 2026-12-05T04:44:38.693Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
