Skip to content

Commit 057cc61

Browse files
authored
fix(client): upgrade joi to 18.2.1 to patch CVE-2026-48038 (GHSA-q7cg-457f-vx79) (#41891)
## Description Fixes Dependabot alert #652: `joi` < 18.2.1 is vulnerable to a denial-of-service via an uncaught `RangeError` on deeply nested input through recursive `link()` schemas (CVE-2026-48038 / GHSA-q7cg-457f-vx79, CVSS 5.3 medium). **Root cause:** `joi@17.x` was pulled in transitively via: ``` @storybook/test-runner → jest-playwright-preset → jest-process-manager → wait-on@^7.0.0 → joi@^17.11.0 ``` **Fix:** Added `"joi": "^18.2.1"` to the `resolutions` block in `app/client/package.json`, forcing all consumers to resolve `joi` at `18.2.1` (the first patched release). The `yarn.lock` has been regenerated to reflect the new resolution. Fixes https://github.com/appsmithorg/appsmith/security/dependabot/652 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- CI auto-populates this section --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated dependency resolution configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/27366358331> > Commit: 9ef097b > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=27366358331&attempt=2" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Thu, 11 Jun 2026 19:17:28 UTC <!-- end of auto-generated comment: Cypress test results -->
1 parent 40e0dbe commit 057cc61

2 files changed

Lines changed: 59 additions & 42 deletions

File tree

app/client/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@
476476
"glob@^10.3.10": "10.5.0",
477477
"glob@^10.3.7": "10.5.0",
478478
"glob@^11.0.0": "11.1.0",
479-
"shell-quote": "1.8.4"
479+
"shell-quote": "1.8.4",
480+
"joi": "^18.2.1"
480481
}
481482
}

app/client/yarn.lock

Lines changed: 57 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3856,19 +3856,49 @@ __metadata:
38563856
languageName: node
38573857
linkType: hard
38583858

3859-
"@hapi/hoek@npm:^9.0.0, @hapi/hoek@npm:^9.3.0":
3860-
version: 9.3.0
3861-
resolution: "@hapi/hoek@npm:9.3.0"
3862-
checksum: 4771c7a776242c3c022b168046af4e324d116a9d2e1d60631ee64f474c6e38d1bb07092d898bf95c7bc5d334c5582798a1456321b2e53ca817d4e7c88bc25b43
3859+
"@hapi/address@npm:^5.1.1":
3860+
version: 5.1.1
3861+
resolution: "@hapi/address@npm:5.1.1"
3862+
dependencies:
3863+
"@hapi/hoek": ^11.0.2
3864+
checksum: 678790d86d120e36ff5ea7db061763447cd2589e99fd82bcb5d86c8e6ec290f1c0370d3e2050bf483413757e798f5a9495af0af13ba7e0d8a747c5bcd5682b33
38633865
languageName: node
38643866
linkType: hard
38653867

3866-
"@hapi/topo@npm:^5.1.0":
3867-
version: 5.1.0
3868-
resolution: "@hapi/topo@npm:5.1.0"
3868+
"@hapi/formula@npm:^3.0.2":
3869+
version: 3.0.2
3870+
resolution: "@hapi/formula@npm:3.0.2"
3871+
checksum: a774d8133e4cfc7059a1196f1233ba4ed204ac9a6835db476eb94b301555038ba2511664b5e941df3b6e973759e8c0ddf76124e1c04716a48b7ffeedb070d288
3872+
languageName: node
3873+
linkType: hard
3874+
3875+
"@hapi/hoek@npm:^11.0.2, @hapi/hoek@npm:^11.0.7":
3876+
version: 11.0.7
3877+
resolution: "@hapi/hoek@npm:11.0.7"
3878+
checksum: 3da5546649c0fa2bb264ce4b2aea8dc13d6fbdd9179bba553c90ab8fb7bd56413d2237d60c0b97c1e747216597eeb13694a947325bfff62ae3725209ec8bb8c6
3879+
languageName: node
3880+
linkType: hard
3881+
3882+
"@hapi/pinpoint@npm:^2.0.1":
3883+
version: 2.0.1
3884+
resolution: "@hapi/pinpoint@npm:2.0.1"
3885+
checksum: 8a1bb399f7cf48948669fdc80dff83892ed56eb62eee2cca128fc8b0683733b16e274b395eddfae6154a698aa57c66a3905ceaa3119c59de29751d4601831057
3886+
languageName: node
3887+
linkType: hard
3888+
3889+
"@hapi/tlds@npm:^1.1.1":
3890+
version: 1.1.7
3891+
resolution: "@hapi/tlds@npm:1.1.7"
3892+
checksum: ffe7cbabb8451f9948a23d9e00272761dd50164026769badaa61c3a9365765d14b45c24bd7d303b3eda6d84bc0a546f54541616c6b94366b4659aa0044ea4070
3893+
languageName: node
3894+
linkType: hard
3895+
3896+
"@hapi/topo@npm:^6.0.2":
3897+
version: 6.0.2
3898+
resolution: "@hapi/topo@npm:6.0.2"
38693899
dependencies:
3870-
"@hapi/hoek": ^9.0.0
3871-
checksum: 604dfd5dde76d5c334bd03f9001fce69c7ce529883acf92da96f4fe7e51221bf5e5110e964caca287a6a616ba027c071748ab636ff178ad750547fba611d6014
3900+
"@hapi/hoek": ^11.0.2
3901+
checksum: c11da8a995ac66d94dcc8ffe37cc094ace15ab8aec30ba2b556e8318394454cc93967a5bcc6519b846586fea4d347f95d924cb6ce5d51236c199c5e677b9575c
38723902
languageName: node
38733903
linkType: hard
38743904

