Flutter
CVE-2026-27704
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious package archive with path traversal
-
DeliveryUpload to pub repository
-
ExploitDeveloper runs dart pub or flutter pub
-
ExecutionFiles extracted outside PUB_CACHE directory
-
ImpactRead sensitive files from host system
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Developer must use Dart SDK prior to version 3.11.0 or Flutter SDK prior to version 3.41.0 with default pub cache extraction behavior enabled. No authentication required to upload malicious packages if repository allows public submissions. |
| Impact | CVSS 7.5 (HIGH). Attack vector: Network. Complexity: Low. Privileges required: None. User interaction: None. |
| Exploit ScenarioDerived | An attacker could exploit this vulnerability to compromise the affected system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
The Dart and Flutter SDKs provide software development kits for the Dart programming language. [CVSS 7.5 HIGH]
RemediationAI
Monitor vendor advisories for a patch. Validate and sanitize file path inputs. Use allowlists. Restrict network access to the affected service where possible.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Classified as CWE-22 (Path Traversal). Affects Dart Software Development Kit. 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 fi
Know when Flutter gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
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.
Executive ViewAI
A HIGH severity vulnerability (CVE-2026-27704, CVSS 7.5) affects Dart and Flutter SDKs with no patch currently available. Organizations using these frameworks for application development face potential exploitation risks, particularly if applications are deployed in production or exposed to untrusted inputs.
Implement strict input validation and sanitization in applications; deploy WAF rules to detect and block exploitation attempts; segment Dart/Flutter applications on isolated network zones; disable non-essential features if vulnerability is feature-specific; increase monitoring and logging for suspicious activity; restrict administrative access to development and production environments; consider temporary application deprecation or migration to patched alternatives if risk tolerance is low.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)GitHub Advisory
The implementation of backslash parsing in the Dart URI class for versions prior to 2.18 and Flutter versions prior to 3
The file names constructed within image_picker are missing sanitization checks leaving them vulnerable to malicious docu
The file names constructed within file_selector are missing sanitization checks leaving them vulnerable to malicious doc
NVD
CVE.org
EPSS
GitHub
Exploit-DB