Security mailing lists by PureSourceCode

CVE-2020-8131

HIGH 7.5CVSS 3.1

Path Traversal in Yarn

Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.

Published
24 Feb 2020
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-8mfc-v7wv-p62g
Sources
NVDJSONOSV GHSA-8mfc-v7wv-p62gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD yarnpkg yarn
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*
<= 1.21.1
OSV npm yarn < 1.22.0 1.22.0

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Feb 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.