@@ -9253,29 +9283,6 @@ __metadata:
92539283
languageName: unknown
92549284
linkType: soft
92559285

9256-
"@sideway/address@npm:^4.1.5":
9257-
version: 4.1.5
9258-
resolution: "@sideway/address@npm:4.1.5"
9259-
dependencies:
9260-
"@hapi/hoek": ^9.0.0
9261-
checksum: 3e3ea0f00b4765d86509282290368a4a5fd39a7995fdc6de42116ca19a96120858e56c2c995081def06e1c53e1f8bccc7d013f6326602bec9d56b72ee2772b9d
9262-
languageName: node
9263-
linkType: hard
9264-
9265-
"@sideway/formula@npm:^3.0.1":
9266-
version: 3.0.1
9267-
resolution: "@sideway/formula@npm:3.0.1"
9268-
checksum: e4beeebc9dbe2ff4ef0def15cec0165e00d1612e3d7cea0bc9ce5175c3263fc2c818b679bd558957f49400ee7be9d4e5ac90487e1625b4932e15c4aa7919c57a
9269-
languageName: node
9270-
linkType: hard
9271-
9272-
"@sideway/pinpoint@npm:^2.0.0":
9273-
version: 2.0.0
9274-
resolution: "@sideway/pinpoint@npm:2.0.0"
9275-
checksum: 0f4491e5897fcf5bf02c46f5c359c56a314e90ba243f42f0c100437935daa2488f20482f0f77186bd6bf43345095a95d8143ecf8b1f4d876a7bc0806aba9c3d2
9276-
languageName: node
9277-
linkType: hard
9278-
92799286
"@simonsmith/cypress-image-snapshot@npm:^9.1.0":
92809287
version: 9.1.0
92819288
resolution: "@simonsmith/cypress-image-snapshot@npm:9.1.0"
@@ -9951,6 +9958,13 @@ __metadata:
99519958
languageName: node
99529959
linkType: hard
99539960

9961+
"@standard-schema/spec@npm:^1.1.0":
9962+
version: 1.1.0
9963+
resolution: "@standard-schema/spec@npm:1.1.0"
9964+
checksum: 6245ebef5e698bb04752a22e996a7cc40406a404d9f68a9d4e1a7a10f2422da287247508e7b495a2f32bb38f3d57b4daf2c9ab4bf22d9bca13e20a3dc5ec575e
9965+
languageName: node
9966+
linkType: hard
9967+
99549968
"@storybook/addon-a11y@npm:8.2.7":
99559969
version: 8.2.7
99569970
resolution: "@storybook/addon-a11y@npm:8.2.7"
@@ -23797,16 +23811,18 @@ __metadata:
2379723811
languageName: node
2379823812
linkType: hard
2379923813

23800-
"joi@npm:^17.11.0":
23801-
version: 17.13.3
23802-
resolution: "joi@npm:17.13.3"
23814+
"joi@npm:^18.2.1":
23815+
version: 18.2.1
23816+
resolution: "joi@npm:18.2.1"
2380323817
dependencies:
23804-
"@hapi/hoek": ^9.3.0
23805-
"@hapi/topo": ^5.1.0
23806-
"@sideway/address": ^4.1.5
23807-
"@sideway/formula": ^3.0.1
23808-
"@sideway/pinpoint": ^2.0.0
23809-
checksum: 66ed454fee3d8e8da1ce21657fd2c7d565d98f3e539d2c5c028767e5f38cbd6297ce54df8312d1d094e62eb38f9452ebb43da4ce87321df66cf5e3f128cbc400
23818+
"@hapi/address": ^5.1.1
23819+
"@hapi/formula": ^3.0.2
23820+
"@hapi/hoek": ^11.0.7
23821+
"@hapi/pinpoint": ^2.0.1
23822+
"@hapi/tlds": ^1.1.1
23823+
"@hapi/topo": ^6.0.2
23824+
"@standard-schema/spec": ^1.1.0
23825+
checksum: 4b4e28bf80438b6d3ab96484817e590f2ed1d589b511796d10c9dc8fc2bf02ff6cf833514e4a7436ba9cae9f49b65f9c871ab48647975f36bf02ea0ee2a51b7a
2381023826
languageName: node
2381123827
linkType: hard
2381223828

0 commit comments

Comments
 (0)