Dart - Publishing to third-party package repositories may expose pub.dev credentials

Check todayData or code tampering over the network if a user is tricked.
8.8HIGH

Key Information:

Vendor

Google

Status
CVE ID
CVE ID:
CVE-2021-22568
Vendor
CVE Published:
9 December 2021
Fixed in
Fixed in:
2.15.0

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
Dart SDK below 2.15.0 is vulnerable
Install Dart SDK 2.15.0 or later
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Dart SDK. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2021-22568?

When using the dart pub publish command to publish a package to a third-party package server, the request would be authenticated with an oauth2 access_token that is valid for publishing on pub.dev. Using these obtained credentials, an attacker can impersonate the user on pub.dev. We recommend upgrading past https://github.com/dart-lang/sdk/commit/d787e78d21e12ec1ef712d229940b1172aafcdf8 or beyond version 2.15.0

References

Improper Input Validation in Google Chrome Affects Multiple Versions

CVE-2026-134401
GoogleChrome๐Ÿ˜„9.6CRITICAL

Use After Free Vulnerability in Google Chrome on Android

CVE-2026-130963
GoogleChrome9CRITICAL

Use After Free Vulnerability in Google Chrome for Android

CVE-2026-126846
GoogleChrome9.6CRITICAL
View more Google vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
Low
Integrity:
High
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed
.