BreachSpiderVerified, not vibes

CVE-2026-27704 in Dart Software Development Kit and 1 more product

High 7.5

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 ex...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.5
CVSS v46.6
EPSS0.6%
EPSS percentile46th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Dart Dart Software Development Kit < 3.11.0
Flutter Flutter < 3.41.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-27704
BreachSpider IDBS-2026-GLOBAL-076455-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2026-02-25
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the Dart and Flutter SDKs allows malicious package archives to extract files outside the intended destination directory in the PUB_CACHE, potentially leading to unauthorized file manipulation or code execution.

An attacker can craft a malicious package archive that, when extracted by the pub client (`dart pub` or `flutter pub`), can place files outside the PUB_CACHE directory. This can lead to overwriting critical system files or executing arbitrary code if the files are in a writable location with elevated permissions.

Questions

What is CVE-2026-27704?

A vulnerability in the Dart and Flutter SDKs allows malicious package archives to extract files outside the intended destination directory in the PUB_CACHE, potentially leading to unauthorized file manipulation or code execution.

What is the CVSS score for CVE-2026-27704?

CVE-2026-27704 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.6%.

Is CVE-2026-27704 actively exploited?

No confirmed active exploitation of CVE-2026-27704 as of 2026-09-25.

How do I remediate CVE-2026-27704?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-27704?

CVE-2026-27704 affects Dart Dart Software Development Kit; Flutter Flutter.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Dart","product":"Dart Software Development Kit","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.