Skip to content

Commit 917fe3b

Browse files
Bump tmp to 0.2.7 to address CVE-2026-44705 (#2481) (#2483)
Add yarn resolution "**/tmp": "^0.2.7" to force all transitive consumers of tmp (currently only cypress) onto the patched version. Closes CVE-2026-44705 (High) — path traversal in tmp < 0.2.6 via unsanitized prefix/postfix/dir options. Mirrors opensearch-project/OpenSearch-Dashboards#12180. (cherry picked from commit 5200ec1) Signed-off-by: Nishtha Mittal <nishthamittal04@gmail.com> Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com> Co-authored-by: Nishtha Mittal <52968976+nishthm@users.noreply.github.com>
1 parent e23f23c commit 917fe3b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"bn.js": "^5.2.3",
7171
"minimatch": "^5.1.7",
7272
"uuid": ">=14.0.0",
73-
"ws": ">=8.20.1"
73+
"ws": ">=8.20.1",
74+
"**/tmp": "^0.2.7"
7475
}
7576
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3369,10 +3369,10 @@ tldts@^6.1.32:
33693369
dependencies:
33703370
tldts-core "^6.1.86"
33713371

3372-
tmp@^0.2.1, tmp@~0.2.3:
3373-
version "0.2.5"
3374-
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.5.tgz#b06bcd23f0f3c8357b426891726d16015abfd8f8"
3375-
integrity sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==
3372+
tmp@^0.2.1, tmp@^0.2.7, tmp@~0.2.3:
3373+
version "0.2.7"
3374+
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.7.tgz#26f4db11d1601ce8012dcb8a798ece1c06a99059"
3375+
integrity sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw==
33763376

33773377
to-buffer@^1.2.0, to-buffer@^1.2.1, to-buffer@^1.2.2:
33783378
version "1.2.2"

0 commit comments

Comments
 (0)